システムのシャットダウン時に khubd が不正なアドレスにアクセスするためにシステムがクラッシュします
Issue
- USB をシャットダウンしている時にカーネルがクラッシュします。
- システムのシャットダウン時にシステムがクラッシュし、khubd のパニックメッセージ 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
- シャットダウン時にシステムがクラッシュし、khubd パニック RIP
sysfs_addrm_startが発生します。
[ 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
- 6.1 - 6.4 カーネルで確認済み。その他のバージョンも発生する可能性があります。
- カーネル
2.6.32-131.21.1.el6、2.6.32-220.el6、および2.6.32-358.6.1.el6
- USB デバイスプラグイン
- システムのシャットダウン
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.
