Dan Werner | 1 Mar 2006 06:10
Picon

network speed with wpa_supplicant

I was wondering, what sort of speed should one expect using wpa_supplicant and WPA-PSK?  I have a Toshiba laptop with an integrated intel pro/wireless 2200BG adapter.  I installed the ipw2200 driver but couldn't quite get it working with wpa_supplicant.  I was getting a bunch of ioctl errors and started using the 'wext' driver, per instructions found via google, and that seems to be working fine.

I usually benchmark my network speeds by starting a download of the newest fedora linux iso from one of the mirrors, in this case Duke University.  From another wireless pc running Windows 2000, the transfer rate levels off at around 77 KB per second (i hate my isp).  The wpa_supplicant laptop only gets about 27 KB per second or so (I cancelled the other download before starting this test).

So is it possible that I've configured something wrong, or is there some current speed limitation with the driver?

Thanks for any help...

_______________________________________________
HostAP mailing list
HostAP <at> shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap
Larry Finger | 1 Mar 2006 07:10
Favicon

Problem with WPA-PSK TKIP on WRT54G V5

I am using WPA-PSK TKIP on a Linksys WPC54G interface connecting to a Linksys WRT54G. I run SuSE 
10.0 Linux with the bcm43xx/softmac driver that is under development. I use the wext interface to 
wpa_supplicant. It was working until my WRT54G V1 AP died and I replaced it with a V5 model. Now I 
can connect if I use ndiswrapper, but bcm43xx no longer works.

When I run wpa_supplicant in the foreground with -dd, I see the following output:

Scan results: 3
Selecting BSS from priority group 3
0: <MAC address of AP> ssid=<my essid> wpa_ie_len=26 rsn_ie_len=0 caps=0x11
Trying to associate with <MAC address of AP> (SSID=<my essid> freq=0 Mhz)
Cancelling scan result
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 
50 f2 02 00 00
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 
01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State:SCANNING -> ASSOCIATING
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success = 0
EAPOL: External notification - EAP fail = 0
EAPOL: External notification - portControl = Auto
Wireless event: cmd=0x8b06 len=8          <---- SIOCSIWMODE
Wireless event: cmd=0x8b1a len=15         <---- SIOCSIWESSID
Wireless event: cmd=0x8c02 len=21         <---- IWEVCUSTOM
Custom wireless event: 'authenticated'
Wireless event: cmd=0x8c02 len=21         <---- IWEVCUSTOM
Custom wireless event: 'scan finished'
Wireless event: cmd=0x8c02 len=26         <---- IWEVCUSTOM
Custom wireless event: 'associating failed'
Authentication with 00:00:00:00:00:00 timed out.
Added 00:00:00:00:00:00 into blacklist
State: ASSOCIATED -> SCANNING
Starting AP scan (broadcast SSID)

and it loops until stopped. Meanwile softmac is getting 'invalid pairwise cipher when associating' 
messages. I never never get any RX EAPOL events with bcm43xx, nor does it ever get into the 
4WAY_HANDSHAKE state. Obviously, the new AP is responding differently than did the old one and the 
softmac stack cannot handle the differences, but I haven't a clue where to look. Can anyone suggest 
what to look for in the data to/from the AP?

Thanks,

Larry
Gentoopower | 1 Mar 2006 10:01
Picon
Favicon

Re: network speed with wpa_supplicant

