HEADSUP: new 802.11 work committed

David Wolfskill david at catwhisker.org
Mon Jun 11 19:05:07 UTC 2007


On Sun, Jun 10, 2007 at 09:16:20PM -0700, Sam Leffler wrote:
> From UPDATING:
> 
> 20070610:
>         The net80211 layer has changed significantly and all wireless
>         drivers that depend on it need to be recompiled.....
> Send problems to this mailing list; I will be occupied this week and 
> other folks have promised to cover any fallout from these changes.
>...

Caveat:  When I reported this for the first test patchset, I was
informed that I was the only one reporting the issues in question.  So
this may not apply to anyone else.

OK; as was the case for each of the test patchsets, after rebuilding the
world & kernel & rebooting the result, I see the following:

* /sbin/ifconfig dumps core.
  With each of the test patchsets, I tried building a debug version of
  ifconfig(8) (using "-g" as the CFLAGS value), which caused a version
  of ifconfig to be installed that no longer dumps core.  The following
  sequence was sufficient to accomplish this:

  * Modify /etc/make.conf to include the line "CFLAGS = -g"
  * cd /usr/src/sbin/ifconfig
  * touch ifieee80211.c
  * make
  * make install

  I had spent a fair amount of time poking at this with the first test
  patchset (by littering ifieee80211.c with debugging printf(3) calls).
  I will be happy to pursue this further if it is likely to be of use.

* Even after installing a copy of /sbin/ifconfig that doesn't dump core,
  the wi(4) NIC (which is the one I use most) does not associate to
  either of my 802.11b APs (using WEP).  Using the code from the first
  test patchset, I was able to get an an(4) NIC to associate. 

* I had no trouble with wired NICs ussing eh first test patchset; I
  don't anticipate problems with them with the committed code.

Here's a short typescript that illustrates some of the above:

Script started on Mon Jun 11 11:21:02 2007
localhost(7.0-C)[1] uname -a
FreeBSD localhost 7.0-CURRENT FreeBSD 7.0-CURRENT #450: Mon Jun 11 10:44:56 PDT 2007     root at g1-18.catwhisker.org.:/common/S4/obj/usr/src/sys/CANARY  i386
localhost(7.0-C)[2] date
Mon Jun 11 11:21:20 PDT 2007
localhost(7.0-C)[3] /sbin/ifconfig
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=9<RXCSUM,VLAN_MTU>
	ether 00:08:74:e5:95:cb
	media: Ethernet autoselect (none)
	status: no carrier
fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 46:4f:c0:76:40:41
	ch 1 dma -1
fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	lladdr 44.4f.c0.0.30.76.40.41.a.2.ff.fe.0.0.0.0
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
	inet6 ::1 prefixlen 128 
	inet 127.0.0.1 netmask 0xff000000 
wi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 00:02:2d:5b:2c:78
	media: IEEE 802.11 Wireless Ethernet autoselect (none)
	status: no carrier
	ssid "" channel 1 (2412 Mhz 11b)
	stationname 0x3a6920c000dd0508e3cf040880c0202880f0202888debfbf29e1
	authmode OPEN privacy OFF txpowmax 100 bmiss 7 scanvalid 60
Segmentation fault (core dumped)
localhost(7.0-C)[4] exit

Script done on Mon Jun 11 11:22:39 2007

For some measure of comparison, here's today's STABLE:

g1-18(6.2-S)[10] uname -a
FreeBSD g1-18.catwhisker.org. 6.2-STABLE FreeBSD 6.2-STABLE #421: Mon Jun 11 07:07:34 PDT 2007     root at g1-18.catwhisker.org.:/common/S1/obj/usr/src/sys/CANARY  i386
g1-18(6.2-S)[11] date
Mon Jun 11 12:02:45 PDT 2007
g1-18(6.2-S)[12] /sbin/ifconfig
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:08:74:e5:95:cb
        media: Ethernet autoselect (none)
        status: no carrier
fwe0: flags=108802<BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
        options=8<VLAN_MTU>
        ether 46:4f:c0:76:40:41
        ch 1 dma -1
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
        inet6 ::1 prefixlen 128 
        inet 127.0.0.1 netmask 0xff000000 
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 172.17.1.18 netmask 0xffff0000 broadcast 172.17.255.255
        ether 00:02:2d:5b:2c:78
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: associated
        ssid lmdhw-net channel 1 bssid 00:04:5a:cd:d4:17
        stationname "FreeBSD WaveLAN/IEEE node"
        authmode OPEN privacy MIXED deftxkey 1 wepkey 1:40-bit txpowmax 100
        bmiss 7 bintval 100
g1-18(6.2-S)[13] 


Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Anything and everything is a (potential) cat toy.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070611/f05b0905/attachment.pgp


More information about the freebsd-current mailing list