From owner-freebsd-net@FreeBSD.ORG Thu Apr 30 13:19:34 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 064C11065670 for ; Thu, 30 Apr 2009 13:19:34 +0000 (UTC) (envelope-from miki.bsd@gmail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 618F08FC0C for ; Thu, 30 Apr 2009 13:19:32 +0000 (UTC) (envelope-from miki.bsd@gmail.com) Received: by ewy19 with SMTP id 19so1818073ewy.43 for ; Thu, 30 Apr 2009 06:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=qcLPwXrCWMcRgcjYfXIPjmIcG7wySYzP2Urt4nOuptU=; b=u1ze6Fc4R9Dl6pojxYRsFbppzekLAKlW2a4kgqDhTzUd0cGQLIqHsTBFwftV6fa/nM /Cesztt0slTXmyR49ifWy4ToIBnKySl7WNfi5A5DKJZyRHfTMjfovlBo7m4cgaj3+cU/ zfh1HfTi7lzGisGCbcJjOJJMqW8QgQ4k8ZDfQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bNP1p7IC2j/sE5S4bSKgE9L4lKklvTeRpDJiBeL9sboHGGL5CPq4FLWKWqj0eiNuwz rH0/Tnok6Oy7cEPTeZA6K5k/fxmh05xdu3MfocXlnoVdNAtidg891LHNzyIrHgjweflm H3xfVqiaq1prJTj/RmBQs8KBuxu0sM/2fkG50= MIME-Version: 1.0 Received: by 10.216.35.69 with SMTP id t47mr474894wea.221.1241097572198; Thu, 30 Apr 2009 06:19:32 -0700 (PDT) In-Reply-To: <20090430.013610.439575052.imp@bsdimp.com> References: <261c29700904300004k4bc02635m2729a0a54c09c135@mail.gmail.com> <20090430.011738.1617886960.imp@bsdimp.com> <261c29700904300029s6757d39ei86fbf69ef816fa48@mail.gmail.com> <20090430.013610.439575052.imp@bsdimp.com> Date: Thu, 30 Apr 2009 15:19:32 +0200 Message-ID: <261c29700904300619l3f2e2d68s580f95a3c673fddf@mail.gmail.com> From: Miki To: "M. Warner Losh" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 13:19:34 -0000 2009/4/30 M. Warner Losh > 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 > No I'm unable to trigger it with ttcp.