Filesystem error

Hello

I am using karmic/v2.6.32.11-x12 on my beagle. When I try to edit some .c file using vi on the board, I get the error “Warning: filesystem read only”. And then I am not able to edit my .c file on the board. I was not getting this problem till today.
To me it seems as if the the filesystem some how becomes read-only. I get a similar error when you try to compile the .c file on the board.
Note: I log in as the super user having all privleges and access
Please guide me as to what could be the possible problem.

Regards

Please post your 'dmesg' to pastebin.com along with what 'mount' returns..

Regards,

Hello

dmesg:
http://pastebin.com/rwxTqV6Z

mount:
http://pastebin.com/VPHRm6vE

Regards

Thanks... I was thinking it was something specific i was working on,
but it doesn't match that.....

Do you have a 'dmesg' from when the 'ro' issue occurred?

Regards,

Do you have a ‘dmesg’ from when the ‘ro’ issue occurred?

I didnt quite get you there.Whats ‘ro’.

ro = read only...

When the 'read only' error occurs, do you have a dmesg log that shows it?

Regards,

Is not dmesg log supposed to contain what dmesg shows? Please correct me if I am wrong.

Now when i try to edit the .c file using vi i get the following error:
http://pastebin.com/aG71j1UN
I

Looks like your filesystem is read-only.
The mount command will tell you for sure.

which also begs the question, why are you running an 'ext2' fs?

Otherwise yeah, that's not normal, other then vi, does any other
editor like nano make the rootfs remount as ro?

which also begs the question, why are you running an ‘ext2’ fs?

I have been using it for more than an year now on 4 of my boards. This problem didnt surface before. But please do tell me why it might not be a good idea to run ext3.

other then vi, does any other
editor like nano make the rootfs remount as ro?

I just tried nano now. It acts strange. A lot of spaces occur between lines and the program appears jumbled. I did not try editing/saving it as the file was already quite not rite.

I reformatted my sd card and installed ubuntu again. After a few editing sessions, the file system again become read-only.

Humm, weird well IF i where in that situation, i'd try:

1. Different SD cards from a different manufacture.
2. Different file system (ext3/ext4)
3. Newer Kernel.

Regards,

Ok.I’ll try these options one by one.
Thanks a lot.