From owner-freebsd-current@FreeBSD.ORG Wed Jun 3 16:02:41 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 380111065672 for ; Wed, 3 Jun 2009 16:02:41 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id E6AC98FC21 for ; Wed, 3 Jun 2009 16:02:40 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n53G2cFb068083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Jun 2009 09:02:39 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <4A269E9E.1070304@freebsd.org> Date: Wed, 03 Jun 2009 09:02:38 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: "Eric L. Chen" References: <1244013545.2189.8.camel@localhost> In-Reply-To: <1244013545.2189.8.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: FreeBSD Current Subject: Re: Cannot run iperf with Atheros AR9160 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 16:02:41 -0000 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@lihong-nb:/usr/obj/usr/src/sys/LIHONG-NB > i386 > > dmesg: > ath0: 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > >