From owner-freebsd-current@FreeBSD.ORG Mon Nov 17 01:08:01 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 B0B341065680 for ; Mon, 17 Nov 2008 01:08:01 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id 7A6B58FC08 for ; Mon, 17 Nov 2008 01:08:01 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2112094rvf.43 for ; Sun, 16 Nov 2008 17:08:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from :to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=VAmpqDFeAZx0N0MWbBI4Nyrr4Na/8YYdmtG5Q9y4mVU=; b=EhVBHsDU2gfEv0QC4cOf7AWFIvS+Q8509S64ybZCF94iON5/BBNCxaUqU8zYcBc2R2 1RI+4IUGoCfKOPwN6V4bKC7zU5MMiDto61QOdjG0jAD3NVrrRF4cUAoeBbevyIGPpgc9 pXBC0Tskg8O6JPhwhzia6stcKHAVrX53leCJ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=BRVB4lxLcLxp+IY9G8+tpixxiGDoJWs+Kaf4LjiO9x1a7akzWusXaRv3VzaHUGheXj IphSxf/AkOuE2l7FU3+jCIVxrFZdWX7XWlaLW7hgxsgyuzRTPMbqBElGM+uMWzKYnBcD /2MModRszFZ8oDICxNQRtIbaEa7EGyWEbz14I= Received: by 10.141.141.3 with SMTP id t3mr1937293rvn.15.1226884080761; Sun, 16 Nov 2008 17:08:00 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id b8sm8077447rvf.3.2008.11.16.17.07.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 16 Nov 2008 17:07:59 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id mAH15xle051187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Nov 2008 10:05:59 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id mAH15wGJ051186; Mon, 17 Nov 2008 10:05:58 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 17 Nov 2008 10:05:58 +0900 From: Pyun YongHyeon To: albri Message-ID: <20081117010558.GD50872@cdnetworks.co.kr> References: <46d45f030811160642m2dff1481g457f1fa1a4ac1372@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46d45f030811160642m2dff1481g457f1fa1a4ac1372@mail.gmail.com> User-Agent: Mutt/1.4.2.1i 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 Reply-To: pyunyh@gmail.com 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 01:08:01 -0000 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.) > 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. > > One way I can reproduce this is the following: > on desktop PC: $> nc -4nl 1234 > bigfile.tar.gz > on 1000H: $> nc -4n 192.x.x.x 1234 < bigfile.tar.gz > It makes no difference wether I am a user or root. Tested over a > switch and a crossover cable. > Does anybody has a hint? > > best regards. > > - attachments: > As this is my first post, I try to attach my kernelconfig and two > sysctl dev.ale.0 (before and after error). > > - 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. > 10 ale0: could not disable Tx/Rx MAC(0x00000008)! > 11 ale0: link state changed to DOWN > 12 ale0: link state changed to UP > 13 ale0: link state changed to DOWN > 14 ale0: link state changed to UP > 15 [..] 20 times > 16 ale0: DMA read error! -- resetting > 17 ale0: could not disable Tx/Rx MAC(0x00000008)! > 18 ale0: link state changed to DOWN > 19 ale0: link state changed to UP > > - 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? > 3 ether 00:23:54:xx:xx:xx > 4 inet 192.168.xxx.xxx netmask 0xffffff00 broadcast 192.168.xxx.255 > 5 media: Ethernet autoselect (100baseTX ) > 6 status: active > -- Regards, Pyun YongHyeon