FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-14-2008, 05:12 AM
Iain Buchanan
 
Default kernel BUG when unplugging usb?

Hi all,

When I unplug my usb mouse and keyboard for longer than a few seconds
(not sure of the exact time, but must be more than, say, 5 seconds) I
get a BUG message in dmesg. When I plug them back in, they don't work!

I just tried to unload & reload usb-hid, but modprobe locked up on the
reload. It appears the only way to fix it is to reboot.

This happens with tuxonice sources 2.6.23-r9 but never happened with
2.6.22.* or earlier.

Here's the dmesg output:

usb 3-2: USB disconnect, address 5
usb 2-1: USB disconnect, address 4
BUG: unable to handle kernel paging request at virtual address 00100100
printing eip:
c029e85c
*pde = 4b79c067
Oops: 0000 [#1]
PREEMPT SMP
Modules linked in: ndiswrapper rndis_host cdc_ether usbnet rfcomm l2cap
ntfs smbfs vfat fat autofs4 snd_pcm_oss snd_mixer_oss snd_seq_oss
snd_seq_midi_event snd_seq snd_seq_device i8k usbhid ohci1394 ieee1394
hci_usb b44 snd_intel8x0 yenta_socket rsrc_nonstatic snd_ac97_codec
ac97_bus snd_pcm ehci_hcd irda fglrx(P) pcmcia_core uhci_hcd usbcore
snd_timer crc_ccitt snd_page_alloc
CPU: 0
EIP: 0060:[<c029e85c>] Tainted: P VLI
EFLAGS: 00010206 (2.6.23-tuxonice-r9 #6)
EIP is at evdev_disconnect+0x5b/0x96
eax: 00000000 ebx: 000ffcf0 ecx: 00000000 edx: f7cb8aa0
esi: f7062c00 edi: f7062c5c ebp: f7062600 esp: f7645e8c
ds: 007b es: 007b fs: 00d8 gs: 0000 ss: 0068
Process khubd (pid: 1350, ti=f7644000 task=c1b2f000 task.ti=f7644000)
Stack: 00000000 dd278800 dd278f98 ecc9f000 c029cc42 00000000 c7a4b000
ecc9f000
00000202 ee8edca0 ecc9fc58 c02aeabd c7a4b01c c7a4b000 ecc9f000
f92d32a9
f7062600 f706261c f92d8140 ee087458 f92a91ff f706261c f92d8178
00000000
Call Trace:
[<c029cc42>] input_unregister_device+0x67/0xfc
[<c02aeabd>] hidinput_disconnect+0x2e/0x47
[<f92d32a9>] hid_disconnect+0x76/0xce [usbhid]
[<f92a91ff>] usb_unbind_interface+0x2d/0x6e [usbcore]
[<c026b148>] __device_release_driver+0x71/0x8e
[<c026b4d0>] device_release_driver+0x1e/0x34
[<c026ab46>] bus_remove_device+0x5e/0x6c
[<c0269673>] device_del+0x19e/0x212
[<f92a6f61>] usb_disable_device+0x5c/0xbb [usbcore]
[<f92a3ab0>] usb_disconnect+0x83/0xe6 [usbcore]
[<f92a411a>] hub_thread+0x319/0x9ff [usbcore]
[<c0325dd9>] __sched_text_start+0x589/0x5b7
[<c013060c>] autoremove_wake_function+0x0/0x35
[<f92a3e01>] hub_thread+0x0/0x9ff [usbcore]
[<c013053d>] kthread+0x38/0x5f
[<c0130505>] kthread+0x0/0x5f
[<c0104adf>] kernel_thread_helper+0x7/0x10
=======================
Code: e8 6d d2 ff ff 8b 5e 54 eb 1b 8d 83 08 04 00 00 b9 06 00 02 00 ba
1d 00 00 00 e8 0b 3d ed ff 8b 9b 10 04 00 00 81 eb 10 04 00 00 <8b> 83
10 04 00 00 0f 18 00 90 8d 93 10 04 00 00 8d 46 54 39 c2
EIP: [<c029e85c>] evdev_disconnect+0x5b/0x96 SS:ESP 0068:f7645e8c
atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
isa0060/serio0).
atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.
atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
isa0060/serio0).
atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.
atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
isa0060/serio0).
atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.
atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
isa0060/serio0).
atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.
atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
isa0060/serio0).
atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.
atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
isa0060/serio0).
atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.
atkbd.c: Unknown key pressed (translated set 2, code 0x86 on
isa0060/serio0).
atkbd.c: Use 'setkeycodes e006 <keycode>' to make it known.


Strange as it sounds, I haven't had much experience with these- where do
I start looking?

thanks,
--
Iain Buchanan <iaindb at netspace dot net dot au>

The gates in my computer are AND, OR and NOT; they are not Bill.

--
gentoo-user@lists.gentoo.org mailing list
 
Old 02-14-2008, 08:04 AM
Sascha Hlusiak
 
Default kernel BUG when unplugging usb?

Am Donnerstag 14 Februar 2008 07:12:48 schrieb Iain Buchanan:
> Hi all,
>
> When I unplug my usb mouse and keyboard for longer than a few seconds
> (not sure of the exact time, but must be more than, say, 5 seconds) I
> get a BUG message in dmesg. When I plug them back in, they don't work!
>
> I just tried to unload & reload usb-hid, but modprobe locked up on the
> reload. It appears the only way to fix it is to reboot.
>
> This happens with tuxonice sources 2.6.23-r9 but never happened with
> 2.6.22.* or earlier.
That bug is known (search with google), it's a race condition because of
proper locking in the kernel in the evdev code.

It's fixed in 2.6.24.


Sascha
 

Thread Tools




All times are GMT. The time now is 08:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org