Date: Thu, 15 Aug 2002 21:29:03 +1000 From: "Gavin Cameron" <gavin@itworks.com.au> To: "M. Warner Losh" <imp@bsdimp.com> Cc: <mobile@FreeBSD.ORG> Subject: Re: Latest wi0 crashes with stable Message-ID: <028a01c2444e$f58e0b60$6401a8c0@bugs> References: <009a01c242d2$0d9fd860$6401a8c0@bugs> <20020813.081229.38051251.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Warner,
I've managed to do a couple more tests.
Going back about 2 weeks for /sys/dev/wi stops all the errors that
I've been experiencing over the last week and a bit and I can now
transfer significant amounts of data. The current version in -stable
wedges up after a couple of Mbytes. I've currently transferred
arounf 100MBytes without issue.
> In message: <009a01c242d2$0d9fd860$6401a8c0@bugs>
> "Gavin Cameron" <gavin@itworks.com.au> writes:
> : Anyone know how I can check old versions of the wi driver out
> : using cvsup? Things were working great a month ago!
>
> Very odd. I'll have to find me a PLX based board to give things a try
> with 9the MA301 is plx based, right?)
Beleive so... I'm not really in the position to pull my machine
to bits at the moment... I can probably confirm this on the weekend
if noone else can confirm before then.
>
> To answer your question: add a date=yyyy.mm.dd.hh.mm.ss specification
> to your cvsup file. Then tell me, if possible, the smallest date
> range that you can find that has working/not-working code. Please
> also include a full dmesg so that I can check my assumptions (you are
> using the latest firmware, etc). Also, is this card being used in
> hostap mode?
OK... have gone back 14 days to the following versions and things are
working fine.
chip# cvs status
cvs status: Examining .
===================================================================
File: if_wavelan_ieee.h Status: Needs Patch
Working revision: 1.12.2.1 Thu Aug 15 10:15:57 2002
Repository revision: 1.12.2.2
/home3/ncvs/src/sys/dev/wi/if_wavelan_ie
ee.h,v
Sticky Tag: RELENG_4 (branch: 1.12.2)
Sticky Date: (none)
Sticky Options: (none)
===================================================================
File: if_wi.c Status: Needs Patch
Working revision: 1.103.2.1 Thu Aug 15 10:15:57 2002
Repository revision: 1.103.2.2 /home3/ncvs/src/sys/dev/wi/if_wi.c,v
Sticky Tag: RELENG_4 (branch: 1.103.2)
Sticky Date: (none)
Sticky Options: (none)
===================================================================
File: if_wi_pccard.c Status: Needs Patch
Working revision: 1.8.2.1 Thu Aug 15 10:15:57 2002
Repository revision: 1.8.2.2 /home3/ncvs/src/sys/dev/wi/if_wi_pccard.c,v
Sticky Tag: RELENG_4 (branch: 1.8.2)
Sticky Date: (none)
Sticky Options: (none)
===================================================================
File: if_wi_pci.c Status: Up-to-date
Working revision: 1.8.2.3 Thu Aug 15 09:43:10 2002
Repository revision: 1.8.2.3 /home3/ncvs/src/sys/dev/wi/if_wi_pci.c,v
Sticky Tag: RELENG_4 (branch: 1.8.2)
Sticky Date: (none)
Sticky Options: (none)
===================================================================
File: if_wireg.h Status: Needs Patch
Working revision: 1.31.2.1 Thu Aug 15 10:15:57 2002
Repository revision: 1.31.2.2
/home3/ncvs/src/sys/dev/wi/if_wireg.h,v
Sticky Tag: RELENG_4 (branch: 1.31.2)
Sticky Date: (none)
Sticky Options: (none)
===================================================================
File: if_wivar.h Status: Needs Patch
Working revision: 1.8.2.2 Thu Aug 15 10:15:57 2002
Repository revision: 1.8.2.3 /home3/ncvs/src/sys/dev/wi/if_wivar.h,v
Sticky Tag: RELENG_4 (branch: 1.8.2)
Sticky Date: (none)
Sticky Options: (none)
===================================================================
File: wi_hostap.c Status: Needs Patch
Working revision: 1.7.2.3 Thu Aug 15 10:15:57 2002
Repository revision: 1.7.2.4 /home3/ncvs/src/sys/dev/wi/wi_hostap.c,v
Sticky Tag: RELENG_4 (branch: 1.7.2)
Sticky Date: (none)
Sticky Options: (none)
===================================================================
File: wi_hostap.h Status: Needs Patch
Working revision: 1.3.2.2 Thu Aug 15 10:15:57 2002
Repository revision: 1.3.2.3 /home3/ncvs/src/sys/dev/wi/wi_hostap.h,v
Sticky Tag: RELENG_4 (branch: 1.3.2)
Sticky Date: (none)
Sticky Options: (none)
chip#
and I've transferred significantly more data than I'm able to with the
versions currently in -stable.
Here's the dmesg for the wi0 device
wi0: <Netgear MA301> port 0xe000-0xe03f,0xdc00-0xdc7f mem
0xee001000-0xee001fff
irq 5 at device 18.0 on pci0
wi0: 802.11 address: 00:30:ab:1a:06:c6
wi0: using RF:PRISM2.5 MAC:ISL3873
wi0: Intersil Firmware: Primary 1.00.07, Station 1.03.06
I've looked at the Netgear web site and it appears that I have a later
version of firmware than currently on the web site.
Yes, I'm using this card in hostap mode.
Here's the ifconfig output
chip# ifconfig wi0
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.255.1 netmask 0xffffffff broadcast 192.168.255.1
ether 00:30:ab:1a:06:c6
media: IEEE 802.11 Wireless Ethernet DS/11Mbps <hostap>
status: associated
ssid GavinsHomeNetwork 1:GavinsHomeNetwork
stationname "FreeBSD WaveLAN/IEEE node"
channel 3 authmode OPEN powersavemode OFF powersavesleep 100
wepmode OFF weptxkey 3
wepkey 1:128-bit wepkey 2:128-bit wepkey 3:128-bit wepkey 4:128-bit
chip#
Disregard the IP address and netmask.
>
> The busy bit won't clear usually means that the card is hopelessly
> wedged. Maybe the init/reset code for these things is broken and
> things only kinda worked before? Who knows.
>
Let me know if there's anything else you need me to do or if you
need more info.
Cheers
Gavin
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?028a01c2444e$f58e0b60$6401a8c0>
