Re: USB kernel oops
More information: Today I was still using it and noticed that I actually had another USB keyboard attached. (Since this is a wonky dell whose bios doesn't work with the Kinesis USB keyboard I had a generic USB keyboard plugged in also.) That keyboard was unresponsive. Very soon after attempting to use that keyboard, my Kinesis USB keyboard also stopped responding. The mouse was still responding. lsusb hangs in D, and doesn't produce any output to dmesg. dmesg has: (this is the same as the previous OOPs, I've added the surrounding USB output lines in case they help) [ 909.918507] usb 1-1.4: USB disconnect, device number 5 [ 910.118476] usb 1-1.4: new low-speed USB device number 7 using ehci-pci [ 910.218494] input: USB USB Keykoard as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input18 [ 910.218618] hid-generic 0003:1A2C:0002.0006: input: USB HID v1.10 Keyboard [USB USB Keykoard] on usb-:00:1a.0-1.4/input0 [ 910.220954] input: USB USB Keykoard as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1/input/input19 [ 910.221014] hid-generic 0003:1A2C:0002.0007: input: USB HID v1.10 Device [USB USB Keykoard] on usb-:00:1a.0-1.4/input1 [ 1605.274576] usb 1-1.4: USB disconnect, device number 7 [ 1605.477007] usb 1-1.4: new low-speed USB device number 8 using ehci-pci [ 1605.577477] input: USB USB Keykoard as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input20 [ 1605.577543] hid-generic 0003:1A2C:0002.0008: input: USB HID v1.10 Keyboard [USB USB Keykoard] on usb-:00:1a.0-1.4/input0 [ 1605.580125] input: USB USB Keykoard as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1/input/input21 [ 1605.580219] hid-generic 0003:1A2C:0002.0009: input: USB HID v1.10 Device [USB USB Keykoard] on usb-:00:1a.0-1.4/input1 [ 1606.299002] usb 1-1.4: USB disconnect, device number 8 [ 1606.774686] usb 1-1.4: new low-speed USB device number 9 using ehci-pci [ 1606.988696] usb 1-1.4: new low-speed USB device number 10 using ehci-pci [ 1607.088419] input: USB USB Keykoard as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input22 [ 1607.088527] hid-generic 0003:1A2C:0002.000A: input: USB HID v1.10 Keyboard [USB USB Keykoard] on usb-:00:1a.0-1.4/input0 [ 1607.090950] input: USB USB Keykoard as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1/input/input23 [ 1607.091069] hid-generic 0003:1A2C:0002.000B: input: USB HID v1.10 Device [USB USB Keykoard] on usb-:00:1a.0-1.4/input1 [ 1607.579586] usb 1-1.4: USB disconnect, device number 10 [ 1607.780075] usb 1-1.4: new low-speed USB device number 11 using ehci-pci [ 1607.880753] input: USB USB Keykoard as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input24 [ 1607.880805] hid-generic 0003:1A2C:0002.000C: input: USB HID v1.10 Keyboard [USB USB Keykoard] on usb-:00:1a.0-1.4/input0 [ 1607.883399] input: USB USB Keykoard as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1/input/input25 [ 1607.883475] hid-generic 0003:1A2C:0002.000D: input: USB HID v1.10 Device [USB USB Keykoard] on usb-:00:1a.0-1.4/input1 [ 4514.756902] usb 1-1.4: USB disconnect, device number 11 [ 4515.508463] usb 1-1.4: new low-speed USB device number 12 using ehci-pci [ 4515.973646] usb 1-1.4: device not accepting address 12, error -32 [ 4516.172901] usb 1-1.4: new low-speed USB device number 14 using ehci-pci [ 4516.273115] input: USB USB Keykoard as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input26 [ 4516.273241] hid-generic 0003:1A2C:0002.000E: input: USB HID v1.10 Keyboard [USB USB Keykoard] on usb-:00:1a.0-1.4/input0 [ 4516.275778] input: USB USB Keykoard as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1/input/input27 [ 4516.275842] hid-generic 0003:1A2C:0002.000F: input: USB HID v1.10 Device [USB USB Keykoard] on usb-:00:1a.0-1.4/input1 [ 7660.634615] usb 1-1.4: USB disconnect, device number 14 [ 7660.913555] usb 1-1.4: new low-speed USB device number 15 using ehci-pci [ 7661.378666] usb 1-1.4: device not accepting address 15, error -32 [ 7661.577815] usb 1-1.4: new low-speed USB device number 17 using ehci-pci [ 7661.677145] input: USB USB Keykoard as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input28 [ 7661.677264] hid-generic 0003:1A2C:0002.0010: input: USB HID v1.10 Keyboard [USB USB Keykoard] on usb-:00:1a.0-1.4/input0 [ 7661.679602] input: USB USB Keykoard as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1/input/input29 [ 7661.679689] hid-generic 0003:1A2C:0002.0011: input: USB HID v1.10 Device [USB USB Keykoard] on usb-:00:1a.0-1.4/input1 [ 7663.195802] usb 1-1.4: USB disconnect, device number 17 [ 7663.628916] usb 1-1.4: new low-speed USB device number 19 using ehci-pci [ 7663.728806] input: USB USB Keykoard as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input30 [ 7663.728875] hid-generic 0003:1A2C:0002.0012: input: USB HID v1.10 Keyboard
Re: USB kernel oops
On Friday, February 21, 2014 09:35:31 PM Greg KH wrote: On Fri, Feb 21, 2014 at 02:30:18PM -0700, Nicholas Leippe wrote: $ uname -a Linux hellcat 3.12.9-gentoo #1 SMP PREEMPT Mon Jan 27 08:32:22 MST 2014 x86_64 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz GenuineIntel GNU/Linux distro: gentoo kernel: sys-kernel/gentoo-sources-3.12.9 oops: [531193.073318] usb 4-4.3.3: Failed to set U1 timeout to 0x0,error code -71 [531193.073326] BUG: unable to handle kernel NULL pointer dereference at 0010 [531193.073772] IP: [8147f6c8] usb_enable_link_state+0x38/0x350 [531193.074149] PGD 60ee9b067 PUD 5cc3b6067 PMD 0 [531193.074640] Oops: [#1] PREEMPT SMP [531193.075126] Modules linked in: snd_pcm_oss snd_mixer_oss snd_hda_codec_hdmi snd_hda_codec_realtek nvidia(PO) fglrx(PO) snd_hda_intel x86_pkg_temp_thermal snd_hda_codec coretemp snd_hwdep snd_pcm snd_page_alloc e1000e snd_timer ptp snd pps_core [531193.077140] CPU: 0 PID: 25835 Comm: usb-storage Tainted: P O 3.12.9-gentoo #1 Both the nvidia and AMD closed kernel drivers loaded? You are brave, and on your own :( Can you duplicate this on 3.13 without any closed drivers loaded? There have been a number of lpr fixes recently that should help with this. Got another one using only the nouveau driver. Oddly enough, this one did not affect my keyboard or my mouse--I almost didn't notice it had oopsed already. This is on: $ uname -a Linux hellcat 3.13.4-gentoo #2 SMP PREEMPT Mon Feb 24 10:32:21 MST 2014 x86_64 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz GenuineIntel GNU/Linux [14500.486180] BUG: unable to handle kernel NULL pointer dereference at 0010 [14500.486196] IP: [81486788] usb_enable_link_state+0x38/0x350 [14500.486204] PGD 0 [14500.486206] Oops: [#1] PREEMPT SMP [14500.486211] Modules linked in: snd_pcm_oss snd_mixer_oss snd_hda_codec_hdmi snd_hda_codec_realtek nouveau cfbfillrect cfbimgblt mxm_wmi wmi fbcon cfbcopyarea bitblit i2c_algo_bit softcursor ttm font x86_pkg_temp_thermal coretemp drm_kms_helper drm snd_hda_intel fb fbdev snd_hda_codec snd_hwdep e1000e snd_pcm snd_page_alloc ptp snd_timer pps_core snd video [14500.486251] CPU: 5 PID: 5576 Comm: usb-storage Tainted: P O 3.13.4-gentoo #2 [14500.486254] Hardware name: Dell Inc. OptiPlex 7010/0KRC95, BIOS A12 01/10/2013 [14500.486256] task: 8804cd982d80 ti: 8805b410a000 task.ti: 8805b410a000 [14500.486259] RIP: 0010:[81486788] [81486788] usb_enable_link_state+0x38/0x350 [14500.486263] RSP: 0018:8805b410bc08 EFLAGS: 00010246 [14500.486265] RAX: RBX: 8804865af000 RCX: [14500.486268] RDX: 0001 RSI: 8804865af001 RDI: 8806013f1c00 [14500.486270] RBP: 0001 R08: 0400 R09: 81a238e4 [14500.486272] R10: 0372 R11: 0371 R12: 8806013f1c00 [14500.486275] R13: 88058a552400 R14: 8804865af000 R15: [14500.486277] FS: () GS:88061dd4() knlGS: [14500.486280] CS: 0010 DS: ES: CR0: 80050033 [14500.486282] CR2: 0010 CR3: 01891000 CR4: 001427e0 [14500.486284] Stack: [14500.486285] 81806269 ffb9 ea0018044400 [14500.486290] 0010 81485a0c 8804865af000 [14500.486296] 8806013f1c00 0003 88058a552400 8804865af000 [14500.486300] Call Trace: [14500.486303] [81485a0c] ? usb_set_lpm_timeout+0x12c/0x140 [14500.486306] [81486b28] ? usb_enable_lpm+0x88/0xb0 [14500.486308] [81486c62] ? usb_disable_lpm+0xb2/0xc0 [14500.486311] [81486c9e] ? usb_unlocked_disable_lpm+0x2e/0x60 [14500.486314] [81489adf] ? usb_reset_and_verify_device+0x9f/0x5f0 [14500.486317] [8148a0ff] ? usb_reset_device+0xcf/0x190 [14500.486320] [814c59e1] ? usb_stor_port_reset+0x61/0x70 [14500.486323] [814c5a82] ? usb_stor_invoke_transport+0x92/0x4b0 [14500.486326] [814c6ec7] ? usb_stor_control_thread+0x147/0x250 [14500.486329] [814c6d80] ? fill_inquiry_response+0x170/0x170 [14500.486331] [814c6d80] ? fill_inquiry_response+0x170/0x170 [14500.486335] [8109c90c] ? kthread+0xbc/0xe0 [14500.486338] [810a] ? SyS_nanosleep+0x70/0x70 [14500.486341] [8109c850] ? __kthread_parkme+0x70/0x70 [14500.486348] [81680c7c] ? ret_from_fork+0x7c/0xb0 [14500.486351] [8109c850] ? __kthread_parkme+0x70/0x70 [14500.486353] Code: 89 6c 24 40 89 d5 4c 89 64 24 48 83 fd 01 49 89 fc 4c 89 6c 24 50 4c 89 74 24 58 4c 89 7c 24 60 48 8b 86 e0 02 00 00 40 0f 94 c6 48 8b 40 10 0f b7 50 08 0f 84 ba 00 00 00 83 fd 02 40 0f 94 c7 [14500.486401] RIP [81486788] usb_enable_link_state+0x38/0x350 [14500.486413] RSP 8805b410bc08 [14500.486418] CR2:
USB kernel oops
$ uname -a Linux hellcat 3.12.9-gentoo #1 SMP PREEMPT Mon Jan 27 08:32:22 MST 2014 x86_64 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz GenuineIntel GNU/Linux distro: gentoo kernel: sys-kernel/gentoo-sources-3.12.9 oops: [531193.073318] usb 4-4.3.3: Failed to set U1 timeout to 0x0,error code -71 [531193.073326] BUG: unable to handle kernel NULL pointer dereference at 0010 [531193.073772] IP: [8147f6c8] usb_enable_link_state+0x38/0x350 [531193.074149] PGD 60ee9b067 PUD 5cc3b6067 PMD 0 [531193.074640] Oops: [#1] PREEMPT SMP [531193.075126] Modules linked in: snd_pcm_oss snd_mixer_oss snd_hda_codec_hdmi snd_hda_codec_realtek nvidia(PO) fglrx(PO) snd_hda_intel x86_pkg_temp_thermal snd_hda_codec coretemp snd_hwdep snd_pcm snd_page_alloc e1000e snd_timer ptp snd pps_core [531193.077140] CPU: 0 PID: 25835 Comm: usb-storage Tainted: P O 3.12.9-gentoo #1 [531193.077461] Hardware name: Dell Inc. OptiPlex 7010/0KRC95, BIOS A12 01/10/2013 [531193.09] task: 8806111d0d00 ti: 8805cc3ee000 task.ti: 8805cc3ee000 [531193.078097] RIP: 0010:[8147f6c8] [8147f6c8] usb_enable_link_state+0x38/0x350 [531193.078716] RSP: :8805cc3efc08 EFLAGS: 00010246 [531193.079025] RAX: RBX: 8805cc3dc800 RCX: [531193.079341] RDX: 0001 RSI: 8805cc3dc801 RDI: 880611fede00 [531193.079656] RBP: 0001 R08: 0400 R09: 81a108e4 [531193.079972] R10: 034a R11: 0349 R12: 880611fede00 [531193.080290] R13: 880610da4800 R14: 8805cc3dc800 R15: [531193.080605] FS: () GS:88062dc0() knlGS: [531193.080925] CS: 0010 DS: ES: CR0: 80050033 [531193.081235] CR2: 0010 CR3: 0005cc14b000 CR4: 001427e0 [531193.081551] Stack: [531193.081846] 817f824f ffb9 dead00100100 [531193.082407] 0010 8147e84c 8805cc3dc800 [531193.082973] 880611fede00 0003 880610da4800 8805cc3dc800 [531193.083534] Call Trace: [531193.083835] [8147e84c] ? usb_set_lpm_timeout+0x12c/0x140 [531193.084145] [8147fa68] ? usb_enable_lpm+0x88/0xb0 [531193.084452] [8147fba2] ? usb_disable_lpm+0xb2/0xc0 [531193.084759] [8147fbde] ? usb_unlocked_disable_lpm+0x2e/0x60 [531193.085066] [81482a9f] ? usb_reset_and_verify_device+0x9f/0x5f0 [531193.085376] [814830bf] ? usb_reset_device+0xcf/0x190 [531193.085688] [814bdc81] ? usb_stor_port_reset+0x61/0x70 [531193.086002] [814bdd22] ? usb_stor_invoke_transport+0x92/0x4b0 [531193.086317] [814bf167] ? usb_stor_control_thread+0x147/0x250 [531193.086630] [814bf020] ? fill_inquiry_response+0x170/0x170 [531193.086946] [814bf020] ? fill_inquiry_response+0x170/0x170 [531193.087260] [8109bff3] ? kthread+0xb3/0xc0 [531193.087568] [810a] ? copy_namespaces+0xa0/0xc0 [531193.087877] [8109bf40] ? __kthread_parkme+0x80/0x80 [531193.088190] [816768bc] ? ret_from_fork+0x7c/0xb0 [531193.088501] [8109bf40] ? __kthread_parkme+0x80/0x80 [531193.088808] Code: 89 6c 24 40 89 d5 4c 89 64 24 48 83 fd 01 49 89 fc 4c 89 6c 24 50 4c 89 74 24 58 4c 89 7c 24 60 48 8b 86 e0 02 00 00 40 0f 94 c6 48 8b 40 10 0f b7 50 08 0f 84 ba 00 00 00 83 fd 02 40 0f 94 c7 [531193.093613] RIP [8147f6c8] usb_enable_link_state+0x38/0x350 [531193.093991] RSP 8805cc3efc08 [531193.094290] CR2: 0010 [531193.100655] ---[ end trace 9332546a3bef43c9 ]--- $ lsmod Module Size Used by snd_pcm_oss37730 0 snd_mixer_oss 14308 1 snd_pcm_oss snd_hda_codec_hdmi 28786 2 snd_hda_codec_realtek39897 1 nvidia 10612283 84 fglrx7261959 0 snd_hda_intel 27117 10 x86_pkg_temp_thermal 2920 0 snd_hda_codec 124872 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel coretemp4728 0 snd_hwdep 5805 1 snd_hda_codec snd_pcm74063 6 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel snd_page_alloc 6746 2 snd_pcm,snd_hda_intel e1000e183723 0 snd_timer 18097 3 snd_pcm ptp 7788 1 e1000e snd56343 25 snd_hda_codec_realtek,snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel,snd_mixer_oss pps_core6593 1 ptp description: Fairly regularly (within a week's time), yet so far unpredictably, my office desktop hits this oops. After which my USB keyboard no longer responds. Physically disconnecting and reconnecting it has no effect--even into other usb ports. Running 'reboot' hangs somewhere attempting to shut down. I have to do a hard reset to
Re: USB kernel oops
On Fri, Feb 21, 2014 at 02:30:18PM -0700, Nicholas Leippe wrote: $ uname -a Linux hellcat 3.12.9-gentoo #1 SMP PREEMPT Mon Jan 27 08:32:22 MST 2014 x86_64 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz GenuineIntel GNU/Linux distro: gentoo kernel: sys-kernel/gentoo-sources-3.12.9 oops: [531193.073318] usb 4-4.3.3: Failed to set U1 timeout to 0x0,error code -71 [531193.073326] BUG: unable to handle kernel NULL pointer dereference at 0010 [531193.073772] IP: [8147f6c8] usb_enable_link_state+0x38/0x350 [531193.074149] PGD 60ee9b067 PUD 5cc3b6067 PMD 0 [531193.074640] Oops: [#1] PREEMPT SMP [531193.075126] Modules linked in: snd_pcm_oss snd_mixer_oss snd_hda_codec_hdmi snd_hda_codec_realtek nvidia(PO) fglrx(PO) snd_hda_intel x86_pkg_temp_thermal snd_hda_codec coretemp snd_hwdep snd_pcm snd_page_alloc e1000e snd_timer ptp snd pps_core [531193.077140] CPU: 0 PID: 25835 Comm: usb-storage Tainted: P O 3.12.9-gentoo #1 Both the nvidia and AMD closed kernel drivers loaded? You are brave, and on your own :( Can you duplicate this on 3.13 without any closed drivers loaded? There have been a number of lpr fixes recently that should help with this. thanks, greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html