unplugging an usb keyboard leads to this oops with Gregs usb-2.6 tree,
from a few days ago. The changes from yesterday will probably not fix it.
This is a Thinkpad T40p.


usb 2-2: new low speed USB device using address 2
usbcore: registered new driver hiddev
input: USB HID v1.00 Keyboard [IBM IBM Rapid Access II Keyboard] on usb-0000:00:1d.1-2
input,hiddev96: USB HID v1.00 Device [IBM IBM Rapid Access II Keyboard] on 
usb-0000:00:1d.1-2
usbcore: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
usb 2-2: USB disconnect, address 2
drivers/usb/input/hid-core.c: can't resubmit intr, 0000:00:1d.1-2/input1, status -19
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
e1a86194
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<e1a86194>]    Not tainted
EFLAGS: 00010293   (2.6.6-usbtest-200405101533)
EIP is at usb_ifnum_to_if+0x24/0x40 [usbcore]
eax: 00000000   ebx: dd0e8400   ecx: 00000000   edx: 00000001
esi: 00000002   edi: 00000001   ebp: de1c7c24   esp: de591ef4
ds: 007b   es: 007b   ss: 0068
Process khubd (pid: 1191, threadinfo=de590000 task=de5b5230)
Stack: de1c7c00 00000000 00000001 e1a8b928 00000000 dd78fe54 dd78fe54 e1c924e0
       de1c7c00 de1c7c24 e1a860a2 dd78fe64 e1c92500 c020fa86 dd78fe64 de1c7ccc
       c020fb7a dd78fe64 de1c7ccc c020edb2 dd78fe64 de1c7c00 c020ee08 00000001
Call Trace:
 [<e1a8b928>] usb_set_interface+0x18/0x120 [usbcore]
 [<e1a860a2>] usb_unbind_interface+0x42/0x60 [usbcore]
 [<c020fa86>] device_release_driver+0x46/0x50
 [<c020fb7a>] bus_remove_device+0x3a/0x70
 [<c020edb2>] device_del+0x52/0xa0
 [<c020ee08>] device_unregister+0x8/0x10
 [<e1a8b7ec>] usb_disable_device+0x7c/0xc0 [usbcore]
 [<e1a86afa>] usb_disconnect+0x8a/0xc0 [usbcore]
 [<e1a888b0>] hub_port_connect_change+0x90/0x280 [usbcore]
 [<e1a80100>] hci_usb_rx_complete+0x580/0x650 [hci_usb]
 [<e1a88b84>] hub_events+0xe4/0x2f0 [usbcore]
 [<e1a88dda>] hub_thread+0x4a/0xf0 [usbcore]
 [<c0116d50>] default_wake_function+0x0/0x10
 [<e1a88d90>] hub_thread+0x0/0xf0 [usbcore]
 [<c010424d>] kernel_thread_helper+0x5/0x18

Code: 8b 10 8a 52 02 81 e2 ff 00 00 00 39 fa 74 07 41 39 f1 7c e8


Module                  Size  Used by
usbhid                 39872  0
edd                    10136  0
joydev                  9792  0
st                     38428  0
sd_mod                 20736  0
sr_mod                 16676  0
scsi_mod              110156  3 st,sd_mod,sr_mod
ide_cd                 38688  0
cdrom                  36124  2 sr_mod,ide_cd
nvram                   8456  0
usbserial              27632  0
parport_pc             36800  0
lp                     10536  0
parport                38088  2 parport_pc,lp
autofs                 14848  3
snd_seq_oss            31488  0
snd_seq_midi_event      7680  1 snd_seq_oss
snd_seq                52624  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            58788  0
snd_mixer_oss          19584  1 snd_pcm_oss
cpufreq_userspace       5796  2
speedstep_centrino      7380  0
freq_table              4484  1 speedstep_centrino
thermal                12304  0
processor              17200  2 speedstep_centrino,thermal
fan                     4236  0
ipv6                  226528  15
button                  6680  0
battery                 8844  0
ac                      5004  0
snd_intel8x0           34472  0
snd_ac97_codec         60548  1 snd_intel8x0
snd_pcm                97928  2 snd_pcm_oss,snd_intel8x0
snd_timer              25732  2 snd_seq,snd_pcm
snd_page_alloc         11524  2 snd_intel8x0,snd_pcm
gameport                4736  1 snd_intel8x0
snd_mpu401_uart         8064  1 snd_intel8x0
snd_rawmidi            25120  1 snd_mpu401_uart
snd_seq_device          8584  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    59780  12 
snd_seq_oss,snd_seq_midi_event,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               9184  1 snd
l2cap                  22532  2
hci_vhci                6912  0
hci_uart               15188  0
hci_usb                12800  0
bluetooth              44772  6 l2cap,hci_vhci,hci_uart,hci_usb
af_packet              20616  2
e1000                  79492  0
yenta_socket           19712  0
hw_random               5524  0
ehci_hcd               27524  0
uhci_hcd               29328  0
usbcore                99164  7 usbhid,usbserial,hci_usb,ehci_hcd,uhci_hcd
intel_mch_agp          10256  0
agpgart                31784  1 intel_mch_agp
evdev                   8960  0
orinoco_cs              9096  0
ds                     17796  5 orinoco_cs
pcmcia_core            59844  3 yenta_socket,orinoco_cs,ds
orinoco                37388  1 orinoco_cs
hermes                  8832  2 orinoco_cs,orinoco
dm_mod                 40992  0
reiserfs              211280  1

With our 2.6.5 based kernel, this oops occours:


