Date: Tue, 10 Sep 2002 00:02:38 +0200 (MEST) From: zilli0n@gmx.net To: zilli0n@gmx.net Cc: freebsd-mobile@freebsd.org Subject: Re: Milan prism 2.5 problems with wi0 Message-ID: <4507.1031608958@www21.gmx.net> References: <22952.1031604981@www50.gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Weird enough letting the wi driver read the station address 3 times appears
to be a success:
su-2.05a# diff -u if_wi.c.org if_wi.c
--- if_wi.c.org Mon Sep 9 20:41:30 2002
+++ if_wi.c Mon Sep 9 21:03:09 2002
@@ -250,7 +250,10 @@
*/
mac.wi_type = WI_RID_MAC_NODE;
mac.wi_len = 4;
- wi_read_record(sc, (struct wi_ltv_gen *)&mac);
+ error = wi_read_record(sc, (struct wi_ltv_gen *)&mac);
+ device_printf(dev, "mac read #1 %d\n", error);
+ error = wi_read_record(sc, (struct wi_ltv_gen *)&mac);
+ device_printf(dev, "mac read #2 %d\n", error);
if ((error = wi_read_record(sc, (struct wi_ltv_gen *)&mac)) != 0) {
device_printf(dev, "mac read failed %d\n", error);
wi_free(dev);
--- dmesg snip ---
wi0 at port 0x240-0x27f irq 11 slot 0 on pccard0
wi0: mac read #1 5
wi0: mac read #2 5
wi0: 802.11 address: 00:02:dd:30:2e:e7
wi0: using RF:PRISM2.5 MAC:ISL3873
wi0: Intersil Firmware: Primary 1.00.04, Station 1.00.03
------------------
The first two reads give an error... but the third read
appears to be a success. This is so weird.. I hope someone
has an explanation ;-)
Now another question, are these errors normal when you have no link and a
dhclient is trying to configure wi0:
wi0: time out allocating memory on card
wi0: tx buffer allocation failed
wi0: time out allocating memory on card
wi0: mgmt. buffer allocation failed
wi0: time out allocating memory on card
wi0: tx buffer allocation failed
After killing dhclient the error messages stopped.
Cheers,
Niels Heinen
>
>
> Hi all,
>
> I bought this cheap Milan ShAir Office prism 2.5 card at defcon. It works
> fine under Windows and Linux but fails for some weird reason under
> FreeBSD.
> I think this has to do with other hardware in my laptop (Dell cpt 500)
> because my card works fine by using the same configuration on a different
> laptop
> (Dell cpt 466) that is only a few months olders.
>
> This is what I use in pccard.conf:
>
> card "PCMCIA" "11M WLAN Card v2.5"
> config default "wi" ?
> insert /etc/pccard_ether $device start
> remove /etc/pccard_ether $device stop
>
>
> And here are the error messages:
>
> Sep 9 20:13:47 lappie /kernel: wi0 at port 0x240-0x27f irq 11 slot 0 on
> pccard0
> Sep 9 20:13:47 lappie /kernel: wi0: mac read failed 5
> Sep 9 20:13:47 lappie /kernel: device_probe_and_attach: wi0 attach
> returned
> 5
> Sep 9 20:13:47 lappie pccardd[278]: driver allocation failed for
> PCMCIA(11M
> WLAN Card v2.5): Input/output error
>
> Does anyone has a clue what causes this error and what can be done about
> it
> ? I am running FreeBSD 4.7-PRERELEASE and had the same error with FreeBSD
> 4.5-RELEASE, 4.6-RELEASE and 4.6-STABLE
>
>
> I attached my dmesg since it might be useful.
>
> Thanks in advance !
>
> Niels
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4507.1031608958>
