Webpage update and 2.6.1 oops

Andrew Barr barr.156
Thu Feb 5 08:46:10 PST 2004

Hello all--

First, some explanation of the .orig question. I authored that web page on a
Windows computer and was using a Windows archive utility (PowerArchiver) to
look inside the .tar.gz files. Evidently, the handling of such archives is
buggy and it only displayed the first directory and one file inside of it.
So all I saw was the firmware file with .orig on it. Not the patched file
and the other two files.

Also, thanks to Pavel for the suggestions. I have changed the page

Finally, and most importantly, I am trying kernel 2.6.1 on my computer. My
card works okay, but the problem I am having comes when I down wlan0 and
remove the drivers. If I remove the cryptography module first
(hostap_crypt_wep) and then remove hostap_pci and hostap, there's trouble.
'rmmod hostap_pci' segfaults (with a kernel oops in the logs) and 'rmmod
hostap' locks up the terminal. The output is below. You will see that rmmod
with a PID of 1335 caused the oops. The rmmod that freezes the terminal has
a PID of 1336, so I am pretty sure that remove hostap_pci is causing the

Now for the interesting part. If I remove hostap_pci _first_, and then
remove hostap_crypt_wep, and hostap, there's no trouble at all. Is this
supposed to be this way or is there a bug here? Could I be doing something

For reference, this is fairly recent CVS (within the past week, I can't put
my finger on the exact date of download), I am using a vanilla kernel 2.6.1
patched with: bootsplash, software suspend, supermount, and ACPI. HostAP was
also integrated into the kernel, but built as modules. This is a Slackware
9.1 system, and module-init-tools is version 3.0-pre9. I am having other
issues related to hotplug and so I have been trying different versions of
that package. Nonetheless, this same behavior occurred with 0.9.14 of
module-init-tools, which comes with Slack 9.1.


P.S. Kernel oops follows:

Unable to handle kernel paging request at virtual address dff4f528
 printing eip:
*pde = 1a7ad067
*pte = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<dff6132a>]    Not tainted
EFLAGS: 00010282
EIP is at prism2_free_local_data+0x3ed/0x442 [hostap_pci]
eax: d5b3c5c0   ebx: d5b3cc40   ecx: d402e000   edx: dff4f520
esi: 00000000   edi: d402e000   ebp: d402feb0   esp: d402fe94
ds: 007b   es: 007b   ss: 0068
Process rmmod (pid: 1335, threadinfo=d402e000 task=d7b22cc0)
Stack: d5b3c5c0 00000001 c03adb80 d3ace2dc dff49000 d3ace000 dee29400
       dff62576 d3ace000 d3ace000 d34f0c80 dee29400 dff68d24 dff68d24
       c01c65d8 dee29400 dee29454 d402fef8 c020f501 dee29454 dee29480
Call Trace:
 [<dff62576>] prism2_pci_remove+0x40/0xa4 [hostap_pci]
 [<c01c65d8>] pci_device_remove+0x3b/0x3d
 [<c020f501>] device_release_driver+0x62/0x64
 [<c020f525>] driver_detach+0x22/0x31
 [<c020f7a2>] bus_remove_driver+0x57/0x8f
 [<c020fb55>] driver_unregister+0x1a/0x44
 [<c01c6774>] pci_unregister_driver+0x17/0x25
 [<dff6277a>] exit_prism2_pci+0x12/0x2b [hostap_pci]
 [<c0131eaf>] sys_delete_module+0x134/0x172
 [<c014f6d0>] sys_munmap+0x57/0x75
 [<c010b267>] syscall_call+0x7/0xb

Code: ff 52 08 e9 07 fe ff ff e8 88 87 1b e0 e9 bc fd ff ff e8 7e

More information about the Hostap mailing list