May 12 19:18:10 linux kernel: usb 2-2: USB disconnect, address 2
May 12 19:18:10 linux kernel: Unable to handle kernel paging request at virtual 
address e297b080
May 12 19:18:10 linux kernel:  printing eip:
May 12 19:18:10 linux kernel: e2973b39
May 12 19:18:10 linux kernel: *pde = 1fe34067
May 12 19:18:10 linux kernel: Oops: 0002 [#1]
May 12 19:18:10 linux kernel: CPU:    0
May 12 19:18:10 linux kernel: EIP:    0060:[__crc_rpc_mkpipe+5016834/7678134]    
Tainted: PF 
May 12 19:18:10 linux kernel: EIP:    0060:[<e2973b39>]    Tainted: PF 
May 12 19:18:10 linux kernel: EFLAGS: 00010282   (2.6.5-12.19-default) 
May 12 19:18:10 linux kernel: EIP is at hiddev_cleanup+0x19/0x30 [hid]
May 12 19:18:10 linux kernel: eax: 00000060   ebx: dc149420   ecx: c1593700   edx: 
e2d3df54
May 12 19:18:10 linux kernel: esi: e297a8e0   edi: c15ff400   ebp: c15ff424   esp: 
de439f10
May 12 19:18:11 linux kernel: ds: 007b   es: 007b   ss: 0068
May 12 19:18:11 linux kernel: Process khubd (pid: 1585, threadinfo=de438000 
task=de92a700)
May 12 19:18:11 linux kernel: Stack: cdd7c000 e29718e9 dc126980 e2d28546 dc126994 
e297a900 c0219016 dc126994 
May 12 19:18:11 linux kernel:        c15ff4cc c02190da dc126994 c15ff4cc c0218152 
dc126994 c15ff400 c02181a8 
May 12 19:18:11 linux kernel:        00000002 e2d2bd8d c15ff440 ffffffff e2d2807e 
00000002 00000001 dde9ed80 
May 12 19:18:11 linux kernel: Call Trace:
May 12 19:18:11 linux kernel:  [__crc_rpc_mkpipe+5008050/7678134] 
hid_disconnect+0x89/0xf0 [hid]
May 12 19:18:11 linux kernel:  [<e29718e9>] hid_disconnect+0x89/0xf0 [hid]
May 12 19:18:11 linux kernel:  [__crc_input_register_device+81699/632039] 
usb_unbind_interface+0x56/0x58 [usbcore]
May 12 19:18:11 linux kernel:  [<e2d28546>] usb_unbind_interface+0x56/0x58 [usbcore]
May 12 19:18:11 linux kernel:  [device_release_driver+70/80] 
device_release_driver+0x46/0x50
May 12 19:18:11 linux kernel:  [<c0219016>] device_release_driver+0x46/0x50
May 12 19:18:11 linux kernel:  [bus_remove_device+58/112] bus_remove_device+0x3a/0x70
May 12 19:18:11 linux kernel:  [<c02190da>] bus_remove_device+0x3a/0x70
May 12 19:18:11 linux kernel:  [device_del+82/160] device_del+0x52/0xa0
May 12 19:18:11 linux kernel:  [<c0218152>] device_del+0x52/0xa0
May 12 19:18:11 linux kernel:  [device_unregister+8/16] device_unregister+0x8/0x10
May 12 19:18:11 linux kernel:  [<c02181a8>] device_unregister+0x8/0x10
May 12 19:18:11 linux kernel:  [__crc_input_register_device+96106/632039] 
usb_disable_device+0x7d/0xb0 [usbcore]
May 12 19:18:11 linux kernel:  [<e2d2bd8d>] usb_disable_device+0x7d/0xb0 [usbcore]
May 12 19:18:11 linux kernel:  [__crc_input_register_device+80475/632039] 
usb_disconnect+0xae/0x110 [usbcore]
May 12 19:18:11 linux kernel:  [<e2d2807e>] usb_disconnect+0xae/0x110 [usbcore]
May 12 19:18:11 linux kernel:  [__crc_input_register_device+87209/632039] 
hub_port_connect_change+0x1cc/0x3f0 [usbcore]
May 12 19:18:11 linux kernel:  [<e2d29acc>] hub_port_connect_change+0x1cc/0x3f0 
[usbcore]
May 12 19:18:11 linux kernel:  [__crc_input_register_device+82334/632039] 
hub_port_status+0x51/0xe0 [usbcore]
May 12 19:18:11 linux kernel:  [<e2d287c1>] hub_port_status+0x51/0xe0 [usbcore]
May 12 19:18:11 linux kernel:  [__crc_input_register_device+88448/632039] 
hub_thread+0x2b3/0x520 [usbcore]
May 12 19:18:11 linux kernel:  [<e2d29fa3>] hub_thread+0x2b3/0x520 [usbcore]
May 12 19:18:11 linux kernel:  [default_wake_function+0/16] 
default_wake_function+0x0/0x10
May 12 19:18:11 linux kernel:  [<c011be40>] default_wake_function+0x0/0x10
May 12 19:18:12 linux kernel:  [__crc_input_register_device+87757/632039] 
hub_thread+0x0/0x520 [usbcore]
May 12 19:18:12 linux kernel:  [<e2d29cf0>] hub_thread+0x0/0x520 [usbcore]
May 12 19:18:12 linux kernel:  [kernel_thread_helper+5/16] 
kernel_thread_helper+0x5/0x10
May 12 19:18:12 linux kernel:  [<c0106005>] kernel_thread_helper+0x5/0x10


-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÃRNBERG


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to