Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2007 12:03:44 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Sam Leffler <sam@errno.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: HEADSUP: new 802.11 work committed
Message-ID:  <20070611190344.GR44064@bunrab.catwhisker.org>
In-Reply-To: <466CCC94.5050500@errno.com>
References:  <466CCC94.5050500@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--1DJquaBdcXeJgGJw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 10, 2007 at 09:16:20PM -0700, Sam Leffler wrote:
> From UPDATING:
>=20
> 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=20
> 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 =3D -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.=20

* 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@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=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=3D9<RXCSUM,VLAN_MTU>
	ether 00:08:74:e5:95:cb
	media: Ethernet autoselect (none)
	status: no carrier
fwe0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=3D8<VLAN_MTU>
	ether 46:4f:c0:76:40:41
	ch 1 dma -1
fwip0: flags=3D8802<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=3D108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> metric 0 mt=
u 1500
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5=20
	inet6 ::1 prefixlen 128=20
	inet 127.0.0.1 netmask 0xff000000=20
wi0: flags=3D8802<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 1=
1 07:07:34 PDT 2007     root@g1-18.catwhisker.org.:/common/S1/obj/usr/src/s=
ys/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=3D8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=3D9<RXCSUM,VLAN_MTU>
        ether 00:08:74:e5:95:cb
        media: Ethernet autoselect (none)
        status: no carrier
fwe0: flags=3D108802<BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
        options=3D8<VLAN_MTU>
        ether 46:4f:c0:76:40:41
        ch 1 dma -1
plip0: flags=3D108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4=20
        inet6 ::1 prefixlen 128=20
        inet 127.0.0.1 netmask 0xff000000=20
wi0: flags=3D8843<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]=20


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

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--1DJquaBdcXeJgGJw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iEYEARECAAYFAkZtnJAACgkQmprOCmdXAD25HwCgg5cK+9MvsEj8S2cXGl0hIBoq
6EQAmwa70rsCT1yx0IbCPBDy+VxT6EP+
=6orn
-----END PGP SIGNATURE-----

--1DJquaBdcXeJgGJw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070611190344.GR44064>