[T Series]A Kernel Bug Led to a Failure to Shut Down a Host Running Services

Publication Date:  2012-07-19 Views:  99 Downloads:  0
Issue Description
Product and version information: 
S5500T V100R001 V100R002
S5600T V100R001 V100R002
S5800T V100R001 V100R002
S6800T V100R001 V100R002

 

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
 

Execution output:
 

suse11-sp1-os:~ # shutdown -r now

Host operating system: Sles 10 SP3 X86 iSCSI
Alarm Information
None
Handling Process
Remove power from the host and power it on again. Then start the host.
Root Cause

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

Suggestions

The shutdown operation must follow this proper sequence: stop services completely and then shut down the host.

END