first of all its weird this is happening, ure using initlevel 0 cuz thats "halt", which means the system should do a few actions like sync the filesystem, flush caches, write out data to disk, (remount filesystems read-only) and shut down or reboot.
Hoping this wont happen when u reboot, an immediate but temporary solution may be to not use halt, but reboot, and when the BIOS messages come up, power off manually. This way u should be safe and the filesystem sync'ed.
A second option can be to try and assess if KDE's to blame by closing ure Window Manager and issuing a "shutdown -h now" which means halt, now (-r is reboot).
A start to finding a final solution would be to monitor with fuser ("man fuser" for more), IIRC, who has what files open when the system needs to halt/reboot and act on that.
Btw, the /proc is an empty, virtual, table which fills up as the system comes alive, so can only be edited when the whole system is live. Changes to it will be lost at reboot.
|