From owner-freebsd-current@FreeBSD.ORG Wed Nov 5 01:38:04 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 130471065676 for ; Wed, 5 Nov 2008 01:38:04 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.238]) by mx1.freebsd.org (Postfix) with ESMTP id CAFF18FC20 for ; Wed, 5 Nov 2008 01:38:03 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3341616rvf.43 for ; Tue, 04 Nov 2008 17:38:03 -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=3+DSUjp0vPlftjK9zz1Dec2upm1m92GiePvjDsayhP0=; b=fJ4cbnvY/7g+Q7fkutf3fChS92L5IA4BuFLmNl9LrujU9JSX3ig8oDuFAA6/xB0cEM d+l4K7K3wm2RD3IHNRlyGq3p1LUBZJKdZjUJoqMxPknoSS63vhhRIVcYgnnf+wncVYYV JeQPbYA3/Do+aIwas8xwZXDVdFtuf1jKmlV0E= 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=rHXTJ+PXxB1ciEe5PpGhJu3n6woNC/NJNfTddXTDpZvz3GOxPUL3udZBb57DwVyI6v 3AFuPBEiCGQF3oe8+rrh8zhimKB4tnuSerk6EKN/Z3pKVaBzr7M8k19FcouDzKd/GEy8 78/RLIN7DNMewjIKLFzwS+vwb9+k53/v/Jd5E= Received: by 10.140.163.12 with SMTP id l12mr12912rve.178.1225849083571; Tue, 04 Nov 2008 17:38:03 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id l31sm5470170rvb.2.2008.11.04.17.37.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 04 Nov 2008 17:38:01 -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 mA51a06M003048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Nov 2008 10:36:00 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id mA51Zx6h003047; Wed, 5 Nov 2008 10:35:59 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 5 Nov 2008 10:35:58 +0900 From: Pyun YongHyeon To: Jan Henrik Sylvester Message-ID: <20081105013558.GA99795@cdnetworks.co.kr> References: <490F47BE.9080205@janh.de> <20081104015235.GC98154@cdnetworks.co.kr> <4910C055.8000505@janh.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4910C055.8000505@janh.de> User-Agent: Mutt/1.4.2.1i Cc: Boris Samorodov , current-list freebsd 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: Wed, 05 Nov 2008 01:38:05 -0000 On Tue, Nov 04, 2008 at 10:36:21PM +0100, Jan Henrik Sylvester wrote: > Pyun YongHyeon wrote: > >On Mon, Nov 03, 2008 at 07:49:34PM +0100, Jan Henrik Sylvester wrote: > > > >Pyun YongHyeon writes: > > > >> http://people.freebsd.org/~yongari/ale/if_ale.c > > > > > > I got an Eee PC 1000H, too, with 7.1-BETA2 and just used scp to copy > > > with 11.5MB/s -- much better than wlan for big files. Great! > > > > > > >Thanks for testing! > > I was happy too early. Now I keep getting these: > ale0: DMA read error! -- resetting > ale0: could not disable Tx/Rx MAC(0x00000008)! It looks like Tx queue processing is still in progress. Would you show me hardware MAC statistics? ("sysctl dev.ale.0.stats" will show you detailed information.) Also ale(4) related dmesg output might be useful. > ale0: interrupt moderation is 100 us. > > The speed of copying a file has dropped to <50kB/s. Stopping and > restarting the interface does not help, even if I kldunload the driver > in the meantime. I have yet to reboot the machine. > > I do not know what is different, though. I left the computer alone for > an hour before using the network... > Hmm, this is the first severe report that is related to stability of driver. Personally I've nerver met this kind of error during writing of ale(4). ATM I have no idea why DMA read error happens on your box though. As you guess I don't have access to datasheet. Is there any reliable way to reproduce it? Also I've slightly changed code which may help to stop MAC in case of critical condition. Would you get the latest if_ale.c at the following URL and try again? http://people.freebsd.org/~yongari/ale/if_ale.c > > > This will probably not go into 7.1-RELEASE, will it? > > > >It was too late to go into 7.1-RELEASE, I guess. > > It seems to be too early, anyhow. > That's one of reason why I need more wider testing. :-) > Do you want me to try anything specific? (I hope it does not involve > recompiling the kernel on this slow Eee PC.) > Since you're using kernel module, just unload ale(4) and rebuilding ale(4) is enough. For example, #cd /path/to/ale_directory/ #fetch http://people.freebsd.org/~yongari/ale/if_ale.c #ifconfig ale0 down #kldunload if_ale #make && make install #kldload if_ale #ifconfig ale0 inet x.x.x.x netmask y.y.y.y or #dhclinet ale0 if you use DHCP. -- Regards, Pyun YongHyeon