Dan Werner wrote:
> I was wondering, what sort of speed should one expect using
> wpa_supplicant and WPA-PSK?  I have a Toshiba laptop with an
> integrated intel pro/wireless 2200BG adapter.  I installed the ipw2200
> driver but couldn't quite get it working with wpa_supplicant.  I was
> getting a bunch of ioctl errors and started using the 'wext' driver,
> per instructions found via google, and that seems to be working fine.
>
> I usually benchmark my network speeds by starting a download of the
> newest fedora linux iso from one of the mirrors, in this case Duke
> University.  From another wireless pc running Windows 2000, the
> transfer rate levels off at around 77 KB per second (i hate my isp). 
> The wpa_supplicant laptop only gets about 27 KB per second or so (I
> cancelled the other download before starting this test).
27 KB can only mean, you are either far away, so your card only operates
at 1MBit and you have lots of transmission failures, or you just don't
have a bad download speed for this download.
Are all downloads that slow?
>
> So is it possible that I've configured something wrong, or is there
> some current speed limitation with the driver?
I doubt, that it is a problem of the driver or a bad configuration.
>
> Thanks for any help...
> ------------------------------------------------------------------------
>
> _______________________________________________
> HostAP mailing list
> HostAP <at> shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>   

	

	
		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
Kel Modderman | 1 Mar 2006 12:40
Picon
Favicon

wpa_cli quirks?

Hi,

I'd like to query the handling of wpa_cli commands executed as 
arguments, rather than  from within the wpa_cli console. Are they 
handled differently as in the following example?

root <at> KELSLAP:/home/kel# wpa_cli -i eth1 set_network 1 ssid "kelnet"
FAIL
root <at> KELSLAP:/home/kel# wpa_cli -i eth1
wpa_cli v0.5.1
Copyright (c) 2004-2006, Jouni Malinen <jkmaline <at> cc.hut.fi> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.

Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.

Interactive mode

 > set_network 1 ssid "kelnet"
OK
 >

I would have expected the same result from both scenarios.

Also, are the valid values of ap_scan only 0,1 & 2?

 > ap_scan 0
OK
 > ap_scan 1
OK
 > ap_scan 2
OK
 > ap_scan 3
FAIL
 > ap_scan foo
OK

Shouldn't it reject the garbage value of "foo"?

Thanks, Kel.
Dan Werner | 1 Mar 2006 14:23
Picon

Re: network speed with wpa_supplicant

Well, I did another test that surprised me a little.  I tried to download one of the twit.tv podcasts.  Those come from AOL Radio, which always has a lot of bandwidth.  My Win2k pc got like 120 KB per second, and the laptop did better but still only topped out at 69 KB per second.  These tests were again one right after the other. 

My laptop is right next to my Win2k pc, so it ought to be similar in terms of connecting to my router.

I guess if my connection is capable of 69 KB a second, I can live with that, but it's surprising to me that it would be different at all. 


On 3/1/06, Gentoopower <gentoopower <at> yahoo.de> wrote:
Dan Werner wrote:
> I was wondering, what sort of speed should one expect using
> wpa_supplicant and WPA-PSK?  I have a Toshiba laptop with an
> integrated intel pro/wireless 2200BG adapter.  I installed the ipw2200
> driver but couldn't quite get it working with wpa_supplicant.  I was
> getting a bunch of ioctl errors and started using the 'wext' driver,
> per instructions found via google, and that seems to be working fine.
>
> I usually benchmark my network speeds by starting a download of the
> newest fedora linux iso from one of the mirrors, in this case Duke
> University.  From another wireless pc running Windows 2000, the
> transfer rate levels off at around 77 KB per second (i hate my isp).
> The wpa_supplicant laptop only gets about 27 KB per second or so (I
> cancelled the other download before starting this test).
27 KB can only mean, you are either far away, so your card only operates
at 1MBit and you have lots of transmission failures, or you just don't
have a bad download speed for this download.
Are all downloads that slow?
>
> So is it possible that I've configured something wrong, or is there
> some current speed limitation with the driver?
I doubt, that it is a problem of the driver or a bad configuration.
>
> Thanks for any help...
> ------------------------------------------------------------------------
>
> _______________________________________________
> HostAP mailing list
> HostAP <at> shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>







___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


_______________________________________________
HostAP mailing list
HostAP <at> shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap
Gentoopower | 1 Mar 2006 17:02
Picon
Favicon

Re: network speed with wpa_supplicant

