Date: Sun, 1 Jan 2012 01:15:05 +0000 From: "Lay, Nathan" <nsl03@my.fsu.edu> To: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Subject: RE: ath "stops working" in hostap mode Message-ID: <A838E171DD71354E99079424FC4F7DDB182A9042@CH1PRD0502MB118.namprd05.prod.outlook.com> In-Reply-To: <CAJ-Vmo=eOXQ1%2B%2B%2Bj0%2BK1MKgJqoBv5EUXTBECf%2BmCRa%2BC6D_6dQ@mail.gmail.com> References: <A838E171DD71354E99079424FC4F7DDB182A9020@CH1PRD0502MB118.namprd05.prod.outlook.com>, <CAJ-Vmo=eOXQ1%2B%2B%2Bj0%2BK1MKgJqoBv5EUXTBECf%2BmCRa%2BC6D_6dQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--_003_A838E171DD71354E99079424FC4F7DDB182A9042CH1PRD0502MB118_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Adrian,=0A= Thanks for the prompt response. Bumping the interface up and down does not = fix it. Destroying and recreating the interface does not fix it either. The= interface is completely unresponsive when this problem arises. As far as I= can tell, it does not transmit (it vanishes from view from all other devic= es).=0A= =0A= I do not have ATH_ENABLE_11N compiled in. Would this improve stability? The= interface shows that it is using 11g mode with background scanning turned = off. Here is exactly how it is configured and used:=0A= =0A= create_args_wlan0=3D"wlanmode hostap -bgscan"=0A= autobridge_bridge0=3D"wlan0 lan0"=0A= =0A= It also sits behind pf (I saw pf mentioned in a similar message about ath).= =0A= =0A= I've installed athstats. Attached is the output.=0A= =0A= Best Regards,=0A= Nathan Lay=0A= =0A= ________________________________________=0A= From: Adrian Chadd [adrian.chadd@gmail.com]=0A= Sent: Saturday, December 31, 2011 8:03 PM=0A= To: Lay, Nathan=0A= Subject: Re: ath "stops working" in hostap mode=0A= =0A= Hi,=0A= =0A= I'd prefer you to email the -wireless list so we can debug this in public. = :)=0A= =0A= On 31 December 2011 16:59, Lay, Nathan <nsl03@my.fsu.edu> wrote:=0A= > Hi Adrian,=0A= > I saw in the PR and mailing list that someone else seemed to have problem= s=0A= > with ath in hostap mode. I have no idea what causes it as it happens for = no=0A= > apparent reason after an arbitrary amount of time. The first time I saw t= his=0A= > problem, it happened after 1 day of uptime. The next time, it happened af= ter=0A= > a week of uptime. A reboot is required to remedy the problem although I'm= =0A= > not certain if reloading the module would solve the problem (I did not ha= ve=0A= > it compiled as a loadable module).=0A= =0A= Is this something that has been going on for a while? Or is it a recent thi= ng?=0A= =0A= > uname:=0A= > FreeBSD RADIO.LOCAL 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #2: Sat Dec 31= =0A= > 01:19:47 EST 2011 nslay@RADIO.LOCAL:/usr/obj/usr/src/sys/RADIO amd64= =0A= >=0A= > I don't know the SVN revision as I still have it setup to use CVS. Is the= re=0A= > anyway I can get the SVN revision from CVS? All I can tell you is that I= =0A= > updated the sources on the 23rd when the security advisories were issued.= =0A= =0A= There's no easy way, no. it's just easier to work from subversion. :)=0A= =0A= > Here's what I have:=0A= > ath0: <Atheros 5416> mem 0xfe9f0000-0xfe9fffff irq 16 at device 0.0 on pc= i1=0A= > ath0: AR5418 mac 12.10 RF2133 phy 8.1=0A= >=0A= > I noticed that you claim the AR5416 is crap. I might just look for an AR9= xxx=0A= > card instead.=0A= =0A= It's not "crap", it's just an early version of their 802.11n stuff and=0A= the newer stuff is much more stable.=0A= =0A= > I'm not terribly familiar with the ath sysctl tunables, but here's someth= ing=0A= > that looks unusual:=0A= > dev.ath.0.stats.rx_phy_err.31: 30190=0A= =0A= Just ignore that unless it's actually continuing to rise. :)=0A= =0A= > (All others are 0 count)=0A= >=0A= > I also noticed this tunable:=0A= > dev.ath.0.hal.ar5416_biasadj=0A= >=0A= > Is this something relevant to me?=0A= >=0A= > I am fluent in C. Is there anywhere specific I could look through?=0A= =0A= The thing to do is figure out:=0A= =0A= * what you mean by "stops working" ;-)=0A= * is it a tx problem, an rx problem, or both=0A= * make sure you've not enabled 11n (ie, you haven't compiled the=0A= kernel with ATH_ENABLE_11N) as that could be part of it, even on -9.=0A= * do any counters change - compile up sys/tools/tools/ath/athstats and=0A= use that to start to figure out what's going on.=0A= * does bumping the interface fix things - ie ifconfig wlanX down;=0A= ifconfig wlanX up?=0A= =0A= =0A= =0A= Adrian=0A= =0A= --_003_A838E171DD71354E99079424FC4F7DDB182A9042CH1PRD0502MB118_ Content-Type: text/plain; name="athstats.txt" Content-Description: athstats.txt Content-Disposition: attachment; filename="athstats.txt"; size=842; creation-date="Sun, 01 Jan 2012 01:11:20 GMT"; modification-date="Sun, 01 Jan 2012 01:11:20 GMT" Content-ID: <8f243d47-9bca-4a02-ab9d-ab0101309f00> Content-Transfer-Encoding: base64 YXRoc3RhdHM6IGF0aDA6IEludmFsaWQgYXJndW1lbnQKYXRoc3RhdHM6IGF0aDA6IEludmFsaWQg YXJndW1lbnQKMjY0MzY5OSAgZGF0YSBmcmFtZXMgcmVjZWl2ZWQKNjgzNzgxICAgZGF0YSBmcmFt ZXMgdHJhbnNtaXQKNDY3ICAgICAgdHggZnJhbWVzIHdpdGggYW4gYWx0ZXJuYXRlIHJhdGUKOTY5 MjEgICAgbG9uZyBvbi1jaGlwIHR4IHJldHJpZXMKMTU0MDAgICAgdHggZmFpbGVkICdjdXogdG9v IG1hbnkgcmV0cmllcwo4MiAgICAgICBzdHVjayBiZWFjb24gY29uZGl0aW9ucwoxMk0gICAgICBj dXJyZW50IHRyYW5zbWl0IHJhdGUKMTQwODMgICAgdHggZnJhbWVzIHdpdGggbm8gYWNrIG1hcmtl ZAo2NDQyOTggICB0eCBmcmFtZXMgd2l0aCBzaG9ydCBwcmVhbWJsZQoxNjA2OTkgICByeCBmYWls ZWQgJ2N1eiBvZiBiYWQgQ1JDCjMwNjU4ICAgIHJ4IGZhaWxlZCAnY3V6IG9mIFBIWSBlcnIKICAg IDMwNjU4ICAgIENDSyByZXN0YXJ0CjY1ODA1MSAgIGJlYWNvbnMgdHJhbnNtaXR0ZWQKMjI0NiAg ICAgcGVyaW9kaWMgY2FsaWJyYXRpb25zCi0wLyswICAgIFRETUEgc2xvdCBhZGp1c3QgKHVzZWNz LCBzbW9vdGhlZCkKNTAgICAgICAgcnNzaSBvZiBsYXN0IGFjawoyNyAgICAgICBhdmcgcmVjdiBy c3NpCi05NiAgICAgIHJ4IG5vaXNlIGZsb29yCjI1NDE0ICAgIHR4IGZyYW1lcyB0aHJvdWdoIHJh dyBhcGkKMTE1OTYgICAgY2FicSBmcmFtZXMgdHJhbnNtaXR0ZWQKNjYxOSAgICAgY2FicSB4bWl0 IG92ZXJmbG93ZWQgYmVhY29uIGludGVydmFsCkFudGVubmEgcHJvZmlsZToKWzBdIHR4ICAgNjY4 MzUyIHJ4ICAgMTYyMTA1ClsxXSB0eCAgICAgICAgMCByeCAgMjQ4MTU5NAo= --_003_A838E171DD71354E99079424FC4F7DDB182A9042CH1PRD0502MB118_ Content-Type: text/plain; name="ifconfig.txt" Content-Description: ifconfig.txt Content-Disposition: attachment; filename="ifconfig.txt"; size=550; creation-date="Sun, 01 Jan 2012 01:13:52 GMT"; modification-date="Sun, 01 Jan 2012 01:13:52 GMT" Content-ID: <c7a1b04b-5ca8-4709-80f3-0688465a59bb> Content-Transfer-Encoding: base64 d2xhbjA6IGZsYWdzPTg5NDM8VVAsQlJPQURDQVNULFJVTk5JTkcsUFJPTUlTQyxTSU1QTEVYLE1V TFRJQ0FTVD4gbWV0cmljIDAgbXR1IDE1MDAKCWV0aGVyIDFjOmFmOmY3OmYzOjQyOmMxCglpbmV0 NiBmZTgwOjoxZWFmOmY3ZmY6ZmVmMzo0MmMxJXdsYW4wIHByZWZpeGxlbiA2NCB0ZW50YXRpdmUg c2NvcGVpZCAweDEwIAoJbmQ2IG9wdGlvbnM9Mjk8UEVSRk9STU5VRCxJRkRJU0FCTEVELEFVVE9f TElOS0xPQ0FMPgoJbWVkaWE6IElFRUUgODAyLjExIFdpcmVsZXNzIEV0aGVybmV0IGF1dG9zZWxl Y3QgbW9kZSAxMWcgPGhvc3RhcD4KCXN0YXR1czogcnVubmluZwoJc3NpZCBMYW1wIGNoYW5uZWwg NSAoMjQzMiBNSHogMTFnKSBic3NpZCAxYzphZjpmNzpmMzo0MjpjMQoJcmVnZG9tYWluIEZDQyBp bmRvb3IgZWNtIGF1dGhtb2RlIFdQQSBwcml2YWN5IE1JWEVEIGRlZnR4a2V5IDIKCUFFUy1DQ00g MjoxMjgtYml0IEFFUy1DQ00gMzoxMjgtYml0IHR4cG93ZXIgMjcgc2NhbnZhbGlkIDYwCglwcm90 bW9kZSBDVFMgd21lIGJ1cnN0IGR0aW1wZXJpb2QgMSAtZGZzCg== --_003_A838E171DD71354E99079424FC4F7DDB182A9042CH1PRD0502MB118_--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A838E171DD71354E99079424FC4F7DDB182A9042>