LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Hotplugging Broken and Corrupt /var/run/hotplug (https://www.linuxquestions.org/questions/linux-software-2/hotplugging-broken-and-corrupt-var-run-hotplug-137127/)

revmyo 01-21-2004 12:18 PM

Hotplugging Broken and Corrupt /var/run/hotplug
 
SuSE 8.2 Pro crashed on exiting from a routine Palm Pilot update using jpilot, several weeks ago. System now hangs on boot-up, at "starting hotplugging services [". Turned off hotplugging so I can boot, but crash also left /var/run/hotplug in corrupted state: running 'ls' gives thousands of lines like

ls: usblock-1071014669-_proc_bus_usb_003_002.lock: No such file or directory
ls: _dÅ ¾]: No such file or directory
ls: _dÅ ¾]: No such file or directory
ls: _dÅ ¾]: No such file or directory

and finally exits with "ls: memory exhausted". 'rm -df /var/run/hotplug/*' runs for several minutes, then exits with no message, leaving the directory apparently unchanged, and often spontaneously exiting from the su shell I had summoned to run 'rm'. 'rmdir' won't work, giving 'directory is not empty' complaints.

Tried fsck (reiserfs), but I get a "partition is mounted with write permissions, cannot check" error. The partition is /dev/hda2, which contains the whole system except for the boot sectors, I guess, and I can't think how to unmount it and then remount it read-only, since both 'mount' and 'unmount' live in the /bin directory, which is on /dev/hda2!

No idea what to try next...

Thanks,
Denis


All times are GMT -5. The time now is 04:06 PM.