List Info

Thread: Next try: DWL-122 ifstate=enable failed because wrong firmware




Next try: DWL-122 ifstate=enable failed because wrong firmware
user name
2006-06-16 07:48:31
Hi,

I have started this discussion on 15th of september last
year. Problem  
was, that my DWL-122 stick after a possible problem on
startup  
computer had a problem with firmware. After modprobe ...  
/proc/net/p80211/wlan0/nsd shows only zeros. And I have
found out,  
that on win98 with windows driver this stick works. On
september I had  
an older system with linuxwlan 0.2.1pre...

Now I've started a new try: other computer, OS is a SuSE
10.1,  
linux-wlan is a 0.2.3 (I have compiled prism2dl for self
from source,  
because it's not in suse rpm's included). Below you can
see, what  
happens now. In short: after plug in stick and modprobe, the
nsd file  
shows the well known zeros, after switch to fwload state it
shows NIC  
and PRI version but no AP version. Download ru010803.hex
with prism2dl  
failed, it looks so, that something is wrong with PDA.

Is somebody out there, which could tell me, what I could try
or do.  
Maybe I need only a new PDA-record, but where to get it.

Now the terminal log, it's to see, that the records, which
fail on  
prism2dl are not in the PDA below. Unfortunately I dosn't
know to less  
about PDA and what this records mean or how it works to
decide, what's  
wrong. Even what's going wrong in september. I think, it
was a wrong  
download in startup script. But I'm not sure.

And ndiswrapper is also not working, even if I don't want
to use it,  
but the problem there is an other problem (driver isn't
loadable  
because a segfault) And, of course, it's nothing to discuss
here. 

-------------------------------------------------------
linux-p9i2:/home/aaa/linux-wlan-ng-0.2.3/src/prism2/download
#  
modprobe prism2_usb prism2_doreset=1
linux-p9i2:/home/aaa/linux-wlan-ng-0.2.3/src/prism2/download
# cat  
/proc/net/p80211/wlan0/nsd
# prism2_usb version 0.2.3 (Wed May  3 13:15:39 UTC 2006)
'$Id:  
prism2sta.c 1751 2005-10-07 21:32:44Z solomon $'

# nic h/w: id=0x00 0.0.0
# pri f/w: id=0x00 0.0.0
# ap f/w: id=0x00 0.0.0
linux-p9i2:/home/aaa/linux-wlan-ng-0.2.3/src/prism2/download
#  
wlanctl-ng wlan0 lnxreq_ifstate ifstate=fwload
message=lnxreq_ifstate
  ifstate=fwload
  resultcode=success
linux-p9i2:/home/aaa/linux-wlan-ng-0.2.3/src/prism2/download
# cat  
/proc/net/p80211/wlan0/nsd
# prism2_usb version 0.2.3 (Wed May  3 13:15:39 UTC 2006)
'$Id:  
prism2sta.c 1751 2005-10-07 21:32:44Z solomon $'

# nic h/w: id=0x8026 1.0.0
# pri f/w: id=0x15 1.1.2
# ap f/w: id=0x00 0.0.0
linux-p9i2:/home/aaa/linux-wlan-ng-0.2.3/src/prism2/download
#  
./prism2dl -r ../ru010803.hex wlan0
Reading S-record file ../ru010803.hex...
NIC ID: 0x8026 v1.0.0
MFI ID: 0x1 v1 1->1
CFI ID: 0x2 v2 1->1
PRI ID: 0x3 v1 1->4
Version:  ID 0x1f 1.8.3
Compat: Role 0 Id 0x4 v3 1->15
Compat: Role 0x1 Id 0x1 v1 1->1
Compat: Role 0x1 Id 0x2 v2 1->1
Compat: Role 0x1 Id 0x3 v1 4->4
Seq: 0
Platform:  ID 0x800a 1.0.0
Platform:  ID 0x800f 1.0.0
Platform:  ID 0x8010 1.0.0
Platform:  ID 0x8011 1.0.0
Platform:  ID 0x801e 1.0.0
Platform:  ID 0x801f 1.0.0
Platform:  ID 0x8020 1.0.0
Platform:  ID 0x8025 1.0.0
Platform:  ID 0x8026 1.0.0
Platform:  ID 0x8027 1.0.0
prism2dl: warning: Failed to find PDR for plugrec 0x0405.
prism2dl: warning: Failed to find PDR for plugrec 0x0406.
prism2dl: warning: Failed to find PDR for plugrec 0x0302.
prism2dl: warning: Failed to find PDR for plugrec 0x0303.
prism2dl: warning: Failed to find PDR for plugrec 0x0412.
prism2dl: warning: Failed to find PDR for plugrec 0x0414.
prism2dl: finished.
linux-p9i2:/home/aaa/linux-wlan-ng-0.2.3/src/prism2/download
#  
./prism2dl -s wlan0
Current PDA:
   offset   len   code   data
  ---------------------------------------------------
  00000000  007  0x0001  5349 334c 3337 3030 0055 0000
  00000016  002  0x0002  0006
  00000022  007  0x0003  3030 3030 3030 3030 3030 3030
  00000038  006  0x0006  0000 0001 0001 0001 0001
  00000052  006  0x0007  0000 0002 0002 0001 0001
  00000066  005  0x0008  8026 0000 0001 0000
  00000078  004  0x0101  1100 8295 6bee
  00000088  007  0x0103  0001 0030 0000 0000 0000 0000
  00000104  002  0x0104  1fff
  00000110  002  0x0105  0003
  00000116  002  0x0107  0001
  00000122  051  0x0202  02c0 0401 0638 0880 0a03 0c04 0e04