Dan Werner wrote:
> Well, I did another test that surprised me a little.  I tried to
> download one of the twit.tv <http://twit.tv> podcasts.  Those come
> from AOL Radio, which always has a lot of bandwidth.  My Win2k pc got
> like 120 KB per second, and the laptop did better but still only
> topped out at 69 KB per second.  These tests were again one right
> after the other. 
Then there must be something wrong
>
> My laptop is right next to my Win2k pc, so it ought to be similar in
> terms of connecting to my router.
>
> I guess if my connection is capable of 69 KB a second, I can live with
> that, but it's surprising to me that it would be different at all. 
Should not be the case if transfers are just around 100KB/s. A wireless
connection lets say 11MBit link can easily take 300KB/s.
What connection speed does the laptop report? 1 Mbit or higher? Since
you say you are next to the router you should have at least a 11MBit
connection
>
>
> On 3/1/06, *Gentoopower* <gentoopower <at> yahoo.de
> <mailto:gentoopower <at> yahoo.de>> wrote:
>
>     Dan Werner wrote:
>     > I was wondering, what sort of speed should one expect using
>     > wpa_supplicant and WPA-PSK?  I have a Toshiba laptop with an
>     > integrated intel pro/wireless 2200BG adapter.  I installed the
>     ipw2200
>     > driver but couldn't quite get it working with wpa_supplicant.  I was
>     > getting a bunch of ioctl errors and started using the 'wext' driver,
>     > per instructions found via google, and that seems to be working
>     fine.
>     >
>     > I usually benchmark my network speeds by starting a download of the
>     > newest fedora linux iso from one of the mirrors, in this case Duke
>     > University.  From another wireless pc running Windows 2000, the
>     > transfer rate levels off at around 77 KB per second (i hate my isp).
>     > The wpa_supplicant laptop only gets about 27 KB per second or so (I
>     > cancelled the other download before starting this test).
>     27 KB can only mean, you are either far away, so your card only
>     operates
>     at 1MBit and you have lots of transmission failures, or you just don't
>     have a bad download speed for this download.
>     Are all downloads that slow?
>     >
>     > So is it possible that I've configured something wrong, or is there
>     > some current speed limitation with the driver?
>     I doubt, that it is a problem of the driver or a bad configuration.
>     >
>     > Thanks for any help...
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > HostAP mailing list
>     > HostAP <at> shmoo.com <mailto:HostAP <at> shmoo.com>
>     > http://lists.shmoo.com/mailman/listinfo/hostap
>     >
>
>
>
>
>
>
>
>     ___________________________________________________________
>     Telefonate ohne weitere Kosten vom PC zum PC:
>     http://messenger.yahoo.de
>
>

	

	
		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
Jouni Malinen | 1 Mar 2006 17:04
Picon
Picon

Re: network speed with wpa_supplicant

On Wed, Mar 01, 2006 at 12:10:16AM -0500, Dan Werner wrote:

> I was wondering, what sort of speed should one expect using wpa_supplicant
> and WPA-PSK?

wpa_supplicant has nothing to do with transmitting data packets it is
taking care of authentication and key configuration, but after that, all
depends on the driver. With a proper driver and hardware design that
includes hardware acceleration for TKIP/CCMP (or with fast enough host
CPU), there should not be any noticeable difference in speed when
comparing plaintext connection with WPA enabled connections.

--

-- 
Jouni Malinen                                            PGP id EFC895FA
bitbuck3t+hostap | 1 Mar 2006 21:05
Picon

Intersil Prism2/2.5 card crashing with hostap driver

