Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jun 2008 02:36:36 +0200
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        Andrew Thompson <thompsa@FreeBSD.org>
Cc:        FreeBSD Current <current@FreeBSD.org>
Subject:   Re: Problem since "wlan" came in: SIOCS80211: Device not configured
Message-ID:  <4845E394.6080301@FreeBSD.org>
In-Reply-To: <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> <20080604002448.GB80688@citylink.fud.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Andrew Thompson wrote:
| On Thu, May 29, 2008 at 12:51:17PM +0200, Pietro Cerutti wrote:
| Any news?
|
|> Sorry for the delay. Can you set sysctl debug.wpi=128 and show me the
|> output when you try the scan.

Hi,
no problem.

My kernel + world have been updated today.


Here's the output:

Jun  4 02:26:25 gahrtop sudo:     gahr : TTY=ttyp4 ; PWD=/home/gahr ;
USER=root ; COMMAND=/usr/sbin/wpa_supplicant -i wlan0 -c
/etc/wpa_supplicant.conf
Jun  4 02:26:25 gahrtop kernel: wpi_newstate: SCAN -> INIT flags 0x2
Jun  4 02:26:31 gahrtop kernel: wpi0: timeout resetting Tx ring 1
Jun  4 02:26:31 gahrtop kernel: wpi0: timeout resetting Tx ring 3
Jun  4 02:26:31 gahrtop kernel: wpi0: timeout resetting Tx ring 4
Jun  4 02:26:31 gahrtop kernel: microcode alive notification version
10e02 alive 1
Jun  4 02:26:31 gahrtop kernel: microcode alive notification version
10e02 alive 1
Jun  4 02:26:41 gahrtop kernel: wpi_newstate: INIT -> SCAN flags 0x2
Jun  4 02:26:41 gahrtop kernel: Scanning Essid: "tappeto"
Jun  4 02:26:41 gahrtop kernel: Scanning 1 Passive: 0
Jun  4 02:26:41 gahrtop kernel: scanning channel 1 status 1
Jun  4 02:26:41 gahrtop kernel: scan finished nchan=1 status=1 chan=1
Jun  4 02:26:41 gahrtop kernel: Scanning Essid: "tappeto"
Jun  4 02:26:41 gahrtop kernel: Scanning 6 Passive: 0
Jun  4 02:26:41 gahrtop kernel: scanning channel 6 status 1
Jun  4 02:26:41 gahrtop kernel: scan finished nchan=1 status=1 chan=6
Jun  4 02:26:41 gahrtop kernel: Scanning Essid: "tappeto"
Jun  4 02:26:41 gahrtop kernel: Scanning 11 Passive: 0
Jun  4 02:26:41 gahrtop kernel: scanning channel 11 status 1
Jun  4 02:26:41 gahrtop kernel: scan finished nchan=1 status=1 chan=11
Jun  4 02:26:41 gahrtop kernel: Scanning Essid: "tappeto"
Jun  4 02:26:41 gahrtop kernel: Scanning 7 Passive: 0
Jun  4 02:26:41 gahrtop kernel: scanning channel 7 status 1
Jun  4 02:26:41 gahrtop kernel: scan finished nchan=1 status=1 chan=7
Jun  4 02:26:41 gahrtop kernel: Scanning Essid: "tappeto"
Jun  4 02:26:41 gahrtop kernel: Scanning 13 Passive: 0
Jun  4 02:26:41 gahrtop kernel: wpi0: fatal firmware error
Jun  4 02:26:41 gahrtop kernel: wpi0: timeout resetting Rx ring
Jun  4 02:26:41 gahrtop kernel: microcode alive notification version
10e02 alive 1
Jun  4 02:26:41 gahrtop kernel: microcode alive notification version
10e02 alive 1
Jun  4 02:27:17 gahrtop kernel: wpi_newstate: SCAN -> INIT flags 0x2
Jun  4 02:28:23 gahrtop sudo:     gahr : TTY=ttyp5 ; PWD=/home/gahr ;
USER=root ; COMMAND=/usr/sbin/wpa_supplicant -i wlan0 -c
/etc/wpa_supplicant.conf -dd
Jun  4 02:28:24 gahrtop kernel: wpi0: timeout resetting Tx ring 1
Jun  4 02:28:24 gahrtop kernel: wpi0: timeout resetting Tx ring 3
Jun  4 02:28:24 gahrtop kernel: wpi0: timeout resetting Tx ring 4
Jun  4 02:28:24 gahrtop kernel: microcode alive notification version
10e02 alive 1
Jun  4 02:28:24 gahrtop kernel: microcode alive notification version
10e02 alive 1
Jun  4 02:28:34 gahrtop kernel: wpi_newstate: INIT -> SCAN flags 0x2
Jun  4 02:28:34 gahrtop kernel: Scanning Essid: "tappeto"
Jun  4 02:28:34 gahrtop kernel: Scanning 1 Passive: 0
Jun  4 02:28:34 gahrtop kernel: scanning channel 1 status 1
Jun  4 02:28:34 gahrtop kernel: scan finished nchan=1 status=1 chan=1
Jun  4 02:28:34 gahrtop kernel: Scanning Essid: "tappeto"
Jun  4 02:28:34 gahrtop kernel: Scanning 6 Passive: 0
Jun  4 02:28:34 gahrtop kernel: scanning channel 6 status 1
Jun  4 02:28:34 gahrtop kernel: scan finished nchan=1 status=1 chan=6
Jun  4 02:28:34 gahrtop kernel: Scanning Essid: "tappeto"
Jun  4 02:28:34 gahrtop kernel: Scanning 11 Passive: 0
Jun  4 02:28:34 gahrtop kernel: scanning channel 11 status 1
Jun  4 02:28:34 gahrtop kernel: scan finished nchan=1 status=1 chan=11
Jun  4 02:28:34 gahrtop kernel: Scanning Essid: "tappeto"
Jun  4 02:28:34 gahrtop kernel: Scanning 7 Passive: 0
Jun  4 02:28:34 gahrtop kernel: scanning channel 7 status 1
Jun  4 02:28:34 gahrtop kernel: scan finished nchan=1 status=1 chan=7
Jun  4 02:28:34 gahrtop kernel: Scanning Essid: "tappeto"
Jun  4 02:28:34 gahrtop kernel: Scanning 13 Passive: 0
Jun  4 02:28:34 gahrtop kernel: wpi0: fatal firmware error
Jun  4 02:28:34 gahrtop kernel: wpi0: timeout resetting Rx ring
Jun  4 02:28:34 gahrtop kernel: microcode alive notification version
10e02 alive 1
Jun  4 02:28:34 gahrtop kernel: microcode alive notification version
10e02 alive 1

Thanks for looking at it!


|
|
|> 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?
| |
|
_______________________________________________
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"

- --
Pietro Cerutti
gahr@FreeBSD.org

PGP Public Key:
http://gahr.ch/pgp

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAkhF45MACgkQwMJqmJVx945JXwCgjin5mFBEaXcbRYCrf4sYDqoi
0VQAn2y5kV+w6VYMSosE25ju7eGeNTSj
=tCiV
-----END PGP SIGNATURE-----



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