Why did system panic in khubd process while disconnecting the USB device in Red Hat Enterprise Linux 5?
Issue
- During the installation (kickstart) of Red Hat Enterprise Linux 5.9 system had a kernel panic, system is connected to an UPS via USB.
- System panic with following message
usb 2-3: USB disconnect, address 83
scsi 1348:0:0:0: rejecting I/O to dead device
Unable to handle kernel NULL pointer dereference at 0000000000000011 RIP:
..
RIP: 0010:[<ffffffff801137e0>] [<ffffffff801137e0>] sysfs_hash_and_remove+0x17/0x10e
..
Process khubd (pid: 640, threadinfo ffff810c2fffc000, task ffff81062f71e0c0)
..
Call Trace:
[<ffffffff801cf2b1>] device_del+0x71/0x1a9
[<ffffffff801cf406>] device_unregister+0x9/0x12
[<ffffffff8020521d>] usb_remove_ep_files+0x63/0x8a
[<ffffffff80204d5c>] usb_remove_sysfs_dev_files+0x19/0x8a
[<ffffffff801fe55f>] usb_disconnect+0xc9/0x124
[<ffffffff801ff1cb>] hub_thread+0x3b0/0xb01
[<ffffffff800a3ccf>] autoremove_wake_function+0x0/0x2e
[<ffffffff801fee1b>] hub_thread+0x0/0xb01
[<ffffffff800a3ab7>] keventd_create_kthread+0x0/0xc4
[<ffffffff80032c2b>] kthread+0xfe/0x132
[<ffffffff800a06db>] request_module+0x0/0x14d
[<ffffffff8005dfc1>] child_rip+0xa/0x11
[<ffffffff800a3ab7>] keventd_create_kthread+0x0/0xc4
[<ffffffff80032b2d>] kthread+0x0/0x132
[<ffffffff8005dfb7>] child_rip+0x0/0x11
Environment
- Red Hat Enterprise Linux 5.9
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.
