Problem with Atheros adapter (TP-LINK TL-WDN4800, AR9380)

2015-02-04 Thread Willy Offermans
Dear FreeBSD friends, Excuse me, I just became member of this mailling list, so I could not respond to the correct mail thread. About two months ago (December 14 and 15, there were some mails posted concerning trouble with the TP-LINK TL-WDN4800 PCI Express adapter. David and Adrian had a

Re: Problem with Atheros adapter (TP-LINK TL-WDN4800, AR9380)

2014-12-15 Thread David Blewett
I haven't hit a kernel panic, but several times I get to the point where the wifi connection from Macbook no longer functions. The icon says it's connected, but no network traffic passes. I see this in dmesg on the FreeBSD box: ath0: ath_tx_default_comp: bf 0xfe004e7a3b98: seqno 1873: bf_next

Re: Problem with Atheros adapter (TP-LINK TL-WDN4800, AR9380)

2014-12-15 Thread Adrian Chadd
Hi, The ath_tx_default_comp stuff was fixed in -HEAD with a reasonably big overhaul of the 11n aggregation code. It fixed a whole lot of bugs. I don't think there's going to be a cheap solution to that besides running -HEAD or backporting. I was kinda hoping another committer would step up and

Problem with Atheros adapter (TP-LINK TL-WDN4800, AR9380)

2014-12-14 Thread David Blewett
Hi All: I've been having issues with a TP-LINK TL-WDN4800 PCI Express adapter [1] that seem to have become worse since upgrading to 10.1-RELEASE. Since then, I've had a couple of kernel panics. I use the adapter in hostapd mode as my main WiFi access point. I would appreciate any help in making

Re: Problem with Atheros adapter (TP-LINK TL-WDN4800, AR9380)

2014-12-14 Thread Adrian Chadd
Hi! Hm, an integer divide by zero fault. Tsk. can you do this: kgdb /boot/kernel/kernel list *0x8045161d Thanks! -adrian On 14 December 2014 at 11:24, David Blewett da...@dawninglight.net wrote: Hi All: I've been having issues with a TP-LINK TL-WDN4800 PCI Express adapter [1]

Re: Problem with Atheros adapter (TP-LINK TL-WDN4800, AR9380)

2014-12-14 Thread David Blewett
If this would be easier on IRC, I'm BlueAidan on Freenode. Output: (kgdb) list *0x8045161d 0x8045161d is in ar9300_ani_ar_poll (/usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_ani.c:1180). 1175 */ 1176if (!DO_ANI(ah)) { 1177return; 1178}

Re: Problem with Atheros adapter (TP-LINK TL-WDN4800, AR9380)

2014-12-14 Thread Adrian Chadd
Aha! Listen time is 0. Hm! Just add this at line 1179 and recompile: if (ani_state-listen_time == 0) return; it's possible that it'll happen; it shoud be bailing out sooner rather than later. -adrian On 14 December 2014 at 11:53, David Blewett da...@dawninglight.net wrote: If this

Re: Problem with Atheros adapter (TP-LINK TL-WDN4800, AR9380)

2014-12-14 Thread David Blewett
Okay, I can try to give that a go. Will take me a bit. I use ZFS on encrypted geli devices, and haven't tried building a custom kernel yet with this config. Thanks, David Blewett On Sun, Dec 14, 2014 at 2:55 PM, Adrian Chadd adr...@freebsd.org wrote: Aha! Listen time is 0. Hm! Just add

Re: Problem with Atheros adapter (TP-LINK TL-WDN4800, AR9380)

2014-12-14 Thread David Blewett
​Okay, I've built a custom kernel with if_ath_pci as a module, rebooted into the new kernel and got it running. I also enabled AH_DEBUG. Will let you know how things go this week.​ Thanks, David Blewett On Sun, Dec 14, 2014 at 2:58 PM, David Blewett da...@dawninglight.net wrote: Okay, I can