Kernel Oops with hostap_pci CVS in SMP machine
Santiago Gala
sgala
Thu Apr 17 12:34:01 PDT 2003
Santiago Gala wrote:
> I have been using successfully hostap_pci, with a Micronet card, using
> the following kernel:
>
> 2.4.18.8.1mdk (a Mandrake kernel) on a SMP (dual PentiumIII) machine
> which I use as Wireless node.
>
> I started to have problems with the following release:
>
> 2.4.19.16mdk (a Mandrake kernel).
>
> Now I have upgraded to the latest Mandrake kernel:
>
> 2.4.21.0.13mdk
>
> It gives the attached Oops on startup or hand-loading the hostap_pci
> module:
>
> I'm not an expert in kernel programming. I am willing to test any patch,
> or to check the kernel sources to track the problem, if it is in kernel
> code. The Mandrake kernel is 2.4.20 + pre4 patch + devices and other
> Mandrake patches, in spite of what the release says. I know because I
> have the source RPM and have compiled it myself, with exactly the same
> results.
>
> Any clues?
>
Some clues. It is definitely not a problema of the hostap_pci driver,
but of the Mandrake enterprise kernel (quite possibly in the HIGHMEM
support).
I tried to use orinoco_pci, with exactly the same Oops. Later, I noticed
that I had removed usb-uhci (thinking about interruption problems) and
when I modprobe'd it it gave the same oops.
Being already suspicious about HIGHMEM, I tried the smp kernel (fairly
similar to the enterprise, but without HIGHMEM support). Then it worked
perfectly...
I'm losing about 100K RAM + all the swap, until they fix it. I'm trying
to report it @mandrake (I hate bugzilla!!!), but this post is for Google
to take care of the problem ;-)
Regards,
Santiago
P.S.) Jouni, keep on with your excelent job.
>
> ------------------------------------------------------------------------
>
> ksymoops 2.4.8 on i686 2.4.21-0.13mdkenterprise. Options used
> -V (default)
> -k /proc/ksyms (default)
> -l /proc/modules (default)
> -o /lib/modules/2.4.21-0.13mdkenterprise/ (default)
> -m /boot/System.map-2.4.21-0.13mdkenterprise (default)
>
> Warning: You did not tell me where to find symbol information. I will
> assume that the log matches the kernel and modules that are running
> right now and I'll use the default options above for symbol resolution.
> If the current kernel and/or modules do not match the log, you can get
> more accurate output by telling me the kernel version and where to find
> map, modules, ksyms etc. ksymoops -h explains the options.
>
> Warning (compare_ksyms_lsmod): module ext3 is in lsmod but not in ksyms, probably no symbols exported
> Apr 14 17:31:14 webserver2 kernel: Unable to handle kernel paging request at virtual address f924eee0
> Apr 14 17:31:14 webserver2 kernel: c01fdca9
> Apr 14 17:31:14 webserver2 kernel: *pde = 37eaa067
> Apr 14 17:31:14 webserver2 kernel: Oops: 0002
> Apr 14 17:31:14 webserver2 kernel: CPU: 1
> Apr 14 17:31:14 webserver2 kernel: EIP: 0010:[pci_register_driver+25/112] Not tainted
> Apr 14 17:31:14 webserver2 kernel: EIP: 0010:[<c01fdca9>] Not tainted
> Using defaults from ksymoops -t elf32-i386 -a i386
> Apr 14 17:31:14 webserver2 kernel: EFLAGS: 00010292
> Apr 14 17:31:14 webserver2 kernel: eax: f924eee0 ebx: ffffffea ecx: 00000001 edx: 00000001
> Apr 14 17:31:15 webserver2 kernel: esi: f93013c0 edi: 00000000 ebp: f773def0 esp: f773dedc
> Apr 14 17:31:15 webserver2 kernel: ds: 0018 es: 0018 ss: 0018
> Apr 14 17:31:15 webserver2 kernel: Process insmod (pid: 1204, stackpage=f773d000)
> Apr 14 17:31:15 webserver2 kernel: Stack: f9300264 f773df04 ffffffea 00000001 f92f3000 f773df10 f92fc868 f93013c0
> Apr 14 17:31:15 webserver2 kernel: f92fff4b f92fd860 ffffffea 00000001 f92f3000 f773dfbc c0122065 f92f3060
> Apr 14 17:31:15 webserver2 kernel: 080e4bc0 0000e394 f9300420 f9300414 080f1e78 0000d318 00000060 00000060
> Apr 14 17:31:15 webserver2 kernel: Call Trace:
> Apr 14 17:31:15 webserver2 kernel: [<f9300264>] .rodata.str1.1+0x319/0x34d [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel: [<f92fc868>] init_prism2_pci+0x28/0x60 [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel: [<f93013c0>] prism2_pci_drv_id+0x0/0x28 [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel: [<f92fff4b>] .rodata.str1.1+0x0/0x34d [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel: [<f92fd860>] .rodata.str1.32+0x0/0x26eb [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel: [<c0122065>] sys_init_module+0x575/0x6e0 [kernel]
> Apr 14 17:31:15 webserver2 kernel: [<f92f3060>] hfa384x_from_bap+0x0/0x1b0 [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel: [<f9300420>] __ksymtab+0x0/0x28 [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel: [<f9300414>] .kmodtab+0x0/0xc [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel: [<f92f3060>] hfa384x_from_bap+0x0/0x1b0 [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel: [<c010962f>] system_call+0x33/0x38 [kernel]
> Apr 14 17:31:15 webserver2 kernel: Code: 89 30 8b 1d 68 b7 37 c0 89 35 74 b7 37 c0 89 46 04 81 fb 68
>
>
>
>>>EIP; c01fdca9 <pci_register_driver+19/70> <=====
>
>
>>>eax; f924eee0 <[iptable_mangle].data.end+1409/5589>
>>>esi; f93013c0 <[hostap_pci]prism2_pci_drv_id+0/27>
>>>ebp; f773def0 <_end+372f1ec4/38cb9024>
>>>esp; f773dedc <_end+372f1eb0/38cb9024>
>
>
> Trace; f9300264 <[hostap_pci].text.end+2a22/2a56>
> Trace; f92fc868 <[hostap_pci]init_prism2_pci+28/60>
> Trace; f93013c0 <[hostap_pci]prism2_pci_drv_id+0/27>
> Trace; f92fff4b <[hostap_pci].text.end+2709/2a56>
> Trace; f92fd860 <[hostap_pci].text.end+1e/2a56>
> Trace; c0122065 <sys_init_module+575/6e0>
> Trace; f92f3060 <[hostap_pci]hfa384x_from_bap+0/1b0>
> Trace; f9300420 <[hostap_pci]__module_parm_desc_channel+8/22>
> Trace; f9300414 <[hostap_pci]__module_parm_channel+18/1c>
> Trace; f92f3060 <[hostap_pci]hfa384x_from_bap+0/1b0>
> Trace; c010962f <system_call+33/38>
>
> Code; c01fdca9 <pci_register_driver+19/70>
> 00000000 <_EIP>:
> Code; c01fdca9 <pci_register_driver+19/70> <=====
> 0: 89 30 mov %esi,(%eax) <=====
> Code; c01fdcab <pci_register_driver+1b/70>
> 2: 8b 1d 68 b7 37 c0 mov 0xc037b768,%ebx
> Code; c01fdcb1 <pci_register_driver+21/70>
> 8: 89 35 74 b7 37 c0 mov %esi,0xc037b774
> Code; c01fdcb7 <pci_register_driver+27/70>
> e: 89 46 04 mov %eax,0x4(%esi)
> Code; c01fdcba <pci_register_driver+2a/70>
> 11: 81 fb 68 00 00 00 cmp $0x68,%ebx
>
>
> 2 warnings issued. Results may not be reliable.
--
Santiago Gala
High Sierra Technology, S.L. (http://hisitech.com)
http://memojo.com?page=SantiagoGalaBlog
More information about the Hostap
mailing list