From owner-freebsd-current@FreeBSD.ORG Mon Nov 17 18:14:15 2008 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 DF5AB1065672 for ; Mon, 17 Nov 2008 18:14:15 +0000 (UTC) (envelope-from galbrig@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 582E98FC13 for ; Mon, 17 Nov 2008 18:14:15 +0000 (UTC) (envelope-from galbrig@googlemail.com) Received: by fg-out-1718.google.com with SMTP id l26so2070752fgb.35 for ; Mon, 17 Nov 2008 10:14:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vZuN4ty2SQyIXunUiyMnQc61NxdDCvH8nJAqi5en7gw=; b=u+FlxzzhprdbPWQQA7npCvBjOYKqDJK1tDsVa65IUnQicKUuKWPHBqx1PEdXa5sgOU thMvIkr05fODmzj2D24/7cSe/BApxM7RAf9WKg8kpl+S4u3nV+m9NGInghJG5NrVwliu TIVNt1D3JdUGwo3yls3w6yqcHXaVenEfyQdJk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=GmfGUsesfHN978JLGcsyk39nSSxxn6+hGAj/X0Ugluvrr2RScDj1xCH42PMhvoIV59 HmwsqksN6i6wTvyTD8enw+n1wPyUwIWyTgcHRFo3I8oJZEUDzwoKgOwKK8jiuxR/EHEo 8mHCwAiMrWH4tngSQ9tCB3ykt3B/QFd1iXp00= Received: by 10.181.141.7 with SMTP id t7mr1083443bkn.10.1226945652954; Mon, 17 Nov 2008 10:14:12 -0800 (PST) Received: by 10.181.145.2 with HTTP; Mon, 17 Nov 2008 10:14:12 -0800 (PST) Message-ID: <46d45f030811171014i2ae5df78mbbebc367ef2ca7d4@mail.gmail.com> Date: Mon, 17 Nov 2008 19:14:12 +0100 From: albri To: pyunyh@gmail.com In-Reply-To: <20081117010558.GD50872@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46d45f030811160642m2dff1481g457f1fa1a4ac1372@mail.gmail.com> <20081117010558.GD50872@cdnetworks.co.kr> Cc: freebsd-current@freebsd.org Subject: Re: Call for testers: Atheros AR8121(L1E)/AR8113/AR8114(L2E) ethernet 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: Mon, 17 Nov 2008 18:14:16 -0000 hello, On 11/17/08, Pyun YongHyeon wrote: > On Sun, Nov 16, 2008 at 03:42:16PM +0100, albri wrote: > > hello, > > > > I have issues transfering big or many files over ethernet on 1000H, also. > > Using yongari's ale(4) driver > > http://people.freebsd.org/~yongari/ale/ale.20081114.tar.gz I did not > > have any problems while I surf or download 37MB sourcecode from inet. > > Then scp(1)'ing source from 1000H to desktop PC showed a transfer rate > > with maximum 86kB/s regardless to which direction is copied. The > > ethernet NIC, while copying, is switched off regularily then. No > > copies possible after three megabytes. > > Try turning off TSO and let me know how it goes. > ("#ifconfig ale0 -tso" will do the job.) > this helps a little bit with two effects. Copying source-tree with scp(1): Now I can see transfers with up to approx. 500kB/s - inaccurate measured with scp(1), but relation counts. Transfer stalles after different data volumes with DMA-error on tty0, but networking port is not turned off. This happens after 30-80MB data transfers. You can restart the whole copy at once again. Copying source-tree with nc(1) tar-gzipped: Transfer stops and starts with DMA-error every approx. 7MB with turning off NIC. > > Next try was a big file. A packed tarball from the source-tree was > > copied via nc(1) using TCP-protocol. After 7 until 17MB no transfer > > possible and same symptoms like above. > > [..] > > - dmesg shows: > > 1 ale0: port > > 0xec00-0xec7f mem 0x fbfc0000-0xfbffffff irq 17 at device 0.0 on > > pci3 > > 2 ale0: 960 Tx FIFO, 1024 Rx FIFO > > 3 ale0: Using 1 MSI messages. > > 4 miibus0: on ale0 > > 5 ale0: Ethernet address: 00:23:54:xx:xx:xx > > 6 ale0: [FILTER] > > 7 ale0: flags=8843 metric 0 mtu > 1500 > > 8 ale0: link state changed to UP > > 9 ale0: DMA read error! -- resetting > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This would be major reason why you're getting poor performance. > Yes, definately. See above. [..] > > > > - ifconfig shows: > > 1 ale0: flags=8843 metric 0 mtu > 1500 > > 2 options=319b > > It seems that your hardware doesn't have WOL capability. But I > guess EeePC 1000H does support WOL. You've disabled some > functionality of ethernet controller in BIOS? > Ethernet controller is turned on in BIOS, but booting via ROM is turned off. Maybe did I not compile WOL to my (nearly) monolithic kernel? And if so, I do not know the switch. [..] > > -- > Regards, > Pyun YongHyeon > Did you remember my second post?: >I want to make one addition: >doing a ># sockstat -46l >I get following error: >sockstat: struct xtcpcb size mismatch >sockstat: struct xtcpcb size mismatch Is there a relation to DMA-error? best regards.