Bug 586 - Kernel Oops when unloading ipw2200 1.0.1
: Kernel Oops when unloading ipw2200 1.0.1
Status: VERIFIED FIXED
: IPW2200
Driver Load
: 1.0.1
: All Debian
: P2 major
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-02-21 02:48 by
Modified: 2005-10-06 16:28 (History)


Attachments
protect crypt_deinit_entries w/ spin_lock_irqsave (1.26 KB, patch)
2005-03-09 19:01, Zhu Yi
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-02-21 02:48:53
When using "modprobe -r" to unload the ipw2200 1.0.1 (which strangely does not
work for me) I get the following kernel Oops, followed by modprobe segfaulting.

Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
e08f8019
*pde = 00000000
Oops: 0000 [#1]
PREEMPT DEBUG_PAGEALLOC
Modules linked in: ipw2200 ieee80211 sd_mod scsi_mod pcmcia thermal button arc4
ieee80211_crypt_wep yenta_socket pcmcia_core usblp usbhid snd_intel8x0
snd_ac97_codec ehci_hcd eth1394 uhci_hcd ieee80211_crypt r8169 crc32 ohci1394
ieee1394 fglrx
CPU:    0
EIP:    0060:[<e08f8019>]    Tainted: P      VLI
EFLAGS: 00010217   (2.6.10)
EIP is at ieee80211_crypt_deinit_entries+0x19/0xb0 [ieee80211_crypt]
eax: df2e6280   ebx: 00000000   ecx: 00000000   edx: 00000cfc
esi: dff2c000   edi: 00000000   ebp: df2e6388   esp: d127bea0
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 3985, threadinfo=d127a000 task=d89de000)
Stack: dff2c000 df2e6490 dff2c000 00000000 df2e6280 e09ae2b7 df2e6280 00000001
       df2e6000 df2e6490 dff2c000 dff2c044 d127a000 e09cd4fc df2e6000 df2e6490
       dff2c000 dff2c044 e09dad28 c020880b dff2c000 dff2c068 c0259076 dff2c044
Call Trace:
 [<e09ae2b7>] free_ieee80211+0x37/0xf0 [ieee80211]
 [<e09cd4fc>] ipw_pci_remove+0xac/0x1b0 [ipw2200]
 [<c020880b>] pci_device_remove+0x3b/0x40
 [<c0259076>] device_release_driver+0x86/0x90
 [<c02590ab>] driver_detach+0x2b/0x40
 [<c02595f1>] bus_remove_driver+0x71/0xc0
 [<c0259c23>] driver_unregister+0x13/0x40
 [<c0208a96>] pci_unregister_driver+0x16/0x30
 [<e09cd7e4>] ipw_exit+0x24/0x28 [ipw2200]
 [<c0144d16>] sys_delete_module+0x156/0x1a0
 [<c0168689>] sys_munmap+0x59/0x80
 [<c0103c19>] sysenter_past_esp+0x52/0x75
Code:  Bad EIP value.

The P taint is due to the presence of the ATi fglrx driver; I can remove it and
try to reproduce if necessary.
------- Comment #1 From 2005-03-09 19:01:26 -------
Created an attachment (id=277) [details]
protect crypt_deinit_entries w/ spin_lock_irqsave

Please see if this patch fix the problem.
------- Comment #2 From 2005-03-10 08:12:55 -------
setting to needsmoredata
------- Comment #3 From 2005-03-23 22:41:40 -------
Test fix is in ipw2200 1.0.2, could you try whether 1.0.2 resolve the problem?
------- Comment #4 From 2005-05-19 04:17:33 -------
Seems no people reporting the bug recently, mark the bug as verified. If 
submitter find the bug again, please reopen it.