Date: Wed, 4 Apr 2012 20:57:24 -0700 From: "Adrian Chadd" <adrian.chadd@gmail.com> To: "Peter Lazar" <pgl@bok.net>, "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Subject: Re: wi driver Message-ID: <4f7d1836.c60e440a.6b03.ffff85a9@mx.google.com> In-Reply-To: <20120404213548.GA3291@pgl-P5K-E>
next in thread | previous in thread | raw e-mail | index | archive | help
The trouble is that different cards and different versions of firmware supp= ort different things. Some changes were committed a few years ago to suppor= t raw frame TX and Rx which likely worked for one specific card/firmware co= mbo but not all. Certainly not the old firmware cards I have. I'm thinking of ripping that code out and making it optional and dependent= upon firmware checks. But more changes are needed- the current wi driver= does the MLME in net80211 which we can't unconditionally do. Adrian Sent from my Palm Pre on AT&T On Apr 4, 2012 2:35 PM, Peter Lazar <pgl@bok.net> wrote:=20 I run one more test using U.S. Robotics PCMCIA phone-line modem card, to check whether maybe PCMCIA driver is broken in 8.0livefs: modem appears to work okay. My urge for a wi driver on freebsd 8.0 (and beyond) faded (I am getting an iPad), but if you wish we can meet and take a crack at it: I have one t42 laptop with freebsd 8.2 that we can use. Regards, Peter On Wed, Mar 28, 2012 at 06:24:33PM -0700, Peter Lazar wrote: > On Tue, Feb 07, 2012 at 03:33:38PM -0800, Adrian Chadd wrote: > > Ok. How about say, Tuesday next week? > >=20 > >=20 > > Adrian > >=20 > > On 7 February 2012 15:29, Peter Lazar <pgl@bok.net> wrote: > > > On Tue, Feb 07, 2012 at 01:48:20PM -0800, Adrian Chadd wrote: > > >> If we can find another working T42 or similar, we could= just spend a > > >> weekend trying to make things work? > > > > > > I have an extra hard disk that I can pop in, > > > but let me try the live 8.0 cd first. > > > > > > -- p >=20 > I ran a total of eight tests: > (ibm t42 + dell inspiron 6000) * (Lucent Orinoco + Senao 2511) > * (7.4 live + 8.0 live). >=20 > I attach in this email my notes; > please observe the (sporadic, imho) "bfe0: link state changed to DOWN"= message). >=20 > Regards, >=20 > Peter >=20 > ----- > 1. > 7.4 livefs > ibm t42 laptop > Lucent WaveLAN/IEEE (Orinoco) PCMCIA card >=20 > # card is inserted, log output is > wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x4000-0x403f ir= q 11 function 0 config 1 on pccard0 > wi0: [ITHREAD] > wi0: using Lucent Technologies, WaveLAN/IEEE > wi0: Lucent Firmware: Station (7.28.1) > wi0: Ethernet address: 00:02:2d:40:67:00 >=20 > # setting the wireless card > ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up > mkdir /var/db > dhclient wi0 >=20 > # "netstat -nr" and "ifconfig wi0" give expected output, > # wi0 driver appears to work as expected. >=20 > ----- > 2. > 8.0 livefs > ibm t42 laptop > Lucent WaveLAN/IEEE (Orinoco) PCMCIA card >=20 > # card is inserted, log output is > interrupt storm detected on "irq11:"; throttling interrupt source > wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x100-0x13f irq1= 1 function 0 config 1 on pccard0 > wi0: [ITHREAD] >=20 > ifconfig wlan0 create wlandev wi0 > # log output is > wlan0: Ethernet address: 00:02:2d:40:67:00 >=20 > ifconfig wlan0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890= up > # relevant ifconfig output is > wi0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric= 0 mtu 2290 > ether ..... > media: IEEE 802.11 Wireless Ethernet autoselect mode 11b > status: associated > wlan0: flags=3D8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST&= gt; metric 0 mtu 1500 > ether ... > inet6 ... > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid colnago channel 10 (2457 Mhz 11b) > ifconfig: missing or corrupted regdomain database >=20 > # ejecting card > # log output > wi0: wi_seek_bap: timeout, id ffff off 0 > wi0: wi_seek_bap: timeout, id ffff off 0 > wi0: wi_seek_bap: timeout, id ffff off 0 > wi0: wi_seek_bap: timeout, id ffff off 0 > wi: wi_write_rid: bap0 write failure, rid 0xfc03 > wi0: wi_seek_bap_ timeout, id fc00 off 0 > wi: wi_write_rid: bap0 write failure, rid 0xfc03 > wi0: wi_seek_bap_ timeout, id fc00 off 0 > wi: wi_write_rid: bap0 write failure, rid 0xfc03 > wi0: detached >=20 > ----- > 3. > 7.4 livefs > dell inspiron 6000 laptop > Lucent WaveLAN/IEEE (Orinoco) PCMCIA card >=20 > # card is inserted, log output is > wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x100-0x13f irq= 19 function 0 config 1 on pccard0 > wi0: [ITHREAD] > wi0: using Lucent Technologies, WaveLAN/IEEE > wi0: Lucent Firmware: Station (7.28.1) > wi0: Ethernet address: 00:02:2d:40:67:00 >=20 > # setting the wireless card > ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up > mkdir /var/db > dhclient wi0 >=20 > # "netstat -nr" and "ifconfig wi0" give expected output, > # wi0 driver appears to work as expected. >=20 > ----- > 4. > 8.0 livefs > dell inspiron 6000 laptop > Lucent WaveLAN/IEEE (Orinoco) PCMCIA card >=20 > # card is inserted, log output is > wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x100-0x13f irq= 19 function 0 config 1 on pccard0 > wi0: [ITHREAD] >=20 > # setting the wireless card > ifconfig wlan0 create wlandev wi0 > # log output is > bfe0: link state changed to DOWN > wlan0: Ethernet address: 00:02:2d:40:67:00 > # relevant ifconfig output is > wi0: flags=3D8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST>= ; metric 0 mtu 1500 > ether ..... > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: associated > wlan0: flags=3D8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST&= gt; metric 0 mtu 1500 > ether ... > inet6 ... > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid colnago channel 10 (2457 Mhz 11b) > # I issued "ifconfig" command several times, and each time a different= channel number is displayed: 11,2,5,9,... > mkdir /var/db > dhclient wlan0 > # output to term is > wlan0: no link ............ giving up > Fixit# >=20 > # I removed the card > # term output is > ifconfig: missing or corrupted regdomain database > # log output is > wi0: wi_seek_bap: timeout, id ffff off 0 > wi0: wi_seek_bap: timeout, id ffff off 0 > wi0: wi_seek_bap: timeout, id ffff off 0 > wi0: wi_seek_bap: timeout, id fc03 off 0 > wi: wi_write_rid: bap0 write failure, rid 0xfc03 > wi0: wi_seek_bap_ timeout, id fc00 off 0 > wi: wi_write_rid: bap0 write failure, rid 0xfc00 > wi0: wi_seek_bap_ timeout, id fc00 off 0 > wi: wi_write_rid: bap0 write failure, rid 0xfc00 > wi0: detached >=20 > ----- > 5. > 7.4 livefs > ibm t42 laptop > Senao 2511CD Plus >=20 > # card is inserted, log output is > wi0: <INTERSIL HFA384x/IEEE> at port 0x4000-0x403f irq 11 functi= on 0 config 1 on pccard0 > wi0: [ITHREAD] > wi0: using RF:PRISM2.5 MAC:ISL3873 > wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9) > wi0: Ethernet address: 00:02:6f:... >=20 > # setting the wireless card > ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up > mkdir /var/db > dhclient wi0 >=20 > # "netstat -nr" and "ifconfig wi0" give expected output, > # wi0 driver appears to work as expected. >=20 > ----- > 6. > 8.0 livefs > ibm t42 laptop > Senao 2511CD Plus >=20 > # card is inserted, log output is > interrupt storm detected on "irq11:"; throttling interrupt source > wi0: <INTERSIL HFA384x/IEEE> at port 0x100-0x13f irq11 function= 0 config 1 on pccard0 > wi0: [ITHREAD] >=20 > ifconfig wlan0 create wlandev wi0 > # log output is > wlan0: Ethernet address: 00:02:2d:40:67:00 >=20 > ifconfig wlan0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890= up > # relevant ifconfig output is > wi0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric= 0 mtu 2290 > ether ..... > media: IEEE 802.11 Wireless Ethernet autoselect mode 11b > status: associated > wlan0: flags=3D8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST&= gt; metric 0 mtu 1500 > ether ... > inet6 ... > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid colnago channel 10 (2457 Mhz 11b) > ifconfig: missing or corrupted regdomain database >=20 > # ejecting card > # log output > wi0: wi_seek_bap: timeout, id ffff off 0 > wi0: wi_seek_bap: timeout, id ffff off 0 > wi0: wi_seek_bap: timeout, id ffff off 0 > wi0: wi_seek_bap: timeout, id ffff off 0 > wi: wi_write_rid: bap0 write failure, rid 0xfc03 > wi0: wi_seek_bap_ timeout, id fc00 off 0 > wi: wi_write_rid: bap0 write failure, rid 0xfc00 > wi0: wi_seek_bap_ timeout, id fc80 off 0 > wi: wi_write_rid: bap0 write failure, rid 0xfc80 > wi0: detached >=20 > ----- > 7. > 7.4 livefs > dell inspiron 6000 laptop > Senao 2511CD Plus >=20 > # card is inserted, log output is > wi0: <INTERSIL HFA384x/IEEE> at port 0x100-0x13f irq 19 function= 0 config 1 on pccard0 > wi0: [ITHREAD] > wi0: using RF:PRISM2.5 MAC:ISL3873 > wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9) > wi0: Ethernet address: 00:02:6f:... >=20 > # setting the wireless card > ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up > mkdir /var/db > dhclient wi0 >=20 > # "netstat -nr" and "ifconfig wi0" give expected output, > # wi0 driver appears to work as expected. >=20 > # when the card is removed, log output > wi0: link state changed to DOWN > wi0: timeout in wi_seek to ffff/0 > wi0: timeout in wi_seek to ffff/0 > wi0: timeout in wi_seek to ffff/0 > wi0: detached >=20 > ----- > 8. > 8.0 livefs > dell inspiron 6000 laptop > Senao 2511CD Plus >=20 > # card is inserted, log output is > wi0: <INTERSIL HFA384x/IEEE> at port 0x100-0x13f irq19 function= 0 config 1 on pccard0 > wi0: [ITHREAD] >=20 > # setting the wireless card > ifconfig wlan0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890= up > # relevant ifconfig output is > wi0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric= 0 mtu 2290 > ether ..... > media: IEEE 802.11 Wireless Ethernet autoselect mode 11b > status: associated > wlan0: flags=3D8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST&= gt; metric 0 mtu 1500 > ether ... > inet6 ... > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid colnago channel 10 (2457 Mhz 11b) > ifconfig: missing or corrupted regdomain database > # I issued "ifconfig" command several times, and each time a different= channel number is displayed: 11,2,5,9,... > mkdir /var/db > dhclient wlan0 > # output to term is > wlan0: no link ............ giving up > # log output > bfe0: link state changed to DOWN >=20 > # I removed the card > # term output is > ifconfig: missing or corrupted regdomain database > # log output is > wi0: wi_seek_bap: timeout, id ffff off 0 > wi0: wi_seek_bap: timeout, id ffff off 0 > wi0: wi_seek_bap: timeout, id ffff off 0 > wi0: wi_seek_bap: timeout, id fc03 off 0 > wi: wi_write_rid: bap0 write failure, rid 0xfc03 > wi0: wi_seek_bap_ timeout, id fc00 off 0 > wi: wi_write_rid: bap0 write failure, rid 0xfc00 > wi0: wi_seek_bap_ timeout, id fc80 off 0 > wi: wi_write_rid: bap0 write failure, rid 0xfc80 > wi0: detached
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f7d1836.c60e440a.6b03.ffff85a9>