From time to time when booting 2.4.21-pre5, the hotplug script for my usb modem seems to be run three times. If I then try to restart the hotplug subsystem, I systematically get an oops:
ehci-hcd 00:10.3: remove state 3 usb.c: USB disconnect on device 00:10.3-0 address 1 usb.c: USB bus 1 deregistered usb.c: USB disconnect on device 00:0a.0-0 address 1 usb.c: USB bus 2 deregistered usb.c: USB disconnect on device 00:10.2-0 address 1 usb.c: USB bus 3 deregistered usb.c: USB disconnect on device 00:10.1-0 address 1 usb.c: USB disconnect on device 00:10.1-2 address 2 usb.c: USB bus 4 deregistered usb.c: USB disconnect on device 00:10.0-0 address 1 usb.c: USB bus 5 deregistered
So five root hubs got removed through the "rmmod" sequence. One of them had a device connected to it at that time.
That one, 00:10.1, would seem to be a UHCI controller, given that 00:10.3 is a VT8235 (VIA), and that we heard from the UHCI controller:
kmem_cache_destroy: Can't free all objects c158ea08 uhci: not all urb_priv's were freed
Not clear why that didn't shut down completely; maybe Johannes knows. I could believe it was related to the way your device enumerated three times ... could be that something didn't get cleaned up properly.
The "oops" below is because the old slab cache didn't get destroyed, so that a new one (with the same name) couldn't get created. (Me, I'd rather see kmem_cache_create just fail rather than BUG out...)
Nothing here seems to implicate the EHCI code.
- Dave
ehci-hcd 00:10.3: VIA Technologies, Inc. USB 2.0 ehci-hcd 00:10.3: irq 21, pci mem e088ef00 usb.c: new USB bus registered, assigned bus number 1 ehci-hcd 00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22 hub.c: USB hub found hub.c: 6 ports detected uhci.c: USB Universal Host Controller Interface driver v1.1
kernel BUG at slab.c:815! invalid operand: 0000 CPU: 0 EIP: 0010:[<c013203d>] Not tainted Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010246 eax: 00000000 ebx: c158ea74 ecx: c158ea00 edx: c158ea6c esi: c158ea66 edi: e089536f ebp: c158ea6c esp: deb55ed0 ds: 0018 es: 0018 ss: 0018 Process modprobe.moduti (pid: 1064, stackpage=deb55000) Stack: 00000000 0000003c 00000000 deb55ee8 c158ea94 fffffffc 00000038 fffffff4 00000000 00000000 e0890000 e0894e15 e0895361 0000003c 00000040 00000000 00000000 00000000 ffffffea c011bef6 e0890060 08084ff0 00006390 00000000 Call Trace: [<e0894e15>] [<e0895361>] [<c011bef6>] [<e0890060>] [<e0890060>] [<c010733f>] Code: 0f 0b 2f 03 fc a5 23 c0 8b 01 89 ca 89 c1 0f 0d 00 81 fa 44
EIP; c013203d <kmem_cache_create+2bd/390> <=====
ebx; c158ea74 <_end+12aca1c/20582028> ecx; c158ea00 <_end+12ac9a8/20582028> edx; c158ea6c <_end+12aca14/20582028> esi; c158ea66 <_end+12aca0e/20582028> edi; e089536f <[uhci].text.end+3f0/11a1> ebp; c158ea6c <_end+12aca14/20582028> esp; deb55ed0 <_end+1e873e78/20582028>
Trace; e0894e15 <[uhci]uhci_hcd_init+b5/140> Trace; e0895361 <[uhci].text.end+3e2/11a1> Trace; c011bef6 <sys_init_module+4d6/620> Trace; e0890060 <[ehci-hcd].data.end+3c79/3c99> Trace; e0890060 <[ehci-hcd].data.end+3c79/3c99> Trace; c010733f <system_call+33/38>
Code; c013203d <kmem_cache_create+2bd/390>
00000000 <_EIP>:
Code; c013203d <kmem_cache_create+2bd/390> <=====
0: 0f 0b ud2a <=====
Code; c013203f <kmem_cache_create+2bf/390>
2: 2f das Code; c0132040 <kmem_cache_create+2c0/390>
3: 03 fc add %esp,%edi
Code; c0132042 <kmem_cache_create+2c2/390>
5: a5 movsl %ds:(%esi),%es:(%edi)
Code; c0132043 <kmem_cache_create+2c3/390>
6: 23 c0 and %eax,%eax
Code; c0132045 <kmem_cache_create+2c5/390>
8: 8b 01 mov (%ecx),%eax
Code; c0132047 <kmem_cache_create+2c7/390>
a: 89 ca mov %ecx,%edx
Code; c0132049 <kmem_cache_create+2c9/390>
c: 89 c1 mov %eax,%ecx
Code; c013204b <kmem_cache_create+2cb/390>
e: 0f 0d 00 prefetch (%eax)
Code; c013204e <kmem_cache_create+2ce/390>
11: 81 fa 44 00 00 00 cmp $0x44,%edx
1 warning issued. Results may not be reliable.
/etc/hotplug/usb.rc: line 373: 1064 Segmentation fault modprobe -q uhci >/dev/null 2>&1 <3>hub.c: port 5 over-current change hub.c: port 6 over-current change
-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel