I have been getting kernel oopses with all recent 2.5.x kernels, since at
least 2.5.7pre series, possibly before. I normally use modules usb-uhci and
acm, but started getting lockups when trying to access modem. Playing around
with these modules, I find that usb-uhci will oops after being loaded and
unloaded 2-3 times, especially if acm is loaded/unloaded with it ( sometimes
the oops occurs during loading, but usually during rmmod ). Using module
uhci, I find that it will oops always when unloaded, but this may be separate
issue ( usb-uhci usually worked better for me in the past ).
There is no problem with 2.4.x kernels
Below are 3 ksymoops outputs from recent kernels .
Also, I have noticed that acm now produces the following line in logs when
loading:
usb.c: acm driver booted acm off interface cec0da00
I will be happy to provide further details, try patches etc. if anyone feels
like pursuing this.
Thank you,
John Kinsella
ksymoops 2.4.5 on i686 2.5.8-1. Options used
-v /root/linux-2.5.8/vmlinux (specified)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.5.8-1/ (default)
-m /boot/System.map-2.5.8-1 (specified)
Apr 21 22:26:30 TBird kernel: Unable to handle kernel paging request at
virtual address 62737533
Apr 21 22:26:30 TBird kernel: c018f8c5
Apr 21 22:26:30 TBird kernel: *pde = 00000000
Apr 21 22:26:30 TBird kernel: Oops: 0002
Apr 21 22:26:30 TBird kernel: CPU: 0
Apr 21 22:26:30 TBird kernel: EIP: 0010:[device_register+149/240] Not
tainted
Apr 21 22:26:30 TBird kernel: EIP: 0010:[<c018f8c5>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
Apr 21 22:26:30 TBird kernel: EFLAGS: 00010282
Apr 21 22:26:30 TBird kernel: eax: 6273752f ebx: cedba2d0 ecx: cedba0d0
edx: cedba2d8
Apr 21 22:26:30 TBird kernel: esi: cedba200 edi: cedba344 ebp: cf1b2e00
esp: ceff9e2c
Apr 21 22:26:30 TBird kernel: ds: 0018 es: 0018 ss: 0018
Apr 21 22:26:30 TBird kernel: Stack: cedba200 cedba344 c01cf1e6 cedba2d0
000000c0 cff52680 cf1b2e00 00000002
Apr 21 22:26:30 TBird kernel: cedba200 c0235a78 c01d1bd9 cedba200
cedba200 cff52680 00000002 d3865b69
Apr 21 22:26:30 TBird kernel: cedba200 cff39c48 cedba200 cff52680
d38667e0 d3865db0 cff52680 cff39c00
Apr 21 22:26:30 TBird kernel: Call Trace: [usb_new_device+518/560]
[usb_register_root_hub+57/96] [<d3865b69>] [<d38667e0>] [<d3865db0>]
Apr 21 22:26:30 TBird kernel: Call Trace: [<c01cf1e6>] [<c01d1bd9>]
[<d3865b69>] [<d38667e0>] [<d3865db0>]
Apr 21 22:26:30 TBird kernel: [<d3865e77>] [<d3866bc0>] [<d3867400>]
[pci_announce_device+52/80] [<d3866bc0>] [<d3867400>]
Apr 21 22:26:30 TBird kernel: [<d3865e77>] [<d3866bc0>] [<d3867400>]
[<c01b9024>] [<d3866bc0>] [<d3867400>]
Apr 21 22:26:30 TBird kernel: [<c01b9082>] [<d3867400>] [<d3865f00>]
[<d3867400>] [<c01170e5>] [<d3862060>]
Apr 21 22:26:30 TBird kernel: [<c0106f27>]
Apr 21 22:26:30 TBird kernel: Code: 89 58 04 89 03 89 4b 04 89 19 8b 43 18 83
c0 10 8b 48 04 89
>>EIP; c018f8c5 <device_register+95/f0> <=====
>>eax; 6273752f Before first symbol
>>ebx; cedba2d0 <_end+eaeecec/1353ea1c>
>>ecx; cedba0d0 <_end+eaeeaec/1353ea1c>
>>edx; cedba2d8 <_end+eaeecf4/1353ea1c>
>>esi; cedba200 <_end+eaeec1c/1353ea1c>
>>edi; cedba344 <_end+eaeed60/1353ea1c>
>>ebp; cf1b2e00 <_end+eee781c/1353ea1c>
>>esp; ceff9e2c <_end+ed2e848/1353ea1c>
Trace; c01cf1e6 <usb_new_device+206/230>
Trace; c01d1bd9 <usb_register_root_hub+39/60>
Trace; d3865b69 <[usb-uhci]uhci_start_usb+39/60>
Trace; d38667e0 <[usb-uhci].text.end+851/be1>
Trace; d3865db0 <[usb-uhci]alloc_uhci+200/230>
Trace; d3865e77 <[usb-uhci]uhci_pci_probe+97/c0>
Trace; d3866bc0 <[usb-uhci]uhci_pci_ids+0/38>
Trace; d3867400 <[usb-uhci]uhci_pci_driver+0/3f>
Trace; d3865e77 <[usb-uhci]uhci_pci_probe+97/c0>
Trace; d3866bc0 <[usb-uhci]uhci_pci_ids+0/38>
Trace; d3867400 <[usb-uhci]uhci_pci_driver+0/3f>
Trace; c01b9024 <pci_announce_device+34/50>
Trace; d3866bc0 <[usb-uhci]uhci_pci_ids+0/38>
Trace; d3867400 <[usb-uhci]uhci_pci_driver+0/3f>
Trace; c01b9082 <pci_register_driver+42/60>
Trace; d3867400 <[usb-uhci]uhci_pci_driver+0/3f>
Trace; d3865f00 <[usb-uhci]uhci_hcd_init+60/c0>
Trace; d3867400 <[usb-uhci]uhci_pci_driver+0/3f>
Trace; c01170e5 <sys_init_module+525/5e0>
Trace; d3862060 <[usb-uhci]uhci_show_qh+0/40>
Trace; c0106f27 <syscall_call+7/b>
Code; c018f8c5 <device_register+95/f0>
00000000 <_EIP>:
Code; c018f8c5 <device_register+95/f0> <=====
0: 89 58 04 mov %ebx,0x4(%eax) <=====
Code; c018f8c8 <device_register+98/f0>
3: 89 03 mov %eax,(%ebx)
Code; c018f8ca <device_register+9a/f0>
5: 89 4b 04 mov %ecx,0x4(%ebx)
Code; c018f8cd <device_register+9d/f0>
8: 89 19 mov %ebx,(%ecx)
Code; c018f8cf <device_register+9f/f0>
a: 8b 43 18 mov 0x18(%ebx),%eax
Code; c018f8d2 <device_register+a2/f0>
d: 83 c0 10 add $0x10,%eax
Code; c018f8d5 <device_register+a5/f0>
10: 8b 48 04 mov 0x4(%eax),%ecx
Code; c018f8d8 <device_register+a8/f0>
13: 89 00 mov %eax,(%eax)
ksymoops 2.4.4 on i686 2.5.8-dj1. Options used
-v /home/compo/linux-2.5/vmlinux (specified)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.5.8-dj1/ (default)
-m /boot/System.map-2.5.8-dj1 (specified)
Apr 21 19:38:22 TBird kernel: Unable to handle kernel paging request at
virtual address 303d545f
Apr 21 19:38:22 TBird kernel: d4897a8e
Apr 21 19:38:22 TBird kernel: *pde = 00000000
Apr 21 19:38:22 TBird kernel: Oops: 0000
Apr 21 19:38:22 TBird kernel: CPU: 0
Apr 21 19:38:22 TBird kernel: EIP: 0010:[<d4897a8e>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
Apr 21 19:38:22 TBird kernel: EFLAGS: 00010286
Apr 21 19:38:22 TBird kernel: eax: 303d5443 ebx: cff52680 ecx: c1383ec0
edx: cf2c9000
Apr 21 19:38:22 TBird kernel: esi: d48987a0 edi: 00000002 ebp: cf24c6c0
esp: ced4fe74
Apr 21 19:38:22 TBird kernel: ds: 0018 es: 0018 ss: 0018
Apr 21 19:38:22 TBird kernel: Stack: cf2c9000 cff52480 d48987a0 d4897dbf
cff52480 cff52480 d4897dcf cff39c00
Apr 21 19:38:22 TBird kernel: 00000037 00000002 0000d400 00000020
cff39c00 00000000 d4897e87 cff39c00
Apr 21 19:38:22 TBird kernel: 00000007 0000d400 00000020 cff39c00
000000c0 00000000 d4898b80 d48993c0
Apr 21 19:38:22 TBird kernel: Call Trace: [<d48987a0>] [<d4897dbf>]
[<d4897dcf>] [<d4897e87>] [<d4898b80>]
Apr 21 19:38:22 TBird kernel: [<d48993c0>] [pci_announce_device+52/80]
[<d4898b80>] [<d48993c0>] [pci_register_driver+66/96] [<d48993c0>]
Apr 21 19:38:22 TBird kernel: [<d48993c0>] [<c01baf64>] [<d4898b80>]
[<d48993c0>] [<c01bafc2>] [<d48993c0>]
Apr 21 19:38:22 TBird kernel: [<d4897f10>] [<d48993c0>]
[sys_init_module+1317/1504] [<d48990f8>] [<d4894060>] [syscall_call+7/11]
Apr 21 19:38:22 TBird kernel: [<d4897f10>] [<d48993c0>] [<c0118dc5>]
[<d48990f8>] [<d4894060>] [<c0106ef7>]
Apr 21 19:38:22 TBird kernel: Code: 8b 40 1c 89 04 24 c7 43 10 00 00 00 00 8b
04 24 85 c0 74 09
>>EIP; d4897a8e <[usb-uhci]uhci_pci_remove+e/c0> <=====
Trace; d48987a0 <[usb-uhci].text.end+801/b91>
Trace; d4897dbf <[usb-uhci]alloc_uhci+1ff/230>
Trace; d4897dcf <[usb-uhci]alloc_uhci+20f/230>
Trace; d4897e87 <[usb-uhci]uhci_pci_probe+97/c0>
Trace; d4898b80 <[usb-uhci]uhci_pci_ids+0/38>
Trace; d48993c0 <[usb-uhci]uhci_pci_driver+0/3f>
Trace; d48993c0 <[usb-uhci]uhci_pci_driver+0/3f>
Trace; c01baf64 <pci_announce_device+34/50>
Trace; d4898b80 <[usb-uhci]uhci_pci_ids+0/38>
Trace; d48993c0 <[usb-uhci]uhci_pci_driver+0/3f>
Trace; c01bafc2 <pci_register_driver+42/60>
Trace; d48993c0 <[usb-uhci]uhci_pci_driver+0/3f>
Trace; d4897f10 <[usb-uhci]uhci_hcd_init+60/c0>
Trace; d48993c0 <[usb-uhci]uhci_pci_driver+0/3f>
Trace; d4897f10 <[usb-uhci]uhci_hcd_init+60/c0>
Trace; d48993c0 <[usb-uhci]uhci_pci_driver+0/3f>
Trace; c0118dc5 <sys_init_module+525/5e0>
Trace; d48990f8 <[usb-uhci].rodata.end+539/7a1>
Trace; d4894060 <[usb-uhci]uhci_show_qh+0/40>
Trace; c0106ef7 <syscall_call+7/b>
Code; d4897a8e <[usb-uhci]uhci_pci_remove+e/c0>
00000000 <_EIP>:
Code; d4897a8e <[usb-uhci]uhci_pci_remove+e/c0> <=====
0: 8b 40 1c mov 0x1c(%eax),%eax <=====
Code; d4897a91 <[usb-uhci]uhci_pci_remove+11/c0>
3: 89 04 24 mov %eax,(%esp,1)
Code; d4897a94 <[usb-uhci]uhci_pci_remove+14/c0>
6: c7 43 10 00 00 00 00 movl $0x0,0x10(%ebx)
Code; d4897a9b <[usb-uhci]uhci_pci_remove+1b/c0>
d: 8b 04 24 mov (%esp,1),%eax
Code; d4897a9e <[usb-uhci]uhci_pci_remove+1e/c0>
10: 85 c0 test %eax,%eax
Code; d4897aa0 <[usb-uhci]uhci_pci_remove+20/c0>
12: 74 09 je 1d <_EIP+0x1d> d4897aab
<[usb-uhci]uhci_pci_remove+2b/c0>
ksymoops 2.4.4 on i686 2.5.8-dj1. Options used
-v /home/compo/linux-2.5/vmlinux (specified)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.5.8-dj1/ (default)
-m /boot/System.map-2.5.8-dj1 (specified)
Warning (compare_ksyms_lsmod): module uhci is in lsmod but not in ksyms,
probably no symbols exported
Apr 21 19:17:17 TBird kernel: kernel BUG at usb.c:849!
Apr 21 19:17:17 TBird kernel: invalid operand: 0000
Apr 21 19:17:17 TBird kernel: CPU: 0
Apr 21 19:17:17 TBird kernel: EIP: 0010:[<d4884cf6>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
Apr 21 19:17:17 TBird kernel: EFLAGS: 00010246
Apr 21 19:17:17 TBird kernel: eax: 00000000 ebx: cf2c8200 ecx: cff389a8
edx: cf2c8354
Apr 21 19:17:17 TBird kernel: esi: d4899fa0 edi: 00000000 ebp: ce9c8000
esp: cef73f6c
Apr 21 19:17:17 TBird kernel: ds: 0018 es: 0018 ss: 0018
Apr 21 19:17:17 TBird kernel: Stack: cff52680 d489885b cf2c8200 cff39c00
c01bb00f cff39c00 d4894000 00000000
Apr 21 19:17:17 TBird kernel: d48989da d4899fa0 c0119ace d4894000
00000000 fffffff0 c0118fa7 d4894000
Apr 21 19:17:17 TBird kernel: 00000000 cef72000 bffffadb 00000001
bfffe908 c0106ef7 bffffadb 0805f808
Apr 21 19:17:17 TBird kernel: Call Trace: [<d489885b>]
[pci_unregister_driver+47/80] [<d48989da>] [<d4899fa0>] [free_module+30/176]
Apr 21 19:17:17 TBird kernel: Call Trace: [<d489885b>] [<c01bb00f>]
[<d48989da>] [<d4899fa0>] [<c0119ace>]
Apr 21 19:17:17 TBird kernel: [<c0118fa7>] [<c0106ef7>]
Apr 21 19:17:17 TBird kernel: Code: 0f 0b 51 03 b0 0c 89 d4 8b 83 cc 00 00 00
8b 40 18 53 ff 50
>>EIP; d4884cf6 <[usbcore]usb_free_dev+26/60> <=====
Trace; d489885b <[usbcore].bss.end+6508/8cad>
Trace; d489885b <[usbcore].bss.end+6508/8cad>
Trace; c01bb00f <pci_unregister_driver+2f/50>
Trace; d48989da <[usbcore].bss.end+6687/8cad>
Trace; d4899fa0 <[usbcore].bss.end+7c4d/8cad>
Trace; c0119ace <free_module+1e/b0>
Trace; c0118fa7 <sys_delete_module+107/1e0>
Trace; c0106ef7 <syscall_call+7/b>
Code; d4884cf6 <[usbcore]usb_free_dev+26/60>
00000000 <_EIP>:
Code; d4884cf6 <[usbcore]usb_free_dev+26/60> <=====
0: 0f 0b ud2a <=====
Code; d4884cf8 <[usbcore]usb_free_dev+28/60>
2: 51 push %ecx
Code; d4884cf9 <[usbcore]usb_free_dev+29/60>
3: 03 b0 0c 89 d4 8b add 0x8bd4890c(%eax),%esi
Code; d4884cff <[usbcore]usb_free_dev+2f/60>
9: 83 cc 00 or $0x0,%esp
Code; d4884d02 <[usbcore]usb_free_dev+32/60>
c: 00 00 add %al,(%eax)
Code; d4884d04 <[usbcore]usb_free_dev+34/60>
e: 8b 40 18 mov 0x18(%eax),%eax
Code; d4884d07 <[usbcore]usb_free_dev+37/60>
11: 53 push %ebx
Code; d4884d08 <[usbcore]usb_free_dev+38/60>
12: ff 50 00 call *0x0(%eax)
1 warning issued. Results may not be reliable.
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 2
P: Vendor=05cc ProdID=2265 Rev= 1.00
S: Manufacturer=Lucent Technologies, Inc.
S: Product=ELSA Modem Board
C: #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=400mA
I: If#= 0 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=02(O) Atr=02(Bulk) MxPS= 16 Ivl=0ms
E: Ad=84(I) Atr=03(Int.) MxPS= 63 Ivl=2ms
C:* #Ifs= 2 Cfg#= 2 Atr=a0 MxPwr=400mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=acm
E: Ad=84(I) Atr=03(Int.) MxPS= 32 Ivl=128ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=01 Driver=acm
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=86(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel