2001-12-19 20:06:30

by Flavio Stanchina

[permalink] [raw]
Subject: 2.4.17-rc2 oopses when unloading hid.o

Please CC me, I'm currently not on the list due to lack of time.

I've got two oopses when I unloaded the drivers/usb/hid.o module
('rmmod hid'). Here's the first:

Dec 19 20:28:50 athlon kernel: invalid operand: 0000
Dec 19 20:28:50 athlon kernel: CPU: 0
Dec 19 20:28:50 athlon kernel: EIP: 0010:[devfs_put+48/224] Tainted: PF
Dec 19 20:28:50 athlon kernel: EFLAGS: 00010282
Dec 19 20:28:50 athlon kernel: eax: 0000000d ebx: dd74b5c0 ecx: dd840000 edx: 00000001
Dec 19 20:28:50 athlon kernel: esi: 00000030 edi: 00000000 ebp: dffa1800 esp: df9bbf2c
Dec 19 20:28:50 athlon kernel: ds: 0018 es: 0018 ss: 0018
Dec 19 20:28:50 athlon kernel: Process devfsd (pid: 81, stackpage=df9bb000)
Dec 19 20:28:50 athlon kernel: Stack: c0296f85 c0296f60 c0296f40 dd74b5c0 dd9456c0 c0168a43 dd74b5c0 dfbfe4c0
Dec 19 20:28:50 athlon kernel: ffffffea 00000000 00000420 c02e01e0 df68b2c0 dd74b5c0 00000030 00000000
Dec 19 20:28:50 athlon kernel: 000003f0 00000000 00000000 00000001 00000000 df9ba000 00000000 00000000
Dec 19 20:28:50 athlon kernel: Call Trace: [devfsd_read+819/944] [sys_read+150/208] [system_call+51/56]
Dec 19 20:28:50 athlon kernel: Code: 0f 0b 83 c4 10 ff 4b 04 0f 94 c0 84 c0 0f 84 92 00 00 00 3b
Using defaults from ksymoops -t elf32-i386 -a i386

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
0: 0f 0b ud2a
Code; 00000002 Before first symbol
2: 83 c4 10 add $0x10,%esp
Code; 00000004 Before first symbol
5: ff 4b 04 decl 0x4(%ebx)
Code; 00000008 Before first symbol
8: 0f 94 c0 sete %al
Code; 0000000a Before first symbol
b: 84 c0 test %al,%al
Code; 0000000c Before first symbol
d: 0f 84 92 00 00 00 je a5 <_EIP+0xa5> 000000a4 Before first symbol
Code; 00000012 Before first symbol
13: 3b 00 cmp (%eax),%eax

This was a few minutes later, after a reboot:

Dec 19 20:47:29 athlon kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000004
Dec 19 20:47:29 athlon kernel: c022c9dd
Dec 19 20:47:29 athlon kernel: *pde = 00000000
Dec 19 20:47:29 athlon kernel: Oops: 0002
Dec 19 20:47:29 athlon kernel: CPU: 0
Dec 19 20:47:29 athlon kernel: EIP: 0010:[usb_deregister+61/144] Not tainted
Dec 19 20:47:29 athlon kernel: EFLAGS: 00010216
Dec 19 20:47:29 athlon kernel: eax: 00000000 ebx: e0aff000 ecx: d8a2e000 edx: 00000000
Dec 19 20:47:29 athlon kernel: esi: e0b03b20 edi: e0aff000 ebp: bfffea4c esp: d8a2ff78
Dec 19 20:47:29 athlon kernel: ds: 0018 es: 0018 ss: 0018
Dec 19 20:47:29 athlon kernel: Process rmmod (pid: 1158, stackpage=d8a2f000)
Dec 19 20:47:29 athlon kernel: Stack: e0aff000 fffffff0 e0aff000 e0b02fc5 e0b03b20 de6f86c0 e0b00dc5 c0116da7
Dec 19 20:47:29 athlon kernel: e0aff000 fffffff0 d865a000 bfffea4c c0116137 e0aff000 00000000 d8a2e000
Dec 19 20:47:29 athlon kernel: 00000001 bfffea4c c0106c4b bffffbe8 bffffaf4 bfffea4c 00000001 bfffea4c
Dec 19 20:47:29 athlon kernel: Call Trace: [hid:hiddev_exit+21/368] [hid:hid_blacklist+588/652] [hid:hid_init_reports+1509/4160] [free_module+23/160] [sys_delete_module+247/448]
Dec 19 20:47:29 athlon kernel: Code: 89 50 04 89 02 b9 c0 30 36 c0 ff 0d c0 30 36 c0 0f 88 83 8b

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
0: 89 50 04 mov %edx,0x4(%eax)
Code; 00000002 Before first symbol
3: 89 02 mov %eax,(%edx)
Code; 00000004 Before first symbol
5: b9 c0 30 36 c0 mov $0xc03630c0,%ecx
Code; 0000000a Before first symbol
a: ff 0d c0 30 36 c0 decl 0xc03630c0
Code; 00000010 Before first symbol
10: 0f 88 83 8b 00 00 js 8b99 <_EIP+0x8b99> 00008b98 Before first symbol

Configuration is attached. Relevant things:
devfs, usb-uhci + usb core built-in, hid as a module.

--
Ciao,
Flavio Stanchina
Trento - Italy

"The best defense against logic is ignorance."
http://spazioweb.inwind.it/fstanchina/


Attachments:
config (3.96 kB)

2001-12-19 20:22:31

by Dave Jones

[permalink] [raw]
Subject: Re: 2.4.17-rc2 oopses when unloading hid.o

On Wed, 19 Dec 2001, Flavio Stanchina wrote:

> EIP: 0010:[devfs_put+48/224] Tainted: PF
^^^^^^^^^^^
...
> Configuration is attached. Relevant things:
> devfs, usb-uhci + usb core built-in, hid as a module.

And what proprietory modules were loaded ?
Can you repeat the problem without them?

Dave.

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2001-12-19 20:48:43

by Flavio Stanchina

[permalink] [raw]
Subject: Re: 2.4.17-rc2 oopses when unloading hid.o

On Wednesday 19 December 2001 21:19, Dave Jones wrote:

> And what proprietory modules were loaded ?
> Can you repeat the problem without them?

They were the VMware Workstation 3.0.0 modules. Sorry, I forgot to mention
because I had already unloaded them for unrelated reasons.

The second oops I reported is from a clean kernel IIRC, however I can
reproduce the same oopses even without tainting modules.

--
Ciao,
Flavio Stanchina
Trento - Italy

"The best defense against logic is ignorance."
http://spazioweb.inwind.it/fstanchina/

2001-12-19 21:46:01

by Greg KH

[permalink] [raw]
Subject: Re: 2.4.17-rc2 oopses when unloading hid.o

On Wed, Dec 19, 2001 at 09:06:05PM +0100, Flavio Stanchina wrote:
> Please CC me, I'm currently not on the list due to lack of time.
>
> I've got two oopses when I unloaded the drivers/usb/hid.o module
> ('rmmod hid'). Here's the first:

Can you run them through ksymoops for us?

thanks,

greg k-h