Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] kernel BUG when unplugging usb?
Date: Thu, 14 Feb 2008 06:13:23
Message-Id: 1202969569.21447.55.camel@orpheus
1 Hi all,
2
3 When I unplug my usb mouse and keyboard for longer than a few seconds
4 (not sure of the exact time, but must be more than, say, 5 seconds) I
5 get a BUG message in dmesg. When I plug them back in, they don't work!
6
7 I just tried to unload & reload usb-hid, but modprobe locked up on the
8 reload. It appears the only way to fix it is to reboot.
9
10 This happens with tuxonice sources 2.6.23-r9 but never happened with
11 2.6.22.* or earlier.
12
13 Here's the dmesg output:
14
15 usb 3-2: USB disconnect, address 5
16 usb 2-1: USB disconnect, address 4
17 BUG: unable to handle kernel paging request at virtual address 00100100
18 printing eip:
19 c029e85c
20 *pde = 4b79c067
21 Oops: 0000 [#1]
22 PREEMPT SMP
23 Modules linked in: ndiswrapper rndis_host cdc_ether usbnet rfcomm l2cap
24 ntfs smbfs vfat fat autofs4 snd_pcm_oss snd_mixer_oss snd_seq_oss
25 snd_seq_midi_event snd_seq snd_seq_device i8k usbhid ohci1394 ieee1394
26 hci_usb b44 snd_intel8x0 yenta_socket rsrc_nonstatic snd_ac97_codec
27 ac97_bus snd_pcm ehci_hcd irda fglrx(P) pcmcia_core uhci_hcd usbcore
28 snd_timer crc_ccitt snd_page_alloc
29 CPU: 0
30 EIP: 0060:[<c029e85c>] Tainted: P VLI
31 EFLAGS: 00010206 (2.6.23-tuxonice-r9 #6)
32 EIP is at evdev_disconnect+0x5b/0x96
33 eax: 00000000 ebx: 000ffcf0 ecx: 00000000 edx: f7cb8aa0
34 esi: f7062c00 edi: f7062c5c ebp: f7062600 esp: f7645e8c
35 ds: 007b es: 007b fs: 00d8 gs: 0000 ss: 0068
36 Process khubd (pid: 1350, ti=f7644000 task=c1b2f000 task.ti=f7644000)
37 Stack: 00000000 dd278800 dd278f98 ecc9f000 c029cc42 00000000 c7a4b000
38 ecc9f000
39 00000202 ee8edca0 ecc9fc58 c02aeabd c7a4b01c c7a4b000 ecc9f000
40 f92d32a9
41 f7062600 f706261c f92d8140 ee087458 f92a91ff f706261c f92d8178
42 00000000
43 Call Trace:
44 [<c029cc42>] input_unregister_device+0x67/0xfc
45 [<c02aeabd>] hidinput_disconnect+0x2e/0x47
46 [<f92d32a9>] hid_disconnect+0x76/0xce [usbhid]
47 [<f92a91ff>] usb_unbind_interface+0x2d/0x6e [usbcore]
48 [<c026b148>] __device_release_driver+0x71/0x8e
49 [<c026b4d0>] device_release_driver+0x1e/0x34
50 [<c026ab46>] bus_remove_device+0x5e/0x6c
51 [<c0269673>] device_del+0x19e/0x212
52 [<f92a6f61>] usb_disable_device+0x5c/0xbb [usbcore]
53 [<f92a3ab0>] usb_disconnect+0x83/0xe6 [usbcore]
54 [<f92a411a>] hub_thread+0x319/0x9ff [usbcore]
55 [<c0325dd9>] __sched_text_start+0x589/0x5b7
56 [<c013060c>] autoremove_wake_function+0x0/0x35
57 [<f92a3e01>] hub_thread+0x0/0x9ff [usbcore]
58 [<c013053d>] kthread+0x38/0x5f
59 [<c0130505>] kthread+0x0/0x5f
60 [<c0104adf>] kernel_thread_helper+0x7/0x10
61 =======================
62 Code: e8 6d d2 ff ff 8b 5e 54 eb 1b 8d 83 08 04 00 00 b9 06 00 02 00 ba
63 1d 00 00 00 e8 0b 3d ed ff 8b 9b 10 04 00 00 81 eb 10 04 00 00 <8b> 83
64 10 04 00 00 0f 18 00 90 8d 93 10 04 00 00 8d 46 54 39 c2
65 EIP: [<c029e85c>] evdev_disconnect+0x5b/0x96 SS:ESP 0068:f7645e8c
66 atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
67 isa0060/serio0).
68 atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.
69 atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
70 isa0060/serio0).
71 atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.
72 atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
73 isa0060/serio0).
74 atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.
75 atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
76 isa0060/serio0).
77 atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.
78 atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
79 isa0060/serio0).
80 atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.
81 atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
82 isa0060/serio0).
83 atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.
84 atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
85 isa0060/serio0).
86 atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.
87
88
89 Strange as it sounds, I haven't had much experience with these- where do
90 I start looking?
91
92 thanks,
93 --
94 Iain Buchanan <iaindb at netspace dot net dot au>
95
96 The gates in my computer are AND, OR and NOT; they are not Bill.
97
98 --
99 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] kernel BUG when unplugging usb? Sascha Hlusiak <saschahlusiak@×××××.de>