I'm not quite sure where my problem lies, so I'll try to explain as much as I can.  I have a Senao 2511CD Plus EXT2 card, which is an Intersil Prism 2.5 card.  I am running Zenwalk 2.2 (slackware based distro) with a 2.6.15.4 kernel.  When I plug the card into my system, the orinoco and hostap drivers load, but the card binds to the orinoco driver.  I have commented out the modalias reference in modules.pcimap for the orinoco.  When I plug the card in now, the hostap drivers attempt to load, however, things start going very wrong at this point.  I am attaching the dmesg output when I plug in the card with the hostap drivers and also when I attempt to eject the card.  Once I eject the card, I get a traceback and I can no longer plug anything into my pcmcia slot without rebooting.  I have been searching for about a week and have tried finding information to fix this, however, I have had no luck.  Any help would be greatly appreciated.  This problem has entered an area of linux that I am just not familiar with.  I have been reading up on udev and how that works in case it is doing something screwy, but I am still no closer to fixing the problem.  Thanks again for any help.

pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.4.4-kernel (Jouni Malinen <jkmaline <at> cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=33 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 3.3, irq 17, io 0x2100-0x213f
prism2_hw_init: initialized in 199 ms
wifi0: NIC: id=0x800c v1.0.0
wifi0: PRI: id=0x15 v1.1.0
wifi0: STA: id=0x1f v1.4.9
wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AP mode WDS
wifi0: Command completion event, but no pending commands
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 4c a1 ef
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
hostap_cs: assuming no Primary image in flash - card initialization not completed
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0x8000
hostap_cs: first command failed - assuming card does not have primary firmware
hostap_cs: assuming no Primary image in flash - card initialization not completed
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0x8000
hostap_cs: first command failed - assuming card does not have primary firmware
hostap_cs: assuming no Primary image in flash - card initialization not completed
wifi0: cannot get RID fd10 (len=2) - no PRI f/w
wifi0: Channel list read failed
wifi0: registered netdevice wlan0
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694bf80, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8101
wifi0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: MAC port 0 enabling failed
wifi0: could not set interface UP - no PRI f/w
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b180, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8101
wlan0: hfa384x_cmd: entry still in list? (entry=f694b140, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed
wlan0: could not set interface UP - no PRI f/w
prism2: wifi0: operating mode changed 3 -> 2
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0x8101
hostap_cs: first command failed - assuming card does not have primary firmware
hostap_cs: assuming no Primary image in flash - card initialization not completed
prism2_download: dl_cmd=1768319351 start_addr=0x00000030 num_areas=0
 šö: unsupported download command 1768319351
wlan0: __hfa384x_cmd_no_wait(6) - timeout - reg=0x8101
hostap_cs: first command failed - assuming card does not have primary firmware
hostap_cs: assuming no Primary image in flash - card initialization not completed
prism2_download: dl_cmd=35612 start_addr=0xf69cff04 num_areas=1
H)÷: unsupported download command 35612
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0x8101
hostap_cs: first command failed - assuming card does not have primary firmware
hostap_cs: assuming no Primary image in flash - card initialization not completed
prism2_download: dl_cmd=35612 start_addr=0xf69d3f04 num_areas=1
 šö: unsupported download command 35612
wifi0: updating basic rate set automatically to match with the new supported rate set
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0x8101
hostap_cs: first command failed - assuming card does not have primary firmware
hostap_cs: assuming no Primary image in flash - card initialization not completed
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0x8101
hostap_cs: first command failed - assuming card does not have primary firmware
hostap_cs: assuming no Primary image in flash - card initialization not completed
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0x8101
hostap_cs: first command failed - assuming card does not have primary firmware
hostap_cs: assuming no Primary image in flash - card initialization not completed
prism2_download: dl_cmd=1768319351 start_addr=0x00000030 num_areas=0
 šö: unsupported download command 1768319351
wifi0: TXRateControl/cnfSupportedRates setting to 0xf failed
wlan0: __hfa384x_cmd_no_wait(6) - timeout - reg=0x8101
hostap_cs: first command failed - assuming card does not have primary firmware
hostap_cs: assuming no Primary image in flash - card initialization not completed
wlan0: __hfa384x_cmd_no_wait(6) - timeout - reg=0x8101
hostap_cs: first command failed - assuming card does not have primary firmware
hostap_cs: assuming no Primary image in flash - card initialization not completed
prism2_download: dl_cmd=1851878519 start_addr=0x00000030 num_areas=0
H)÷: unsupported download command 1851878519
wlan0: TXRateControl/cnfSupportedRates setting to 0xf failed
hostap_cs: prism2_event() - unknown event 65536
pccard: card ejected from slot 0
hostap_cs: CS_EVENT_CARD_REMOVAL
wifi0: card already removed or not configured during shutdown
Unable to handle kernel NULL pointer dereference at virtual address
00000000
 printing eip:
 c0347ee1
 *pde = 00000000
 Oops: 0000 [#1]
 PREEMPT
 Modules linked in: hostap_cs hostap snd_seq_oss snd_seq_midi_event
 snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss usbhid usbmouse pcmcia
 ipw2200 snd_intel8x0 snd_intel8x0m snd_ac97_codec snd_ac97_bus
 ieee80211 ieee80211_crypt ehci_hcd uhci_hcd yenta_socket rsrc_nonstatic
 pcmcia_core snd_pcm snd_timer snd joydev usbcore tg3 intel_agp agpgart
 soundcore snd_page_alloc
 CPU:    0
 EIP:    0060:[<c0347ee1>]    Not tainted VLI
 EFLAGS: 00010017   (2.6.15.4)
	eax: 00000000   ebx: 00000000   ecx: f72be7d8   edx: f7ee6000
	esi: 00000246   edi: f8acfb80   ebp: 00000001   esp: f7ee7df4
	ds: 007b   es: 007b   ss: 0068
	Process pccardctl (pid: 2169, threadinfo=f7ee6000 task=f793e0b0)
	Stack: f72be7d8 f72be000 c0347f8c f72be7d8 f72be344 f8aca9e5
	f72be7d8 f72be344
	       f7958240 f72104c0 f8acfb80 f8acbd16 f72be000 f8acf8c0
	       f78de240 f8acf8d4
	              f8a4f4c0 f72104c0 f78de2a8 f78de240 c02d39ce
		      f78de240 f78de240 c198d444
		      Call Trace:
		       [<c0347f8c>]
		        [<f8aca9e5>]
			 [<f8acbd16>]
			  [<f8a4f4c0>]
			   [<c02d39ce>]
			    [<c02d3a00>]
			     [<c02d33a4>]
			      [<c02d2760>]
			       [<c02d2797>]
			        [<f8a50284>]
				 [<f8a4ff9a>]
				  [<f8a0c66d>]
				   [<f8a0c6bf>]
				    [<f8a0c6ce>]
				     [<f8a0cb85>]
				      [<f8a0cfc9>]
				       [<f8a0f3b8>]
				        [<c02d402e>]
					 [<c017620e>]
					  [<c017624b>]
					   [<c01472c1>]
					    [<c01473f5>]
					     [<c0102b89>]
					     Code: 64 c1 ea 10 66 89 54
					     1d 00 5b 5e 5f 5d c3 56 53
					     8b 4c 24 0c 9c 5e fa ba 00
					     e0 ff ff 21 e2 ff 42 14 8b
					     01 31 db 39 c8 74 19 89 c3
					     <8b> 00 89 01 ff 49 08 89
					     48 04 c7 03 00 00 00 00 c7
					     43 04 00 00
					      <6>note: pccardctl[2169]
					      exited with preempt_count
					      1

_______________________________________________
HostAP mailing list
HostAP <at> shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap
Juan Felipe Botero | 1 Mar 2006 21:42
Picon

Fw: RE: A important question

i was looking and i found that my card is a Intersil card, is true that the majority of
mercury cards have the atheros chipser, but this one is a card with intersil chipset,
the problem that i found is that when i'm going to execute modprobe th result is:
modules.dep could not parse this.

I need to know why the card doesn't work very well

aany body have idea??

---------- Forwarded Message -----------
From: "Brian Sturgill" <zen_hacker <at> hotmail.com>
To: jfb <at> microe.udea.edu.co
Sent: Wed, 01 Mar 2006 01:19:27 +0000
Subject: RE: A important question

Did you run depmod? If not you need to let the kernel know there are new 
modules there by running depmod -a . You shlould be able to load the module 
by modprobe manually then. I have never tried using the CF cards. If I do 
remember correctly, the mercury cards are not prism. I think they are 
atheros and use madwifi drivers. Hope this helps.

Brian

>From: "Juan Felipe Botero" <jfb <at> microe.udea.edu.co>
>To: hostap <at> shmoo.com
>Subject: A important question
>Date: Tue, 28 Feb 2006 15:13:43 -0500
>
>
>
>HI, i really need some help:
>
>I could compile the hostap driver with the path of the linux kernel of my 
>embedded
>system for a IMXL card based in a arm architecture.
>
>when i compiled the kernel a folder called:
>/lib/modules/2.6.11.4-csb/kernel/drivers/net/wireless was created in my 
>normal Linux
>system file, so i created and copied this folder in the linux file system 
>of the
>embedded architecture, but when i started the Linux again, the driver 
>didn't work. i
>put in the command line - ifconfig wlan0 up - and the answer was - no such 
>device -. I
>think this could be because how the embedded system doesn't have pcmcia 
>support, the
>folder /etc/pcmcia doesn't exist so the file: /etc/pcmcia/hostap_cs.conf 
>doesn't
>exist, i dont know if is necessary that file exists?, i need help if i have 
>done
>something wrong since the driver compilation.
>
>The compact flash card is a sinao NL-2511CF mercury.
>Please help me
>
>lot of thanks
>
>--
>Open WebMail Project (http://openwebmail.org)
>------- End of Forwarded Message -------
>
>
>--
>Open WebMail Project (http://openwebmail.org)
>
>_______________________________________________
>HostAP mailing list
>HostAP <at> shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
------- End of Forwarded Message -------

--
Open WebMail Project (http://openwebmail.org)
Jim Thompson | 1 Mar 2006 22:02
Gravatar

Re: Intersil Prism2/2.5 card crashing with hostap driver

bitbuck3t+hostap <at> gmail.com wrote:

> I'm not quite sure where my problem lies, so I'll try to explain as
> much as I can.  I have a Senao 2511CD Plus EXT2 card, which is an
> Intersil Prism 2.5 card.  I am running Zenwalk 2.2 (slackware based
> distro) with a 2.6.15.4 <http://2.6.15.4/> kernel.  When I plug the
> card into my system, the orinoco and hostap drivers load, but the card
> binds to the orinoco driver.  I have commented out the modalias
> reference in modules.pcimap for the orinoco.  When I plug the card in
> now, the hostap drivers attempt to load, however, things start going
> very wrong at this point.  I am attaching the dmesg output when I plug
> in the card with the hostap drivers and also when I attempt to eject
> the card.  Once I eject the card, I get a traceback and I can no
> longer plug anything into my pcmcia slot without rebooting.  I have
> been searching for about a week and have tried finding information to
> fix this, however, I have had no luck.  Any help would be greatly
> appreciated.  This problem has entered an area of linux that I am just
> not familiar with.  I have been reading up on udev and how that works
> in case it is doing something screwy, but I am still no closer to
> fixing the problem.  Thanks again for any help.

Your problem started here:

prism2_hw_init: initialized in 199 ms
wifi0: NIC: id=0x800c v1.0.0
wifi0: PRI: id=0x15 v1.1.0
wifi0: STA: id=0x1f v1.4.9
wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AP mode WDS
wifi0: Command completion event, but no pending commands
hostap_cs: assuming no Primary image in flash - card initialization not completed
wifi0: test Genesis mode with HCR 0x1f

for whatever reason, the firmware on your card is either very slow to
respond, or fails to respond at all.

Is the orinoco driver still loaded?

Did the card work with the orinoco driver (in BSS or IBSS mode)?

Jim

Gmane