From owner-freebsd-net@FreeBSD.ORG Wed Apr 29 07:13:55 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 9A4F6106566B for ; Wed, 29 Apr 2009 07:13:55 +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 058B18FC13 for ; Wed, 29 Apr 2009 07:13:54 +0000 (UTC) (envelope-from miki.bsd@gmail.com) Received: by ewy19 with SMTP id 19so1005606ewy.43 for ; Wed, 29 Apr 2009 00:13:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=MJmTauD/4x2xxI9bT+34csgW3rTCYpAo+3cWLBK5mNc=; b=SiU/hoazOSMnWZ+mGEXh6YTcwcgDd3x2ygIWr24o2yy25m9CI/R/QL9CY2rC7xdHY2 ZyGDmKt657RmyGhsta5W9IQfWJhsbX2ozCDZJsh02wtOBP7i2KQG/hQ3bBr1XLQUGq9d qZmHamuLqYOpgTgqQNKBYm8y1jLBRBAxeSMG0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MnzCpb4EH4P475+cRsobxt73q/Ji/XsGAxu8k9sJgBtynmVo9whayzWPBTYOImSRPd KYzSptdUh8MYmo+i9z6+yx/IUBoZiMsgF49ieaATgDGU8Y7R8HWA+n61h2PTT4rjSEbd S5K1MD9bsrf56wlSHfwey5zK7gNS6lPXklXrM= MIME-Version: 1.0 Received: by 10.216.18.212 with SMTP id l62mr1046507wel.76.1240987355471; Tue, 28 Apr 2009 23:42:35 -0700 (PDT) Date: Wed, 29 Apr 2009 08:42:35 +0200 Message-ID: <261c29700904282342q62828573hf2631a7f79a10581@mail.gmail.com> From: miki miki To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: [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: Wed, 29 Apr 2009 07:13:56 -0000 Hi, 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 Apr 28 14:21:40 iut-mir-o kernel: ed0: link state changed to DOWN Apr 28 14:21:42 iut-mir-o kernel: ed0: link state changed to UP Apr 28 14:22:51 iut-mir-o kernel: ed0: link state changed to DOWN Apr 28 14:22:53 iut-mir-o kernel: ed0: link state changed to UP I've double checked that there are no wire/switch/hub problems. The card used to work fine with previous version of FreeBSD, 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. FreeBSD [hostname] 8.0-CURRENT FreeBSD 8.0-CURRENT #6 r191614M: Tue Apr 28 07:57:07 CEST 2009 user@hostname:/usr/obj/usr/src/sys/LETHE amd64 ed0: at port 0x100-0x11f irq 19 function 0 config 32 on pccard0 ed0: WARNING: using obsoleted if_watchdog interface ed0: Ethernet address: 00:0d:88:21:54:e2 miibus1: on ed0 nsphyter0: PHY 1 on miibus1 nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dev.ed.0.type: DL10022 dev.ed.0.TxMem: 4608 dev.ed.0.RxMem: 19968 dev.ed.0.Mem: 24576 dev.ed.0.%desc: D-Link DFE-670TXD dev.ed.0.%driver: ed dev.ed.0.%location: function=0 dev.ed.0.%pnpinfo: manufacturer=0x0149 product=0x4530 cisvendor="D-Link" cisproduct="DFE-670TXD" function_type=6 dev.ed.0.%parent: pccard0 Should I submit a PR ? Thanks for your support, Miki