We ran the shutdown –r now command to restart a host that was running services. The host failed to shut down and halted when it was powering off.
Host log displayed:
Kernel BUG at fs/jfs/super.c:119
suse11-sp1-os:~ # shutdown -r nowHost operating system: Sles 10 SP3 X86 iSCSI
Shutdown failure log: Kernel BUG at fs/jfs/super.c:119. Figure1 shows the shutdown failure log.
Figure 1 Shutdown failure log
We can see from Figure2 that the system attempted to delete a device that was already generated when it was shutting down. However, the device was being accessed at the time, as a result, the device failed to be deleted, and therefore the shutdown failed. The symptom was that the power-off process halted. This was due to a Linux kernel bug.
Figure 2 Failed to delete a device
The shutdown operation must follow this proper sequence: stop services completely and then shut down the host.