From owner-freebsd-current@FreeBSD.ORG Sun Dec 23 22:56:23 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 2809616A419 for ; Sun, 23 Dec 2007 22:56:23 +0000 (UTC) (envelope-from mailinglist@nesluop.dk) Received: from unixdunk.nesluop.dk (cpe.atm4-0-51450.0x535f05ca.hrnxx12.customer.tele.dk [83.95.5.202]) by mx1.freebsd.org (Postfix) with SMTP id 92D4E13C458 for ; Sun, 23 Dec 2007 22:56:22 +0000 (UTC) (envelope-from mailinglist@nesluop.dk) Received: (qmail 4184 invoked by uid 89); 23 Dec 2007 23:49:25 -0000 Received: from unknown (HELO ?192.168.1.100?) (192.168.1.100) by unixdunk.nesluop.dk with SMTP; 23 Dec 2007 23:49:25 -0000 Message-ID: <476EE604.2070809@nesluop.dk> Date: Sun, 23 Dec 2007 23:49:40 +0100 From: Chris Poulsen User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Problem with nfe stability and throughput 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: Sun, 23 Dec 2007 22:56:23 -0000 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 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