3

Kernel disable USB ports/hub

view full story
linux-howto

http://www.linuxquestions.org – Basically, I just found out inserting a SDHC card into a SD card reader (pre-SDHC) doesn't work well. When the kernel saw it, I guess it decided to disable the ports/hub that device was trying to connect to. Code: Message from syslogd@siduxion at Mar 14 16:34:32 ...                                                                                                                                                       kernel:[226949.360257] Oops: 0000 [#1] SMP                                                                                                                                                                Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360259] last sysfs file: /sys/devices/pci0000:00/0000:00:18.3/temp4_input Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360333] Stack:                      Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360337]  ffff8800b75a0d20 ffff8800b75a0d80 ffff880002128000 ffffffffa005c4c8 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360339]  ffff880002128000 ffff8800b75a0d20 ffffffffa00ded38 ffffffff803d23e8 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360342] Call Trace:                Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360345]  [<ffffffffa00d81c5>] ? sd_remove+0x1b/0x63 [sd_mod] Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360352]  [<ffffffffa005c4c8>] ? scsi_bus_remove+0x36/0x3c [scsi_mod] Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360368]  [<ffffffff803d23e8>] ? __device_release_driver+0x77/0x9e Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360371]  [<ffffffff803d24c7>] ? device_release_driver+0x1e/0x2a Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360374]  [<ffffffff803d1b4d>] ? bus_remove_device+0x8d/0xac Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360376]  [<ffffffff803d057d>] ? device_del+0x130/0x198 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360379]  [<ffffffffa005c772>] ? __scsi_remove_device+0x43/0x83 [scsi_mod] Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360389]  [<ffffffffa0059d90>] ? scsi_forget_host+0x39/0x5b [scsi_mod] Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360400]  [<ffffffffa0053a4d>] ? scsi_remove_host+0x75/0xe4 [scsi_mod] Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360410]  [<ffffffffa00c3953>] ? quiesce_and_remove_host+0x5f/0x9c [usb_storage] Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360420]  [<ffffffffa00c3a4c>] ? usb_stor_disconnect+0x10/0x19 [usb_storage] Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360427]  [<ffffffff803e33e0>] ? usb_unbind_interface+0x5b/0xe1 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360430]  [<ffffffff803d23e8>] ? __device_release_driver+0x77/0x9e Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360432]  [<ffffffff803d24c7>] ? device_release_driver+0x1e/0x2a Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360435]  [<ffffffff803d1b4d>] ? bus_remove_device+0x8d/0xac Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360437]  [<ffffffff803d057d>] ? device_del+0x130/0x198 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360439]  [<ffffffff803e0b49>] ? usb_disable_device+0x6c/0xe4 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360441]  [<ffffffff803dc7b8>] ? usb_disconnect+0x8c/0x10a Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360444]  [<ffffffff803dd759>] ? hub_thread+0x619/0x1034 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360447]  [<ffffffff8025473e>] ? autoremove_wake_function+0x0/0x2e Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360450]  [<ffffffff803dd140>] ? hub_thread+0x0/0x1034 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360452]  [<ffffffff803dd140>] ? hub_thread+0x0/0x1034 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360455]  [<ffffffff80254382>] ? kthread+0x54/0x80 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360458]  [<ffffffff80210aca>] ? child_rip+0xa/0x20 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360461]  [<ffffffff8025432e>] ? kthread+0x0/0x80 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360463]  [<ffffffff80210ac0>] ? child_rip+0x0/0x20 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360465] Code: 4c 89 ef e8 ba c0 f3 ff ff c3 48 63 c3 48 6b c0 28 49 8d 34 04 48 83 3e 00 75 e0 5d 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 54 55 53 <48> 8b 47 78 48 89 fb 4c 8b 27 48 85 c0 74 18 48 8b 78 70 48 89 Message from syslogd@siduxion at Mar 14 16:34:32 ...  kernel:[226949.360486] CR2: 0000000000000088 I know rebooting the PC will fix this, but it there a way to fix this without rebooting? (HowTos)