strange problems after upgrading to kernel 2.6.10rc1

Mailingliste listen
Thu Oct 28 18:30:32 PDT 2004


Hello,

after upgrading my hostap-box to a new kernel (gentoo, linux-2.6.10-rc1-
mm1, wich is linux-2.6.10-rc1 with the mm-patchset), i have some
problems with the hostap-driver kernel module.

First, i tried to re-emerge hostap-driver, with the following error:

[...]
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_hw.c:77: warning: `MODULE_PARM_' is
deprecated (decl      ared at include/linux/module.h:562)
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_hw.c:81: warning: `MODULE_PARM_' is
deprecated (decl      ared at include/linux/module.h:562)
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_hw.c:97: warning: `MODULE_PARM_' is
deprecated (decl      ared at include/linux/module.h:562)
  CC [M]  /var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_pci.o
In file included from /var/tmp/portage/hostap-driver-0.2.5/work/hostap-
driver-0.2.5/driver/modules/hostap_pci.c:165:
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_hw.c:61: warning: `MODULE_PARM_' is
deprecated (decl      ared at include/linux/module.h:562)
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_hw.c:65: warning: `MODULE_PARM_' is
deprecated (decl      ared at include/linux/module.h:562)
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_hw.c:69: warning: `MODULE_PARM_' is
deprecated (decl      ared at include/linux/module.h:562)
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_hw.c:73: warning: `MODULE_PARM_' is
deprecated (decl      ared at include/linux/module.h:562)
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_hw.c:77: warning: `MODULE_PARM_' is
deprecated (decl      ared at include/linux/module.h:562)
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_hw.c:81: warning: `MODULE_PARM_' is
deprecated (decl      ared at include/linux/module.h:562)
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_hw.c:97: warning: `MODULE_PARM_' is
deprecated (decl      ared at include/linux/module.h:562)
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_pci.c: In function `prism2_pci_suspend':
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_pci.c:353: error: too many arguments to
function `pc      i_save_state'
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_pci.c: In function `prism2_pci_resume':
/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_pci.c:367: error: too many arguments to
function `pc      i_restore_state'
make[2]: *** [/var/tmp/portage/hostap-driver-0.2.5/work/hostap-driver-
0.2.5/driver/modules/hostap_pci.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/hostap-driver-0.2.5/work/hostap-
driver-0.2.5/driver/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.10-rc1-mm1'
make: *** [2.6] Error 2

!!! ERROR: net-wireless/hostap-driver-0.2.5 failed.


I have got the same error when compiling the source (stable and devel).
Are there any changes in the kernel sources which don't work with the
hostap-driver?

Because i don't need the hostap_pci module, i just commented out some
lines and tried again. Got some warnings about `MODULE_PARM_' again but
have the needed kernel modules now. 

When I modprobe hostap_plx another error occured (doesn't matter which
version):

FATAL: Error inserting hostap_plx (/lib/modules/2.6.10-rc1-
mm1/kernel/drivers/net/wireless/hostap_plx.ko): No such device

dmesg says:


hostap_plx: CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 17 (level, low) -> IRQ 17
PLX9052 PCI/PCMCIA adapter: mem=0xcfff7000, plx_io=0xd000, irq=17,
pccard_io=0xcc00
hostap_plx: CIS: 01 03 00 00 ff 17 ...
hostap_plx: manfid=0x000b, 0x7300
hostap_plx: cor_index=0x1 cor_offset=0x3e0
Prism2/2.5 PC Card detected in PLX9052 adapter
PLX_INTCSR=0x1041
PLX_CNTRL=0x100066d2 (Serial EEPROM present=1)
hostap_plx: Registered netdevice wifi0
prism2_hw_init: initialized in 193 ms
wifi0: NIC: id=0x800c v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.7.4
wifi0: registered netdevice wlan0
hostap_plx: No devices found, driver not installed.
hostap_plx: Doing reset via direct COR access.

The card is present:

lspci -v

0000:00:09.0 Network controller: Netgear 802.11b Wireless Adapter
(MA301) (rev 02)
        Subsystem: Netgear 802.11b Wireless Adapter (MA301)
        Flags: medium devsel, IRQ 17
        I/O ports at d000 [size=128]
        Memory at cfff7000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at cc00 [size=64]





I really don't know what to do. Maybe somebody can help me?


Thanks.

Benjamin Stritter










More information about the Hostap mailing list