loading hostap on boot
Marcos Schonfeld
mschonfeld
Thu May 6 11:28:47 PDT 2004
Hi, I'm having problems with the dwl520E.
I load the module hostap_pci, download the firmware files, and then ifconfig
wlan0 up.
Some times I can't download the firmware, so I reboot the PC and some times
all wokrs fine, but when I halt the PC, in the next boot the problems
appears again.
In some cases I have to boot WinXP (yes, I have a winxp partition) to get
the card works fine, so then I boot linux and all works fine again.
I imagine you are laugh at my case, but it's true. I suppose that the winxp
driver reinitializes the card so then I can run hostap on linux.
Has anybody get into these sort of truble?
Has anybody a solution for my case?
dmesg:
hostap_crypt: registered algorithm 'NULL'
hostap_pci: 0.2.0 - 2004-02-15 (Jouni Malinen <jkmaline at cc.hut.fi>)
PCI: Found IRQ 11 for device 00:0d.0
PCI: Sharing IRQ 11 with 01:00.0
hostap_pci: Registered netdevice wifi0
wifi0: Original COR value: 0x0
wifi0: COR sreset timeout
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0x8c80
hostap_pci: first command failed - assuming card does not have primary
firmware
hostap_pci: assuming no Primary image in flash - card initialization not
completed
wifi0: test Genesis mode with HCR 0x1f
wifi0: Original COR value: 0x80
wifi0: COR sreset timeout
Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 ce a1 ce
wifi0: test Genesis mode with HCR 0x0f
wifi0: Original COR value: 0xa1
wifi0: COR sreset timeout
Readback test succeeded, HCR 0x0f
wifi0: Intersil Prism2.5 PCI: mem=0xf3000000, irq=11
wifi0: registered netdevice wlan0
prism2_download: dl_cmd=4 start_addr=0x003f0000 num_areas=3
wifi0: test Genesis mode with HCR 0x0f
wifi0: Original COR value: 0x0
wifi0: COR sreset timeout
Readback test succeeded, HCR 0x0f
prism2_hw_init: initialized in 0 ms
wifi0: valid PDA not found
wifi0: NIC: id=0x8000 v0.0.1
wifi0: PRI: id=0x15 v1.1.2
Could not get RID for component STA
wifi0: Failed to read STA f/w version - only Primary f/w present
wlan0: CMD=0x0001 => res=0x7f, resp0=0x0001
wlan0: MAC port 0 enabling failed
wlan0: could not enable MAC port
wifi0: Original COR value: 0x1
# hostap_fw_load wlan0
Downloading secondary (station) firmware /etc/firmware/rf010704.hex
srec summary for rf010704.hex
Included file name: RF010704.HEX
Component: 0x001f 1.7.4 (station firmware)
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
STAID not available (maybe running PRI-only)
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
Could not read wlan PDA. This requires PRISM2_DOWNLOAD_SUPPORT definition in
driver/module/hostap_config.h.
More information about the Hostap
mailing list