2.6.4 UHCI HCD BUG
Hello,
with 2.6.4 if I do rmmod uhci_hcd and then modprobe uhci_hcd while running X server with USB mouse connected to UHCI USB I got:uhci_hcd 0000:00:1d.2: USB bus 3 deregistered
slab error in kmem_cache_destroy(): cache `uhci_urb_priv': Can't free all object s
Call Trace: [<c013c154>] kmem_cache_destroy+0x85/0xf3 [<d0e9ec9b>] uhci_hcd_cleanup+0x1c/0x61 [uhci_hcd] [<c01307f8>] sys_delete_module+0x12d/0x154 [<c010af61>] do_IRQ+0x10d/0x140 [<c01092c9>] sysenter_past_esp+0x52/0x71
drivers/usb/host/uhci-hcd.c: not all urb_priv's were freed! USB Universal Host Controller Interface driver v2.2kmem_cache_create: duplicate cache uhci_urb_priv
------------[ cut here ]------------ kernel BUG at mm/slab.c:1314! invalid operand: 0000 [#1] PREEMPT CPU: 0 EIP: 0060:[<c013be42>] Not tainted EFLAGS: 00210202
EIP is at kmem_cache_create+0x3e9/0x48f
eax: 00000031 ebx: ceda82c8 ecx: c03df728 edx: cd0ea000
esi: d0e9f2da edi: d0e9f2da ebp: ceda81e8 esp: cd0ebf4c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 11450, threadinfo=cd0ea000 task=c32cee40)
Stack: c0304c80 d0e9f2cc 00000000 cd0ebf68 ceda8224 c0000000 fffffffc 00000010
00000000 fffffff4 c0342cb8 cd0ea000 d08a60ce d0e9f2cc 0000002c 00000080
00000000 00000000 00000000 c0342cd0 d0ea1100 c01321fb c03df5e4 00000001
Call Trace:
[<d08a60ce>] uhci_hcd_init+0xce/0x130 [uhci_hcd]
[<c01321fb>] sys_init_module+0x12e/0x24b
[<c01092c9>] sysenter_past_esp+0x52/0x71
Code: 0f 0b 22 05 c2 44 30 c0 8b 0b e9 76 ff ff ff 8b 47 34 c7 04USB in /proc/pci:
Bus 0, device 29, function 0:
USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 3).
IRQ 5.
I/O at 0x1820 [0x183f].
Bus 0, device 29, function 1:
USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 3).
IRQ 11.
I/O at 0x1840 [0x185f].
Bus 0, device 29, function 2:
USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 3).
IRQ 4.
I/O at 0x1860 [0x187f].
Bus 0, device 29, function 7:
USB Controller: Intel Corp. 82801DB USB2 (rev 3).
IRQ 10.
Non-prefetchable 32 bit memory at 0xe0100000 [0xe01003ff].Signature · 1 line
Lukáš Hejtmánek
Quoted 29 lines · Lukas Hejtmanek
Hello,
with 2.6.4 if I do rmmod
uhci_hcdand then modprobeuhci_hcdwhile running X server with USB mouse connected to UHCI USB I got:uhci_hcd0000:00:1d.2: USB bus 3 deregistered
slab error inkmem_cache_destroy(): cache `uhci_urb_priv': Can't free all object sCall Trace: [<c013c154>] kmem_cache_destroy+0x85/0xf3 [<d0e9ec9b>] uhci_hcd_cleanup+0x1c/0x61 [uhci_hcd] [<c01307f8>] sys_delete_module+0x12d/0x154 [<c010af61>] do_IRQ+0x10d/0x140 [<c01092c9>] sysenter_past_esp+0x52/0x71
drivers/usb/host/uhci-hcd.c: not all urb_priv's were freed! USB Universal Host Controller Interface driver v2.2kmem_cache_create: duplicate cacheuhci_urb_priv------------[ cut here ]------------ kernel BUG at mm/slab.c:1314! invalid operand: 0000 [#1] PREEMPT CPU: 0 EIP: 0060:[<c013be42>] Not tainted EFLAGS: 00210202EIP is at
kmem_cache_create+0x3e9/0x48f
eax: 00000031 ebx:ceda82c8ecx:c03df728edx:cd0ea000
esi:d0e9f2daedi:d0e9f2daebp:ceda81e8esp:cd0ebf4c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 11450, threadinfo=cd0ea000 task=c32cee40)
Quoted 9 lines
Stack: c0304c80 d0e9f2cc 00000000 cd0ebf68 ceda8224 c0000000 fffffffc 00000010
00000000 fffffff4 c0342cb8 cd0ea000 d08a60ce d0e9f2cc 0000002c 00000080
00000000 00000000 00000000 c0342cd0 d0ea1100 c01321fb c03df5e4 00000001
Call Trace:
[<d08a60ce>] uhci_hcd_init+0xce/0x130 [uhci_hcd]
[<c01321fb>] sys_init_module+0x12e/0x24b
[<c01092c9>] sysenter_past_esp+0x52/0x71
Code: 0f 0b 22 05 c2 44 30 c0 8b 0b e9 76 ff ff ff 8b 47 34 c7 04Stupid question... Have you tried with the latest -mm patch against kernel 2.6.5-rc1 from Andrew Morton? It does include the latest bits from the USB BK repository, AFAIK. For me, the -mm tree solved some USB bugs I have been experiencing when resuming from APM suspension with the USB UHCI host.
Quoted 4 lines · Lukas Hejtmanek
Hello,
with 2.6.4 if I do rmmod
uhci_hcdand then modprobeuhci_hcdwhile running X server with USB mouse connected to UHCI USB I got:
Try sending this to the linux-usb-devel mailing list and CC the uhci driver maintainer.
thanks,
greg k-h