From owner-freebsd-current@FreeBSD.ORG Sat Dec 20 00:25:18 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 F40EA1065674 for ; Sat, 20 Dec 2008 00:25:17 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id B6FB58FC1A for ; Sat, 20 Dec 2008 00:25:17 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2589438rvf.43 for ; Fri, 19 Dec 2008 16:25:17 -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=LvS7thAfXD+tbD439SdXZr6QHAbiMUA+2w8PN30B+JQ=; b=QiXKeH9XATy68GD9uGUdRa3SFer2JJCC4tL8AvPs+mqte+GyS6XZ3rmpJyEa1Rqa/8 FImmQOUKWN8VU182j3hBOH1TM9LVBsNZu+N/yyTJ9fvmxx0t6SKykR2EzXgu3HgU17PD Sqf3bgWCE1lYWQGnhYZkhESBYd90QxC/TDg9E= 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=UzPW827prYqTcC1qt2KdRyRGiN91vHNL8xcNKsu6avME9mGvNurDzXjSU34LNfBrLK M1sovJzIMnvqg/bcnogXCkNEGDXz3XknzRE7kPkCgKWOdPPB6ClpZf/qeY2vwzfC5dQ8 XENWNNNoWJTWk6WRIbpHX0vbQFyuJGxoIwP7c= Received: by 10.141.115.16 with SMTP id s16mr1827992rvm.209.1229732717184; Fri, 19 Dec 2008 16:25:17 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id g31sm19075642rvb.4.2008.12.19.16.25.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Dec 2008 16:25:16 -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 mBK0PAuU079660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 20 Dec 2008 09:25:10 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id mBK0PASH079659; Sat, 20 Dec 2008 09:25:10 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Sat, 20 Dec 2008 09:25:10 +0900 From: Pyun YongHyeon To: albri Message-ID: <20081220002510.GC79449@cdnetworks.co.kr> References: <46d45f030811160642m2dff1481g457f1fa1a4ac1372@mail.gmail.com> <20081117010558.GD50872@cdnetworks.co.kr> <46d45f030811171014i2ae5df78mbbebc367ef2ca7d4@mail.gmail.com> <20081124045846.GM78954@cdnetworks.co.kr> <20081203090540.GI9639@cdnetworks.co.kr> <20081219151931.88F115C3E@mail.net.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081219151931.88F115C3E@mail.net.local> 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: Sat, 20 Dec 2008 00:25:18 -0000 On Fri, Dec 19, 2008 at 04:19:31PM +0100, albri wrote: > On Wed, Dec 03, 2008 at 06:05:40PM +0900, Pyun YongHyeon wrote: > > On Mon, Nov 24, 2008 at 01:58:46PM +0900, To albri wrote: > > > On Mon, Nov 17, 2008 at 07:14:12PM +0100, albri wrote: > > > > 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. > > > > > > I still can't reproduce this and I have no idea how to solve it > > > even if I can reproduce that on my box. :-( > > > There could be a wrong in DMA configuration or some mis-programmed > > > registers but I still see no errors in these area. > > > > > > > FYI: Fix committed to HEAD(r185577). > > > > -- > > Regards, > > Pyun YongHyeon > > hello, > > with a fresh csup(1) from 19th of December nc(1) is working without any > errors, now. Thanks for testing. > Thank you very much for your work. You're welcome. > BTW: Do you have any reading hints about developing FBSD drivers? > FreeBSD developers' handbook has valuable information for starters but it lacks how to write a network device driver. Personally I used to read other driver sources in tree and asked questions to other developers. -- Regards, Pyun YongHyeon