2.4.17-rc2 oopses when unloading hid.o

From: Flavio Stanchina (flavio.stanchina@tin.it)
Date: Wed Dec 19 2001 - 15:06:05 EST


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/


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:19 EST