System crashed because khubd accessed an illegal address during system shutdown in Red Hat Enterprise Linux 6
Issue
- Kernel crash while shutting down USB
- System crashed with khubd panic message during system shutdown, RIP
sysfs_find_dirent:
BUG: unable to handle kernel paging request at 0000000053df42e7
IP: [<ffffffff811e61c9>] sysfs_find_dirent+0x29/0x50
PGD 0
Oops: 0000 [#1] SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:1c.0/0000:07:00.0/net/eth0/address
:
<snip>
:
Pid: 43, comm: khubd Tainted: P ---------------- 2.6.32-131.21.1.el6.x86_64 #1 PRIMER
GY RX300 S7
RIP: 0010:[<ffffffff811e61c9>] [<ffffffff811e61c9>] sysfs_find_dirent+0x29/0x50
RSP: 0018:ffff88046bad99b0 EFLAGS: 00010206
- System crash with khubd panic RIP
sysfs_addrm_startduring shutdown
[ 1649.683430] usb 2-3: USB disconnect, device number 2
[ 1649.703914] BUG: unable to handle kernel paging request at ffffffff00000079
[ 1649.711011] IP: [<ffffffff811fa69d>] sysfs_addrm_start+0x3d/0xd0
...
[ 1649.779703] Pid: 207, comm: khubd Not tainted 2.6.32-358.6.1.el6.x86_64 #1 IBM BladeCenter HS22V -[7871AC1]-/94Y5944
[ 1649.790456] RIP: 0010:[<ffffffff811fa69d>] [<ffffffff811fa69d>] sysfs_addrm_start+0x3d/0xd0
...
[ 1649.910160] Call Trace:
[ 1649.912696] [<ffffffff811f8d88>] sysfs_hash_and_remove+0x38/0x90
[ 1649.918865] [<ffffffff811fbca1>] sysfs_remove_link+0x21/0x30
[ 1649.924697] [<ffffffff8135b775>] device_remove_sys_dev_entry+0x65/0x90
[ 1649.931396] [<ffffffff8135bc70>] device_del+0x1b0/0x1e0
[ 1649.936791] [<ffffffff813afd25>] usb_disconnect+0x105/0x200
[ 1649.942533] [<ffffffff813b1cec>] hub_thread+0x69c/0x1a00
[ 1649.966198] [<ffffffff81096936>] kthread+0x96/0xa0
[ 1649.971165] [<ffffffff8100c0ca>] child_rip+0xa/0x20
Environment
- Red Hat Enterprise Linux 6
- At least 6.1 - 6.4 kernels
- Seen on kernel
2.6.32-131.21.1.el6,2.6.32-220.el6, and2.6.32-358.6.1.el6
- USB device plugged in
- System shutdown
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