1000
                         1220 14ca 1603 1800 1a00 1c00 1e42
20cf
                         229e 24fa 26f7 28c8 2a18 2c7b 2e20
3009
                         3220 3482 3618 3814 3aca 3c2d 3ef0
4000
                         4200 4400 467f 488b 4a0f 4c06 4e0a
5004
                         5200 5400 569e 5824 5a20 5ce8 5e9e
6026
                         625b 0400
  00000226  065  0x0203  2c00 2e0c 2c01 2e10 2c02 2e14 2c03
2e18
                         2c04 2e1c 2c05 2e20 2c06 2e24 2c07
2e28
                         2c08 2e2e 2c09 2e34 2c0a 2e38 2c0b
2e3c
                         2c0c 2e3f 2c0d 2e43 2c0e 2e46 2c0f
2e48
                         2c10 2e4b 2c11 2e50 2c12 2e55 2c13
2e5a
                         2c14 2e63 2c15 2e6d 2c16 2e76 2c17
2e7f
                         2c18 2e7f 2c19 2e7f 2c1a 2e7f 2c1b
2e7f
                         2c1c 2e7f 2c1d 2e7f 2c1e 2e7f 2c7b
2e20
  00000358  041  0x0204  0000 0000 0000 0000 0000 0000 0000
0000
                         0000 5000 000b 0000 0963 2000 0964
6000
                         0965 a000 0966 e000 0980 2000 0981
6000
                         0982 a000 0983 e000 0985 2000 0986
6000
                         0987 a000 09a0 e000 09a2 2000 09a5
2000
  00000442  015  0x0300  0080 0080 0080 0080 0080 0080 0080
0080
                         0080 0080 0080 0080 0080 0080
  00000474  018  0x0301  003c 003c 003b 003a 003a 0039 0039
0039
                         0038 0037 0037 0037 0037 0037 001f
0007
                         00d7
  00000512  002  0x0400  0003
  00000518  003  0x0401  2001 3700
  00000526  031  0x0900  0080 0080 0080 0080 0080 0080 0080
0080
                         0080 0080 0080 0080 0080 0080 0080
0080
                         0080 0080 0080 0080 0080 0080 0080
0088
                         0080 0080 0080 0080 0080 0080
  00000590  034  0x0901  003c 003c 003b 003a 003a 0039 0039
0039
                         0038 0037 0037 0037 0037 0037 003c
0037
                         003c 003c 003b 003a 003a 0039 0039
0039
                         0038 0037 0037 0037 0037 0037 001f
0007
                         00d7
  00000660  002  0x0000  a9d8
linux-p9i2:/home/aaa/linux-wlan-ng-0.2.3/src/prism2/download
#



_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
Next try: DWL-122 ifstate=enable failed because wrong firmware
user name
2006-06-16 12:35:05
Hello,

On Fri, 16 Jun 2006 09:48:31 +0200 Thomas K wrote:
> Now I've started a new try: other computer, OS is a
SuSE 10.1,  
> linux-wlan is a 0.2.3 (I have compiled prism2dl for
self from source,  
> because it's not in suse rpm's included). Below you
can see, what  
> happens now. In short: after plug in stick and
modprobe, the nsd file  
> shows the well known zeros, after switch to fwload
state it shows NIC  
> and PRI version but no AP version. Download
ru010803.hex with prism2dl  
> failed, it looks so, that something is wrong with PDA.
> 
> Is somebody out there, which could tell me, what I
could try or do.  

Why do you think you need to load firmware to the device?
I don't need to (having a DWL-122, too).
I fire up my (a little bit hacked) init.d/wlan start script
(see
attached) and (mostly) it works. 
(Sometimes I have problems; I have to unplug and re-plugin
the
stick in that case and try again, but in generall it works
this
way.)



edlaptop:~$ sudo /etc/init.d/wlan26 start
Starting WLAN Devices: message=lnxreq_ifstate
  ifstate=enable
  resultcode=success
message=lnxreq_autojoin
  ssid='home'
  authtype=sharedkey
  resultcode=success
Activating wlan-device: wlan0.
FATAL: Module wlan0 not found.
/sbin/prism2dl not found, aborting firmware download.

edlaptop:~$ 




I have deleted /sbin/prism2dl, so that's why the error
messages
at the end come up, but it works.


Holger


 

============================================================
==
Created with Sylpheed-Claws 2.2.2
    under Debian GNU/LINUX 3.1 »Sarge«
        http://counter.li.org/, 
Registered LinuxUser #311290
            Spamfiltering by bogofilter.sourceforge.net
============================================================
=

_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )