I've had this problem in all of the 2.6.0-test* versions so far.  I
thought I found the correct patch (on this mailing list) for test3,
and the ChangeLog for test4 suggests that it has a fix for the
problem.

When I suspend and resume (to disk... hibernate) my ThinkPad T22, the
USB mouse doesn't come back.  On resume the light in the mouse flicks
on for a fraction of a second, but is useless.  After the event,
shutting down hotplug, removing modules and starting over doesn't
help.

I can work around the problem by doing "/etc/init.d/hotplug stop"
before I suspend and then "/etc/init.d/hotplug start" afterwards.  The
hotplug package is from Debian unstable.

The log messages below correspond to post-resume problems.  I believe
that at 16:00:22 I unplugged and replugged the mouse.  At 16:00:49 I
believe I did "/etc/init.d/hotplug reload".  I could have the times
wrong - I'm sure you guys would be able to read those log messages
better than me... :-)

I hope this helps...

By the way, I'm not on this list, since hotplug usually works
beautifully.  :-) If anyone posts a patch, can they please copy me?

peace & happiness,
martin

--------8<---------8<-------- CUT HERE --------8<---------8<--------
Aug 24 16:00:22 localhost kernel: uhci-hcd 0000:00:07.2: remove, state 3
Aug 24 16:00:22 localhost kernel: uhci-hcd 0000:00:07.2: roothub graceful disconnect
Aug 24 16:00:22 localhost kernel: usb usb1: USB disconnect, address 1
Aug 24 16:00:22 localhost kernel: usb 1-1: USB disconnect, address 2
Aug 24 16:00:22 localhost kernel: drivers/usb/core/message.c: nuking URBs for device 
1-1
Aug 24 16:00:22 localhost kernel: uhci-hcd 0000:00:07.2: shutdown urb dea9f920 pipe 
40408280 ep1in-intr
Aug 24 16:00:22 localhost kernel: usb 1-1: unregistering interfaces
Aug 24 16:00:22 localhost kernel: PM: Removing info for usb:1-1:0
Aug 24 16:00:22 localhost kernel: usb 1-1: hcd_unlink_urb dea9f920 fail -16
Aug 24 16:00:22 localhost kernel: usb 1-1: hcd_unlink_urb dea9f260 fail -22
Aug 24 16:00:22 localhost kernel: usb 1-1: hcd_unlink_urb dea9f920 fail -16
Aug 24 16:00:22 localhost kernel: drivers/usb/core/usb.c: usb_hotplug
Aug 24 16:00:22 localhost kernel: usb 1-1: unregistering device
Aug 24 16:00:22 localhost kernel: PM: Removing info for usb:1-1
Aug 24 16:00:22 localhost kernel: drivers/usb/core/usb.c: usb_hotplug
Aug 24 16:00:22 localhost kernel: drivers/usb/core/message.c: nuking URBs for device 
usb1
Aug 24 16:00:22 localhost kernel: usb usb1: unregistering interfaces
Aug 24 16:00:22 localhost kernel: PM: Removing info for usb:1-0:0
Aug 24 16:00:22 localhost kernel: usb usb1: hcd_unlink_urb dfe209e0 fail -22
Aug 24 16:00:22 localhost kernel: drivers/usb/core/usb.c: usb_hotplug
Aug 24 16:00:22 localhost kernel: usb usb1: unregistering device
Aug 24 16:00:22 localhost kernel: PM: Removing info for usb:usb1
Aug 24 16:00:22 localhost kernel: drivers/usb/core/usb.c: usb_hotplug
Aug 24 16:00:22 localhost kernel: pci_pool_destroy 0000:00:07.2/uhci_td, df414000 busy
Aug 24 16:00:22 localhost kernel: uhci-hcd 0000:00:07.2: USB bus 1 deregistered
Aug 24 16:00:22 localhost kernel: slab error in kmem_cache_destroy(): cache 
`uhci_urb_priv': Can't free all objects
Aug 24 16:00:22 localhost kernel: Call Trace:
Aug 24 16:00:22 localhost kernel:  [kmem_cache_destroy+135/256] 
kmem_cache_destroy+0x87/0x100
Aug 24 16:00:22 localhost kernel:  [_end+542482591/1070395920] 
uhci_hcd_cleanup+0x1f/0x5e [uhci_hcd]
Aug 24 16:00:22 localhost kernel:  [sys_delete_module+331/448] 
sys_delete_module+0x14b/0x1c0
Aug 24 16:00:22 localhost kernel:  [sys_munmap+67/112] sys_munmap+0x43/0x70
Aug 24 16:00:22 localhost kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Aug 24 16:00:22 localhost kernel: 
Aug 24 16:00:22 localhost kernel: uhci: not all urb_priv's were freed
Aug 24 16:00:22 localhost kernel: drivers/usb/core/usb.c: deregistering driver hiddev
Aug 24 16:00:22 localhost kernel: drivers/usb/core/usb.c: deregistering driver hid
Aug 24 16:00:22 localhost kernel: drivers/usb/core/usb.c: deregistering driver usbmouse
Aug 24 16:00:23 localhost kernel: drivers/usb/core/usb.c: deregistering driver usbfs
Aug 24 16:00:23 localhost kernel: drivers/usb/core/hub.c: hub_thread exiting
Aug 24 16:00:23 localhost kernel: drivers/usb/core/usb.c: deregistering driver hub
Aug 24 16:00:49 localhost kernel: drivers/usb/core/usb.c: registered new driver usbfs
Aug 24 16:00:49 localhost kernel: drivers/usb/core/usb.c: registered new driver hub
Aug 24 16:00:49 localhost kernel: drivers/usb/host/uhci-hcd.c: USB Universal Host 
Controller Interface driver v2.1
Aug 24 16:00:49 localhost kernel: kmem_cache_create: duplicate cache uhci_urb_priv
Aug 24 16:00:49 localhost kernel: ------------[ cut here ]------------
Aug 24 16:00:49 localhost kernel: kernel BUG at mm/slab.c:1227!
Aug 24 16:00:49 localhost kernel: invalid operand: 0000 [#1]
Aug 24 16:00:49 localhost kernel: CPU:    0
Aug 24 16:00:49 localhost kernel: EIP:    0060:[kmem_cache_create+1001/1248]    Not 
tainted
Aug 24 16:00:49 localhost kernel: EFLAGS: 00010202
Aug 24 16:00:49 localhost kernel: EIP is at kmem_cache_create+0x3e9/0x4e0
Aug 24 16:00:49 localhost kernel: eax: 00000031   ebx: dfe52404   ecx: c031d728   edx: 
d97d0000
Aug 24 16:00:49 localhost kernel: esi: e08894e6   edi: e08894e6   ebp: d97d1f74   esp: 
d97d1f44
Aug 24 16:00:49 localhost kernel: ds: 007b   es: 007b   ss: 0068
Aug 24 16:00:49 localhost kernel: Process modprobe (pid: 1924, threadinfo=d97d0000 
task=df4318c0)
Aug 24 16:00:49 localhost kernel: Stack: c0278320 e08894d8 00000000 d97d1f64 defecee8 
c0000000 defeceac fffffffc 
Aug 24 16:00:49 localhost kernel:        0000001c fffffff4 e088b520 c029d9b8 d97d1f98 
e09780c6 e08894d8 0000003c 
Aug 24 16:00:49 localhost kernel:        00000020 00000000 00000000 00000000 c029d9d0 
d97d1fbc c012fd94 c031d4c4 
Aug 24 16:00:49 localhost kernel: Call Trace:
Aug 24 16:00:49 localhost kernel:  [_end+543462102/1070395920] 
uhci_hcd_init+0xc6/0x13d [uhci_hcd]
Aug 24 16:00:49 localhost kernel:  [sys_init_module+292/592] 
sys_init_module+0x124/0x250
Aug 24 16:00:49 localhost kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Aug 24 16:00:49 localhost kernel: 
Aug 24 16:00:49 localhost kernel: Code: 0f 0b cb 04 44 7b 27 c0 8b 0b e9 71 ff ff ff 
8b 47 34 c7 04 



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to