From owner-freebsd-current@FreeBSD.ORG Tue Dec 25 23:47:50 2007 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 6331116A41B for ; Tue, 25 Dec 2007 23:47:50 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 2478513C44B for ; Tue, 25 Dec 2007 23:47:50 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so3874149waf.3 for ; Tue, 25 Dec 2007 15:47:50 -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=SNHV+acgdniiLVn28ZTxl7sZjmO8k+iUpsGGzA9NxJ8=; b=nfVYqIRqWkcPo2EBSXelnvaZLGK+9Rhm6Y5vP3CxAMn+EOWZ6NOkV7ct0K1yEtrxpP7tAWVbPxRn/cFfziIvBLGRW0OvUeI/GHPqd2NVShLDiApOoV6IgN45ul6GUZycyu+DaW2wpWcKic/0dNNoP3lNwNq52p5V5aPQ+Pi1lrI= 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=e0J2Vr+CnCWAm9/5uRZU7gp87EyO0/QMIebe8L2HY83d/dqri9uMsbOxOHolGRuaePrv2UTqmJwAMwKQazUTbPA2lH81Z4CLC+zXnLnjwhlGy6RPzO7yENzXNYiJq1stJ11sget7mzcu89VtXFSHbkIesi4H6Wo59dwaM72FAnc= Received: by 10.114.53.1 with SMTP id b1mr5917333waa.134.1198626469969; Tue, 25 Dec 2007 15:47:49 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id m5sm4417652wag.9.2007.12.25.15.47.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Dec 2007 15:47:48 -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 lBPNlR0N001464 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Dec 2007 08:47:27 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id lBPNlO1r001463; Wed, 26 Dec 2007 08:47:24 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 26 Dec 2007 08:47:23 +0900 From: Pyun YongHyeon To: Chris Poulsen Message-ID: <20071225234723.GA1018@cdnetworks.co.kr> References: <476EE604.2070809@nesluop.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <476EE604.2070809@nesluop.dk> User-Agent: Mutt/1.4.2.1i Cc: FreeBSD Current Subject: Re: Problem with nfe stability and throughput 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: Tue, 25 Dec 2007 23:47:50 -0000 On Sun, Dec 23, 2007 at 11:49:40PM +0100, Chris Poulsen wrote: > Hi, > > I've installed CURRENT on an asus m2n-vm. My network config is giving me > problems. > > Throughput seems low. I'm seeing up/download rates less than 1 Mbyte/sec > on my local lan (100Mb). I've tried switching cables/ports in my switch etc. > > I've enabled device polling (hz=1000) > > Uploads from the box are slow but "stable". Downloads to the box are > both slow and unstable. After a few seconds i see the following lines in > my log and all transfers freeze. Doing ifconfig nfe0 down/up brings the > interface back to life. > > nfe0: discard frame w/o leading ethernet header (len 3 pkt len 3) > nfe0: discard frame w/o leading ethernet header (len 0 pkt len 0) > nfe0: discard frame w/o leading ethernet header (len 8 pkt len 8) > nfe0: discard frame w/o leading ethernet header (len 0 pkt len 0) > > I've tried applying the patch from this conversation: > http://www.nabble.com/nfe-busted-on-7.0-BETA4-to14143721.html#a14143721 > > but i still see the same error. (My dmesg/ifconfig output in the bottom > of this mail) > > Could someone please give me some pointers on how to fix these things? > > TIA > -- > Regards Chris > > > My dmesg contains: > > ata3: [ITHREAD] > nfe0: port 0xd880-0xd887 mem > 0xdfffc000-0xdfffcfff,0xdfffe400-0xdfffe4ff,0 > xdfffe000-0xdfffe00f irq 23 at device 10.0 on pci0 > miibus0: on nfe0 > ukphy0: PHY 1 on miibus0 ^^^^^^ It seems that ukphy(4) was picked up to serve your PHY hardware. I guess ukphy(4) is not right phy driver for the hardware as it could result in non-working driver. Would you show me the ukphy(4) output of verbosed boot message?(In verbosed boot mode, ukphy(4) may have printed OUI/model number of the PHY hardware.) > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto > nfe0: Ethernet address: 00:1d:60:6d:73:ec > nfe0: [FILTER] > nfe0: [FILTER] > nfe0: [FILTER] > nfe0: [FILTER] > nfe0: [FILTER] > nfe0: [FILTER] > nfe0: [FILTER] > nfe0: [FILTER] > pcib2: at device 11.0 on pci0 > > and ifconfig -a gives: > > nfe0: flags=8843 metric 0 mtu 1500 > options=48 > ether 00:1d:60:6d:73:ec > inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet 100baseTX > status: active > -- Regards, Pyun YongHyeon