I have the following problem on a Intel PC Debian system I maintain: For the second time the file system got mounted read only for an unknown reason. The first time only my personal mailbox file (/var/spool/mail/me) got corrupted as far as I could see. The second time, after the reboot fsck.ext2 and ifconfig (and probably others) didn't work properly anymore:
fsck.ext2 did its job, but then terminated with a Segmentation fault. And ifconfig gave a Segmentation fault right at the beginning. Maybe one of the librarys libc or ld-linux got corrupted? The problem now was, that the system would only boot into single user mode, since fsck.ext2 on startup ended with the Segmentation fault. Since I was not sure what was corrupted really, I decided to re-install the system from scratch (reminded me of my MS Windows days by the way ;-) I did a bad block check on the partition in question, but this yielded no error. I have no idea what could have caused these two incidents, since after the file system has been remounted read only there was no possibility for the system to log anything. What could have caused it? Bad harddisk, or could the problem be elsewhere? Is there a way to get more debugging information in case it should happen again? Any comment welcome! Stef