From owner-freebsd-current@FreeBSD.ORG Wed Jun 4 00:23:29 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65C081065681; Wed, 4 Jun 2008 00:23:29 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 017588FC12; Wed, 4 Jun 2008 00:23:28 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id E08352D3AF; Wed, 4 Jun 2008 12:23:27 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AulxR7itiFyW; Wed, 4 Jun 2008 12:23:23 +1200 (NZST) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Wed, 4 Jun 2008 12:23:23 +1200 (NZST) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 8E45911428; Wed, 4 Jun 2008 12:24:48 +1200 (NZST) Date: Tue, 3 Jun 2008 17:24:48 -0700 From: Andrew Thompson To: Pietro Cerutti Message-ID: <20080604002448.GB80688@citylink.fud.org.nz> References: <48317B44.1080909@FreeBSD.org> <20080519131325.GC55052@rink.nu> <48317ED8.3030904@FreeBSD.org> <4831B2D3.3080600@freebsd.org> <20080519231726.GA44361@citylink.fud.org.nz> <483210CC.5070309@FreeBSD.org> <20080520000911.GA46085@citylink.fud.org.nz> <48329C31.1050309@FreeBSD.org> <483E8AA5.3000401@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <483E8AA5.3000401@FreeBSD.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: FreeBSD Current Subject: Re: Problem since "wlan" came in: SIOCS80211: Device not configured X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2008 00:23:29 -0000 On Thu, May 29, 2008 at 12:51:17PM +0200, Pietro Cerutti wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Any news? Sorry for the delay. Can you set sysctl debug.wpi=128 and show me the output when you try the scan. Andrew > Pietro Cerutti wrote: > | Andrew Thompson wrote: > | | On Tue, May 20, 2008 at 01:44:12AM +0200, Pietro Cerutti wrote: > | |> -----BEGIN PGP SIGNED MESSAGE----- > | |> Hash: SHA512 > | |> > | |> > | |> | > | |> | I have looked at this, I believe the error case in this situation is > | |> | that the vap is running but the taskq to init the parent has not > | |> | completed yet. The scan checks the parents status before auctioning > | it. > | |> | > | |> | Can you see if this fixes it. I am not sure its the correct > | approach but > | |> | will at least confirm the fault. > | |> > | |> For which definition of 'this'? ;-) > | | > | | That was a test, you passed. Try this patch. > | | > | > | So, the "ioctl[SIOCS80211, op 103, len 128]: Device not configured" > | error doesn't appear anymore, but wpa_supplicant still doesn't leave > | status SCANNING.... > | > | I also see these messages on the console while bringing up the > | interface, maybe related? > | > | May 20 11:34:36 gahrtop kernel: wpi0: timeout resetting Tx ring 1 > | May 20 11:34:36 gahrtop kernel: wpi0: timeout resetting Tx ring 3 > | May 20 11:34:36 gahrtop kernel: wpi0: timeout resetting Tx ring 4 > | May 20 11:34:36 gahrtop kernel: wpi0: fatal firmware error > | May 20 11:34:36 gahrtop kernel: wpi0: timeout resetting Rx ring > | > | Otherwise, same thing... no voice from wpa_supplicant after: > | > | No suitable AP found. > | Setting scan request: 0 sec 0 usec > | Starting AP scan (broadcast SSID) > | > | The strange thing is that: > | > | | sudo ifconfig wlan0 list scan > | SSID BSSID CHAN RATE S:N INT CAPS > | NETGEAR 00:09:5b:a8:53:f4 11 11M 28:0 100 Ec > | ZyXEL 00:19:cb:14:f4:ed 13 54M 1:0 100 ES WME > | > | | sudo ifconfig wlan0 scan > | [wait here forever...] > | > | How does the interface know about stations in range if it cannot scan? > | > > - -- > Pietro Cerutti > gahr@FreeBSD.org > > PGP Public Key: > http://gahr.ch/pgp > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (FreeBSD) > > iEYEAREKAAYFAkg+iqMACgkQwMJqmJVx9451LQCfd+HVpHTIAXI3FBpLZTrDcF2c > 1ogAnRb/KQlmaO4Tc+Z60UiY/iHIe/KM > =oaOT > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"