D-Link DWL 520 Rev. E1 and "wifi0: valid PDA not found" issue

Pawlakus pawlakus
Mon Oct 4 01:36:43 PDT 2004


yep!
i just bought DWL 520 Rev. E1 and its not working at all...
i'm googling for few days and i found nothing :/

Kernel: 2.4.27 with openwall and patch-o-matic and hostap 
	from snapshot

# modprobe hostap_pc
# dmesg | less
hostap_pci: CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
PCI: Found IRQ 10 for device 00:0b.0
hostap_pci: Registered netdevice wifi0
wifi0: Original COR value: 0x0
hostap_pci: assuming no Primary image in flash - card initialization not completed
wifi0: test Genesis mode with HCR 0x1f
wifi0: Original COR value: 0x0
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=0xe3000000, irq=10
wifi0: registered netdevice wlan0

# cat /proc/net/hostap/wlan0/debug
next_txfid=0 next_alloc=0
FID: tx=0000 intransmit=0000
FID: tx=0000 intransmit=0000
FID: tx=0000 intransmit=0000
FID: tx=0000 intransmit=0000
FID: tx=0000 intransmit=0000
FID: tx=0000 intransmit=0000
FID: tx=0000 intransmit=0000
FID: tx=0000 intransmit=0000
FW TX rate control: 0
beacon_int=100
dtim_period=1
wds_max_connections=16
dev_enabled=0
sw_tick_stuck=0
pri_only=1
pci=1
sram_type=16
no_pri=0

# hostap_fw_load wlan0
Downloading primary firmware /etc/prism/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.
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.

# dmesg | less
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

# iwconfig
wifi0     IEEE 802.11-DS  ESSID:"test"
          Mode:Master
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wlan0     IEEE 802.11-DS  ESSID:"test"
          Mode:Master
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

# iwconfig wlan0 essid "whatever"
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlan0 ; Invalid argument.

# iwconfig
wifi0     IEEE 802.11-DS  ESSID:"whatever"
          Mode:Master
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wlan0     IEEE 802.11-DS  ESSID:"whatever"
          Mode:Master
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

# lspci -v
00:0b.0 Network controller: Harris Semiconductor Prism 2.5 Wavelan chipset (rev 01)
        Subsystem: D-Link System Inc: Unknown device 3700
        Flags: medium devsel, IRQ 10
        Memory at e3000000 (32-bit, prefetchable) [size=4K]
        Capabilities: [dc] Power Management version 2

Other devices on my system:
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:04.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:0b.0 Network controller: Harris Semiconductor Prism 2.5 Wavelan chipset (rev 01)
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: S3 Inc. 86c368 [Trio 3D/2X] (rev 02)

# cat /proc/cpuinfo | head -n 8
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 5
model name      : Pentium II (Deschutes)
stepping        : 2
cpu MHz         : 400.917
cache size      : 512 KB

# lsmod
Module                  Size  Used by    Not tainted
hostap_pci             41432   0  (unused)
hostap                 94472   0  [hostap_pci]
sch_htb                20032   2  (autoclean)
ipt_state                568   3  (autoclean)
ipt_REJECT              3192   5  (autoclean)
iptable_mangle          2104   0  (autoclean) (unused)
iptable_nat            16902   1  (autoclean)
ip_conntrack           21788   0  (autoclean) [ipt_state iptable_nat]
iptable_filter          1676   1  (autoclean)
ip_tables              12544   7  [ipt_state ipt_REJECT iptable_mangle iptable_nat iptable_filter]
ne2k-pci                4544   1
8390                    6224   0  [ne2k-pci]
8139too                13384   1
mii                     2272   0  [8139too]
apm                     9840   0  (unused)

# gcc --version
gcc (GCC) 3.3.2


Any ideas? what i should do? :/




More information about the Hostap mailing list