-   Yoper (
-   -   lsmod segfault? (

z-vet 12-13-2004 07:51 PM

lsmod segfault?
When trying to run lsmod i've got a 'segmentation fault' message. What's wrong?

mhiggins 12-14-2004 10:29 PM

It could be a lot of things rootkit, corrupt file .. my guess is that you have some messed up module loaded. Try and cat /proc/modules . Then I would try and back off drivers (one at a time) that get loaded at boot and see if you can run lsmod if you can't back off another and try again.

z-vet 12-15-2004 07:24 AM

Hm... Seems like i had a badblocks... Tried to recover with reiserfsck and lost my system. Reinstalled and recovered stuff from backups. Feel totally lame now...

mhiggins 12-15-2004 08:59 AM

Did you have a recent crash? If not you may not want to trust that disk all that much. If you are having a hardware failure you could be in for more bad blocks! Note that bad blocks is not necessarily because of a bad disk .. I have seen bad power supplies cause problems like this.

z-vet 12-15-2004 01:45 PM

No, man. No crashes, everything was nice and silent until it started to display strange things at startup ('wrong level found in node...'). I googled for answers and found something about what to do with reiserfsck. You know the rest... Now i want to understand what it was and what to do to avoid such situations in the future.

mhiggins 12-15-2004 03:19 PM

It is possible that you are having a hardware failure .. This can be quite difficult to debug, and you may need another box to test on.
Given the info you have provided its hard to tell whats going on. You may continue to run the system but I would not trust that disk. Periodically check dmesg for disk write errors?

z-vet 12-15-2004 03:40 PM

I check it every time now... I have another hdd and thinking about reinstalling my system to, but it's kinda difficult now: it contains my 100 gig music collection, so i need to write it to CD's and create a database first... Strangest thing is now everything seems to be OK (i formatted a disk when reinstalled a system) so i even don't know what to think now.

All times are GMT -5. The time now is 12:52 AM.