DWL-520 Ver E1. testing

mrcool at stupidgamerz.com mrcool
Wed Dec 31 09:39:54 PST 2003


First, thanks all for your work on the newer (firmwareless) cards.  I have
sucessfully made both a DWL 520 (pci card) and the DWL 650 (pcmcia) cards to
work, using the latest CVS and SuSE 8.2, and SuSE 9.0 distros.  Yesterday i
had to make that change to prism2_srec.c for the PCI card.  but today's
(12/31) CVS doesnt even have that line it anymore, (but i dont think that is
a problem).  

Im trying to make the DWL520 PCI card work in a wisp-dist.  kernel 2-4-20. 
Being wisp-dist, everything is done "the hard way" (by that i mean i have to
manually load all created drivers, and NOT from the default location, so a
typical insmod is : "insmod /drivers/hostap.o" this works fine, without the
".o" it tries from the default location (and gets the "wrong" driver), none
of this should really be a problem, and hasnt been in the past...anyway...

The drivers are cross-compiled on a SuSE 8.0 system, that i have been using
for some time, and i havent had any problems before... SO... here is what
happens... (and my sequence)

wisprouter: -root-
# insmod /drivers/hostap.o
Using /drivers/hostap.o

wisprouter: -root-
# insmod /drivers/hostap_crypt_wep.o
Using /drivers/hostap_crypt_wep.o

wisprouter: -root-
# insmod /drivers/hostap_pci.o      
Using /drivers/hostap_pci.o
insmod: init_module: hostap_pci: No such device

wisprouter: -root-
# insmod /drivers/hostap_pci.o no_primary=1
Using /drivers/hostap_pci.o

wisprouter: -root-
# prism2_srec -gs wlan0 /drivers/firmware/pm010102.hex
srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)


Verifying update compatibility and combining data:
Plugging PDR 0400 (NIC configuration): ram16=1 pci=1 (07 00)
OK.

Downloading to volatile memory (RAM).
OK.

wisprouter: -root-
# prism2_srec -gip wlan0 /drivers/firmware/pm010102.hex
srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)

<<<here is where a problem becomes evident>>>

Missing wlan component info
Could not read wlan RIDs

wisprouter: -root-
# prism2_srec -rp wlan0 /drivers/firmware/rf010704.hex 
srec summary for rf010704.hex
Included file name: RF010704.HEX
Component: 0x001f 1.7.4 (station firmware)

Missing wlan component info
Could not read wlan RIDs

wisprouter: -root-
# 


AND the DMESG

hostap_crypt: registered algorithm 'NULL'
hostap_crypt: registered algorithm 'WEP'
hostap_pci: CVS 12/31/03 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_pci: Registered netdevice wifi0
wifi0: Original COR value: 0x0
wifi0: COR sreset timeout
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0xa115
hostap_pci: first command failed - is the card compatible?
hostap_pci: hardware initialization failed
hostap_pci: No devices found, driver not installed.
hostap_pci: CVS 12/31/03 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_pci: Registered netdevice wifi0
wifi0: Original COR value: 0x15
wifi0: COR sreset timeout
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0xa115
hostap_pci: first command failed - is the card compatible?
hostap_pci: no_primary set - ignoring init failure
hostap_pci: assuming no Primary image in flash - card initialization not
completed
wifi0: test Genesis mode with HCR 0x1f
wifi0: Original COR value: 0x15
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=0xff1ff000, irq=11
wifi0: registered netdevice wlan0

wisprouter: -root-
# 



SuSE 8.2 is 2.4.20-4GB so i know the 2.4.20 kernel is supported (I have made
the pcmcia card work on this distro) and have made the PCI card work on the
SuSE90 dist.  The problem seems to be on the second prism2_srec with the
primary firmware, and ONLY on this wisp-dist (for me anyways).  

Thanks for everything guys.

Jerryf





More information about the Hostap mailing list