LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-20-2005, 05:40 PM   #1
tacogrande
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
Question Dwl-650 + hostap problems..


Hey guys, long time linuxquestions browser/searcher, first time poster. =)

I'm having problems getting a dwl-650 to work with hostap drivers. I have compiled all the info i can think of below. I've tried flashing the card. Anyone have any ideas of what I could try next? Thanks!


slackware 10.0
hostap 0.3.9


cardctl ident:

Socket 1:
product info: "D-Link", "DWL-650 Wireless PC Card RevP", "ISL37101P-10", "A3"
manfid: 0x000b, 0x7110
function: 6 (network)

------------------


dmesg output after card insert =


hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.3.9 - 2005-06-10 (Jouni Malinen <jkmaline@cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0047, io.base=0x0000, len=128
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0200-0x027f
hostap_cs: assuming no Primary image in flash - card initialization not completed
wifi0: test Genesis mode with HCR 0x1f
prism2_pccard_cor_sreset: original COR 41
prism2_pccard_genesis_sreset: original COR 41
Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 ce a1 ce
wifi0: test Genesis mode with HCR 0x0f
prism2_pccard_cor_sreset: original COR 41
prism2_pccard_genesis_sreset: original COR 41
Readback test succeeded, HCR 0x0f
prism2_pccard_genesis_sreset: original COR 41
wifi0: registered netdevice wlan0

-------------------------------

flash attempt =

./prism2_srec -v wlan0 sf010704.hex
S3 CRC-16 generation record: start=0x007E1800 len=65414 prog=1
Start address 0x00000000
srec summary for sf010704.hex
Component: 0x001f 1.7.4 (station firmware)
Supported platforms:
0x800a 1.0.0, 0x800b 1.0.0, 0x800c 1.0.0, 0x800d 1.0.0, 0x8012 1.0.0
0x8013 1.0.0, 0x8014 1.0.0, 0x8016 1.0.0, 0x8017 1.0.0, 0x8018 1.0.0
0x801a 1.0.0, 0x801b 1.0.0, 0x801c 1.0.0, 0x8021 1.0.0, 0x8022 1.0.0
0x8023 1.0.0
Interface compatibility information:
role=Supplier variant=4 range=1-12 iface=Station Firmware-Driver (4)
role=Actor variant=1 range=1-1 iface=Modem-Firmware (1)
role=Actor variant=2 range=1-1 iface=Controller-Firmware (2)
role=Actor variant=1 range=4-4 iface=Primary Firmware-Driver (3)
Separate S3 data areas:
S3 area count: 3
addr=0x007E1800..0x007EE2DB (len=51932)
addr=0x007F0800..0x007F1785 (len=3974)
addr=0x007FE000..0x007FECC5 (len=3270)
Total data length: 59176
Start address 0x00000000

ioctl[PRISM2_IOCTL_HOSTAPD]: Inappropriate ioctl for device
Missing wlan component info
Could not read wlan RIDs

--------------------------


after attempted flash dmesg reports=

wifi0: cannot get RID fd0b (len=1008) - no PRI f/w



----------------------------------

ifconfig -a output =

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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:3 Base address:0x200

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:3 Base address:0x200

-------------------------------------

hostap_diag output =

./hostap_diag wlan0
Host AP driver diagnostics information for 'wlan0'

ioctl[PRISM2_IOCTL_HOSTAPD]: Inappropriate ioctl for device
Could not communicate with the kernel driver.

--------------------------------------

lsmod output =

lsmod reports...

Module Size Used by Not tainted
hostap_cs 47312 0 (unused)
hostap 91880 0 [hostap_cs]
snd-pcm-oss 37736 1
snd-mixer-oss 12504 0 [snd-pcm-oss]
uhci 24444 0 (unused)
usbcore 59308 1 [uhci]
snd-es1938 11240 1
gameport 1420 0 [snd-es1938]
snd-pcm 56072 0 [snd-pcm-oss snd-es1938]
snd-page-alloc 6328 0 [snd-pcm]
snd-opl3-lib 5892 0 [snd-es1938]
snd-hwdep 4804 0 [snd-opl3-lib]
snd-timer 13604 0 [snd-pcm snd-opl3-lib]
snd-mpu401-uart 3200 0 [snd-es1938]
snd-rawmidi 12740 0 [snd-mpu401-uart]
snd-seq-device 3888 0 [snd-opl3-lib snd-rawmidi]
snd 30852 0 [snd-pcm-oss snd-mixer-oss snd-es1938 snd-pcm snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3396 6 [snd]
ds 6548 4 [hostap_cs]
yenta_socket 10336 2
pcmcia_core 39972 0 [hostap_cs ds yenta_socket]
ide-scsi 9328 0
agpgart 43940 0 (unused)=
 
Old 08-23-2005, 11:37 AM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Quote:
hostap_cs: assuming no Primary image in flash - card initialization not completed
Ok, obliviously your problem is about the card not having a primary firmware on it, you need to upload one... Don't try to flash it unless you are really sure which one is fitting your card.
There is several firmware available, and none of them fit on all card, you will have to try each combinaison (primary and secondary) one by one until you get the correct ones.

Here is where you could download firmwares :
http://www.red-bean.com/~proski/firmware/

Take a look at the "primary" package, I doubt you will be able to load a secondary firmware if you can't load the primary first (and it is VERY VERY dangerous to try to flash a primary firmware alone, as you may know).

Usually to upload in ram a primary firmware, the comand look like :
# Download primary firmware into RAM using Genesis mode
./prism2_srec -g wlan0 ak010100.hex

And the secondary :
# download station firmware into RAM
./prism2_srec -r wlan0 rf010409.hex


I hope this help
 
Old 09-14-2005, 05:02 PM   #3
tacogrande
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up

Thank you for the reply. I wasn't understanding that the firmware had to be loaded everytime i wanted to use the card.. Shortly after I posted I discovered the correct firmware combo.

pri = pm010102.hex ... sta = rf010704.hex

edited hostap_fw_load to reflect the fw and prism2_srec paths...

./hostap_fw_load wlan0

works!


for everyones reference... this card is a DWL-650 rev. p

thanks for taking the time to post Half_Elf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dwl-650+ problems es7us Linux - Networking 2 09-11-2004 07:32 PM
Problems w/ Kismet on Fedora Core 1, DWL-650+ atlantanewbie Linux - Wireless Networking 2 05-18-2004 07:15 PM
DWL-650+ problems... bige Linux - Networking 82 03-31-2004 12:29 PM
SuSE 9 w/ D-LINK DWL-650+ problems... captainhog Linux - Wireless Networking 4 03-23-2004 10:13 AM
D-Link DWL-650+ Problems pdepass Linux - Laptop and Netbook 32 12-05-2003 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration