From owner-freebsd-net@FreeBSD.ORG Thu Apr 30 07:38:35 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88F8110656C0 for ; Thu, 30 Apr 2009 07:38:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 47E688FC23 for ; Thu, 30 Apr 2009 07:38:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n3U7a8Zn004758; Thu, 30 Apr 2009 01:36:08 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 30 Apr 2009 01:36:10 -0600 (MDT) Message-Id: <20090430.013610.439575052.imp@bsdimp.com> To: miki.bsd@gmail.com From: "M. Warner Losh" In-Reply-To: <261c29700904300029s6757d39ei86fbf69ef816fa48@mail.gmail.com> References: <261c29700904300004k4bc02635m2729a0a54c09c135@mail.gmail.com> <20090430.011738.1617886960.imp@bsdimp.com> <261c29700904300029s6757d39ei86fbf69ef816fa48@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org Subject: Re: [ed] link state constantly going down and up X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2009 07:38:35 -0000 In message: <261c29700904300029s6757d39ei86fbf69ef816fa48@mail.gmail.com> Miki writes: : 2009/4/30 M. Warner Losh : : > In message: <261c29700904300004k4bc02635m2729a0a54c09c135@mail.gmail.com> : > Miki writes: : > : 2009/4/29 M. Warner Losh : > : : > : > : I have a problem with a D-Link DFE-670TXD which is handled by if_ed : : > : > : the link state is constantly going down and up : : > : > : Apr 28 14:21:33 iut-mir-o kernel: ed0: link state changed to DOWN : > : > : Apr 28 14:21:35 iut-mir-o kernel: ed0: link state changed to UP : > : > ... : > : > : the problem appear with the following commit : : > : > : SVN rev 190643 on 2009-04-02 16:58:45Z by imp (CVS rev 1.126) : > : > : I do not see any link state change if I revert the commit. : > : > : > : > Doh! : > : > : > : > I needed to force auto negotiation for other cards to work. Let me : > : > see if I can dig up the DFE-670TXD and go from there... Are you also : > : > seeing really horrible network performance as well? Do you see this : > : > only under load, or just at idle? : > : > : > : > Warner : > : > : > : : > : Yes network performance suffers from this. The problem only appears under : > : load : > : but not when idle. : > : > Thanks. I'll try to reproduce it here. I noticed this on one of the : > cards, but had trouble reproducing it, but I'll try harder. : > : > Warner : > : : I can easily reproduce this by downloading an ISO image via ftp : and doing a checkout of a subversion repository OK. I'll try that. Do you know if you are able to trigger it with ttcp too? That's where I saw the odd symptoms before... Warner