Re: Cannot run iperf with Atheros AR9160

From: Sam Leffler <sam_at_freebsd.org>
Date: Wed, 03 Jun 2009 09:02:38 -0700
There are chip bugs Atheros won't disclose the WAR for so the driver is 
hobbled.  In my testing the hangs were recovered w/ minimal impact.  You 
will need to scrape the necessary crap from the linux driver to find 
what is amiss.

    Sam

Eric L. Chen wrote:
> Hi
> I have an Atheros AR9160 miniPCI board, installed in my Centrino laptop
> (but the laptop has only two antenna).
> When I run iperf (from ports benchmarks/iperf) to test 11n, the test
> cannot done. Console log says bb hang, but I can ping peer node without
> problems.
> I think AR9160 driver cannot work in heavy traffic loading.
> ~> uname -a
> FreeBSD lihong-nb 8.0-CURRENT FreeBSD 8.0-CURRENT #3: Tue Jun  2
> 21:24:53 CST 2009     root_at_lihong-nb:/usr/obj/usr/src/sys/LIHONG-NB
> i386
>
> dmesg:
> ath0: <Atheros 9160> mem 0xc8200000-0xc820ffff irq 17 at device 3.0 on
> pci6
> ath0: [ITHREAD]
> ath0: AR9160 mac 64.1 RF5133 phy 11.0
> ....
> ath0: bb hang detected (0x80), reseting
> wlan0: link state changed to DOWN
> bfe0: link state changed to DOWN
> lagg0: link state changed to DOWN
> wlan0: link state changed to UP
> lagg0: link state changed to UP
> ath0: bb hang detected (0x80), reseting
> ath0: bb hang detected (0x80)
> wlan0: link state changed to DOWN
> lagg0: link state changed to DOWN
> wlan0: link state changed to UP
> lagg0: link state changed to UP
> ath0: bb hang detected (0x80), reseting
> wlan0: link state changed to DOWN
> lagg0: link state changed to DOWN
> wlan0: link state changed to UP
> lagg0: link state changed to UP
> ath0: bb hang detected (0x1), reseting
> ath0: bb hang detected (0x1)
> ath0: bb hang detected (0x1)
>
> iperf:
>  ~> iperf -i 1 -t 10 -c 192.168.10.1
> ------------------------------------------------------------
> Client connecting to 192.168.10.1, TCP port 5001
> TCP window size: 32.5 KByte (default)
> ------------------------------------------------------------
> [  3] local 192.168.10.114 port 60096 connected with 192.168.10.1 port
> 5001
> [ ID] Interval       Transfer     Bandwidth
> [  3]  0.0- 1.0 sec    952 KBytes  7.80 Mbits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3]  1.0- 2.0 sec    712 KBytes  5.83 Mbits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3]  2.0- 3.0 sec    504 KBytes  4.13 Mbits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3]  3.0- 4.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3]  4.0- 5.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3]  5.0- 6.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3]  6.0- 7.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3]  7.0- 8.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3]  8.0- 9.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3]  9.0-10.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 10.0-11.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 11.0-12.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 12.0-13.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 13.0-14.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 14.0-15.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 15.0-16.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 16.0-17.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 17.0-18.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 18.0-19.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 19.0-20.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 20.0-21.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 21.0-22.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 22.0-23.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 23.0-24.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 24.0-25.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3] 25.0-26.0 sec  0.00 Bytes  0.00 bits/sec
> [ ID] Interval       Transfer     Bandwidth
> [  3]  0.0-26.1 sec  2.12 MBytes    683 Kbits/sec
>
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
>
>   
Received on Wed Jun 03 2009 - 14:02:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:49 UTC