beginner with d-link dwl 520 rev e

dunk2000 at eircom.net dunk2000
Tue Feb 24 15:56:51 PST 2004


excuse me if i'm missing something but im new to this....

i have been trying to install a d-link dwl 520 rev e for the last week.
i have it at a stage where the drivers appear to install ok but when i try to upload the firmware i get the problems. loading pm010102.hex the first time goes ok:

[root at carputer root]# prism2_srec -gs /tmp/wireles_rpms/firm/primary/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.


it's after that that troubble starts:
[root at carputer root]# prism2_srec -gpi wlan0 /tmp/wireles_rpms/firm/primary/pm010102.hex
srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary 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.


now PRISM2_DOWNLOAD_SUPPORT is definatley enabled.
i've been searching all week for an answer to this but no luck. anyone got the answer?
i first suspected it's the wrong firmwere image but i've tried all i can find.

[root at carputer root]# ifconfig -a

[snip]

wifi0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Memory:de923000-de924000

wlan0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Memory:de923000-de924000


[root at carputer root]# dmesg
[snip]
hostap_pci: CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
divert: not allocating divert_blk for non-ethernet device wifi0
hostap_pci: Registered netdevice wifi0
wifi0: Original COR value: 0x1
hostap_pci: assuming no Primary image in flash - card initialization not completed
wifi0: test Genesis mode with HCR 0x1f
wifi0: Original COR value: 0x1
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
Readback test succeeded, HCR 0x0f
wifi0: Intersil Prism2.5 PCI: mem=0xde003000, irq=10
divert: allocating divert_blk for wlan0
wifi0: registered netdevice wlan0
wlan0: cannot get RID fdc6 (len=12) - no PRI f/w
wlan0: cannot get RID fdc6 (len=12) - no PRI f/w
wlan0: cannot get RID fdc1 (len=2) - no PRI f/w
wlan0: cannot get RID fc06 (len=2) - no PRI f/w
wlan0: cannot get RID fd42 (len=6) - no PRI f/w
wlan0: cannot get RID fc0e (len=34) - no PRI f/w
wlan0: cannot get RID fc84 (len=2) - no PRI f/w
wlan0: cannot get RID fc83 (len=2) - no PRI f/w
wlan0: cannot get RID fc82 (len=2) - no PRI f/w
wlan0: cannot get RID fc09 (len=2) - no PRI f/w
wlan0: cannot get RID fd48 (len=2) - no PRI f/w
wifi0: cannot get RID fc28 (len=2) - no PRI f/w
Could not read current WEP flags.
wifi0: encryption setup failed
wlan0: set_encryption failed
wlan0: Host AP mode does not support 'Any' essid
ip_tables: (C) 2000-2002 Netfilter core team
wlan0: could not set interface UP - no PRI f/w
wlan0 unsupported ioctl(0x8947)
wlan0: could not set interface UP - no PRI f/w
wlan0: could not set interface UP - no PRI f/w
prism2_download: dl_cmd=4 start_addr=0x003f0000 num_areas=3
wifi0: test Genesis mode with HCR 0x0f
wifi0: Original COR value: 0x0
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


if i can provide any more info, just ask...

cheers,

dunk.




More information about the Hostap mailing list