-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 19 May 2001, David Brownell wrote:
> > > Can you try the attached "usbcore-0519.patch" ...
> >
> > I couldn't compile with your usbcore patch.
>
> Bogus kernel config, those drivers didn't get rebuilt -- sorry. This
> one should be OK ("dev" --> "usb_dev").
Hi Dave,
Thanks for the update! Now things compile, but the oopses come back
to back :-(. The simplest thing that produces one is the following:
If I start on a clean system (which means no modules are loaded) then
when I type in the commands
insmod usbcore
insmod usb-ohci
rmmod usb-ohci
I get the following oops for the rmmod command:
anders:~/oops/010519# rmmod usb-ohci
Unable to handle kernel NULL pointer dereference at virtual address 00000040
printing eip:
d880e640
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<d880e640>]
EFLAGS: 00010286
eax: 00000000 ebx: d78b6800 ecx: d7ed2800 edx: 00000000
esi: d78fe2c0 edi: d88193bc ebp: 00000010 esp: d75edf14
ds: 0018 es: 0018 ss: 0018
Process rmmod (pid: 245, stackpage=d75ed000)
Stack: d880ec68 00000000 d78b6800 d78b6800 d78b6924 d880fb2e d78b6800 d78b66e4
c166dcc0 d88193bc 00000000 00000018 d78b6800 d880fafb d78b66e4 d7ed2800
d881f760 00000000 bfffecbc 00000018 d78b6600 d881e80e d7ccf4bc d7fe7400
Call Trace: [<d880ec68>] [<d880fb2e>] [<d88193bc>] [<d880fafb>] [<d881f760>]
[<d881e80e>] [<d881ec68>]
[<c017733f>] [<d881b000>] [<d881b000>] [<d881eede>] [<d881f760>] [<c01120bb>]
[<d881b000>] [<c0111557>]
[<d881b000>] [<c0106adf>]
Code: ff 4a 40 0f 94 c0 84 c0 74 09 52 e8 78 56 91 e7 83 c4 04 c3
Segmentation fault
anders:~/oops/010519#
Ksymoops output:
ksymoops 2.3.7 on i686 2.4.4. Options used
-V (default)
-k proc.ksyms (specified)
-l proc.modules (specified)
-o /lib/modules/2.4.4/ (default)
-m /boot/System.map-2.4.4 (specified)
Unable to handle kernel NULL pointer dereference at virtual address 00000040
d880e640
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<d880e640>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010286
eax: 00000000 ebx: d78b6800 ecx: d7ed2800 edx: 00000000
esi: d78fe2c0 edi: d88193bc ebp: 00000010 esp: d75edf14
ds: 0018 es: 0018 ss: 0018
Process rmmod (pid: 245, stackpage=d75ed000)
Stack: d880ec68 00000000 d78b6800 d78b6800 d78b6924 d880fb2e d78b6800 d78b66e4
c166dcc0 d88193bc 00000000 00000018 d78b6800 d880fafb d78b66e4 d7ed2800
d881f760 00000000 bfffecbc 00000018 d78b6600 d881e80e d7ccf4bc d7fe7400
Call Trace: [<d880ec68>] [<d880fb2e>] [<d88193bc>] [<d880fafb>] [<d881f760>]
[<d881e80e>] [<d881ec68>]
[<c017733f>] [<d881b000>] [<d881b000>] [<d881eede>] [<d881f760>] [<c01120bb>]
[<d881b000>] [<c0111557>]
[<d881b000>] [<c0106adf>]
Code: ff 4a 40 0f 94 c0 84 c0 74 09 52 e8 78 56 91 e7 83 c4 04 c3
>>EIP; d880e640 <[usbcore]usb_bus_put+4/18> <=====
Trace; d880ec68 <[usbcore]usb_free_dev+30/3c>
Trace; d880fb2e <[usbcore]usb_disconnect+102/10c>
Trace; d88193bc <[usbcore]hub_driver+1c/40>
Trace; d880fafb <[usbcore]usb_disconnect+cf/10c>
Trace; d881f760 <[usb-ohci]ohci_pci_driver+0/1f>
Trace; d881e80e <[usb-ohci]hc_release_ohci+1a/b4>
Trace; d881ec68 <[usb-ohci]ohci_pci_remove+50/7c>
Trace; c017733f <pci_unregister_driver+33/4c>
Trace; d881b000 <[usb-ohci]__module_kernel_version+0/20>
Trace; d881b000 <[usb-ohci]__module_kernel_version+0/20>
Trace; d881eede <[usb-ohci]ohci_hcd_cleanup+a/d>
Trace; d881f760 <[usb-ohci]ohci_pci_driver+0/1f>
Trace; c01120bb <free_module+1b/a0>
Trace; d881b000 <[usb-ohci]__module_kernel_version+0/20>
Trace; c0111557 <sys_delete_module+103/1c0>
Trace; d881b000 <[usb-ohci]__module_kernel_version+0/20>
Trace; c0106adf <system_call+33/38>
Code; d880e640 <[usbcore]usb_bus_put+4/18>
00000000 <_EIP>:
Code; d880e640 <[usbcore]usb_bus_put+4/18> <=====
0: ff 4a 40 decl 0x40(%edx) <=====
Code; d880e643 <[usbcore]usb_bus_put+7/18>
3: 0f 94 c0 sete %al
Code; d880e646 <[usbcore]usb_bus_put+a/18>
6: 84 c0 testb %al,%al
Code; d880e648 <[usbcore]usb_bus_put+c/18>
8: 74 09 je 13 <_EIP+0x13> d880e653
<[usbcore]usb_bus_put+17/18>
Code; d880e64a <[usbcore]usb_bus_put+e/18>
a: 52 pushl %edx
Code; d880e64b <[usbcore]usb_bus_put+f/18>
b: e8 78 56 91 e7 call e7915688 <_EIP+0xe7915688> c0123cc8
<kfree+0/bc>
Code; d880e650 <[usbcore]usb_bus_put+14/18>
10: 83 c4 04 addl $0x4,%esp
Code; d880e653 <[usbcore]usb_bus_put+17/18>
13: c3 ret
Sincerely, Anders
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (SunOS)
Comment: For info see http://www.gnupg.org
iD8DBQE7B0UkWyfD6jrb5n4RAhchAJ9iMM2fNm66iDbQlIVR7YSH9I6IJwCaA4zQ
DIyStabkQI3XK1RYeyM2R08=
=xhzu
-----END PGP SIGNATURE-----
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel