Subject: interface ath in hostap mode gets an OACTIVE flag
To: None <tech-net@NetBSD.org>
From: Konstantin KABASSANOV <Konstantin.Kabassanov@lip6.fr>
List: tech-net
Date: 01/10/2006 12:19:32
This is a multi-part message in MIME format.
------=_NextPart_000_006B_01C615E0.1C09CDE0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Hi,
Some of the ath interfaces in my soekris boxes get an OACTIVE flag. These
interfaces are in hostap mode:
ath1: flags=8d43<UP,BROADCAST,RUNNING,PROMISC,OACTIVE,SIMPLEX,MULTICAST> mtu
1500
ssid TEST-AP
powersave off
bssid 00:20:a6:58:0b:ae chan 3
address: 00:20:a6:58:0b:ae
media: IEEE802.11 autoselect mode 11g hostap
status: active
inet6 2001:660:3302:2a20:220:a6ff:fe58:bae prefixlen 64
inet6 fe80::220:a6ff:fe58:bae%ath1 prefixlen 64 scopeid 0x5
BTW in /var/log/messages:
Jan 8 10:06:01 soekris-12 /netbsd: ath1: device timeout
Jan 8 16:22:31 soekris-12 /netbsd: ath1: device timeout
Jan 9 09:22:08 soekris-12 /netbsd: ath1: device timeout
Jan 9 11:28:44 soekris-12 rtadvd[414]: <ra_output> sendmsg on ath1: No
buffer space available
Jan 9 12:00:05 soekris-12 rtadvd[414]: <ra_output> sendmsg on ath1: No
buffer space available
Jan 9 12:00:08 soekris-12 rtadvd[414]: <ra_output> sendmsg on ath1: No
buffer space available
The only place I found in ath.c able to put the interface in this state is
in the ath_start function. On the other hand "ifconfig ath1 down; ifconfig
ath1 up" makes the interface start working again. So I wonder what could be
the difference between this manual "reset" and the "device
timeout"->"reset"->"ath_start" procedure. Anything not drained correctly?
Konstantin
_________________________________
Konstantin K. KABASSANOV
LIP6/CNRS
8, rue du Capitaine Scott
75015 Paris, France
Phone: +33 (0) 1 44 27 71 26
Fax: +33 (0) 1 44 27 74 95
E-mail: konstantin@kabassanov.com
Web: http://www.kabassanov.com
_________________________________
IMPORTANT! If you have tried to reply to this mail and you received a
stupid message, announcing that the mail had been rejected as spam,
please, resend your reply to the address above.
The certificate used to sign this e-mail can be verified at:
http://igc.services.cnrs.fr/CNRS-Standard/recherche.html
Mediocrity is the worst kind of failure...
------=_NextPart_000_006B_01C615E0.1C09CDE0
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILoDCCA2Qw
ggJMoAMCAQICAQAwDQYJKoZIhvcNAQEEBQAwKzELMAkGA1UEBhMCRlIxDTALBgNVBAoTBENOUlMx
DTALBgNVBAMTBENOUlMwHhcNMDEwNDI3MDU0NDM2WhcNMjEwNDIyMDU0NDM2WjArMQswCQYDVQQG
EwJGUjENMAsGA1UEChMEQ05SUzENMAsGA1UEAxMEQ05SUzCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAN13q/Hq/Hi1FKHcd2JWl4wvt1TCTFSm1H0iR3t0qffjrXxVshTwSF2YjwK9khG2
iE/EFfVvWFv3ibUn6q+g/KCOiIaPnyS2kE4k3GfQT49+Vi0bKAdysRdnoA7bQk7DfLQloviMBLGp
gl2Mj9SDe+6qn9fS2/ZbbsKBENaaq12IHDbKBWRoS4uewFCUI/22KLWvXaTdpsXT2FcrPvi1usTY
/xIiXyRpB2LkNEoId8owu+zT7XWQaKKMcXIn3hUmLCUhhCqeVxiBciO9Zh8P47e9F9oSuhlU9Bwt
j3FSM7G2KLZ6aMuaTVI4+kiMwUuJlo/GF1vLuQ4OgVwaxzQ5V70CAwEAAaOBkjCBjzAMBgNVHRME
BTADAQH/MB0GA1UdDgQWBBRW62i50lx+mLWlU8ORb2NYxPlrtzBTBgNVHSMETDBKgBRW62i50lx+
mLWlU8ORb2NYxPlrt6EvpC0wKzELMAkGA1UEBhMCRlIxDTALBgNVBAoTBENOUlMxDTALBgNVBAMT
BENOUlOCAQAwCwYDVR0PBAQD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