From owner-freebsd-current@FreeBSD.ORG Wed May 31 22:30:46 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1ACE16BE44; Wed, 31 May 2006 22:30:46 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02AB743D4C; Wed, 31 May 2006 22:30:45 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp3-g19.free.fr (Postfix) with ESMTP id 0B1A6480BB; Thu, 1 Jun 2006 00:30:44 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id k4VMUeds008523; Thu, 1 Jun 2006 00:30:42 +0200 (CEST) From: Thierry Herbelot To: freebsd-current@freebsd.org Date: Thu, 1 Jun 2006 00:30:31 +0200 User-Agent: KMail/1.9.1 References: <200605241556.44483.jhb@freebsd.org> <200605271830.50724.thierry@herbelot.com> <200605311753.23976.jhb@freebsd.org> In-Reply-To: <200605311753.23976.jhb@freebsd.org> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200606010030.33558.thierry@herbelot.com> Cc: Subject: Re: [PATCH] if_dc cleanups.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2006 22:30:52 -0000 Le Wednesday 31 May 2006 23:53, John Baldwin a écrit : > > > > one side effect seems to be more watchdog timeouts : > > > > dc0: watchdog timeout > > dc0: failed to force tx and rx to idle state > > > > on a macroscopic level, the NIC is still usable (enough to get a cvs > > update > > of > > > the full world from an NFS repository). > > It shouldn't have affect the operation of the device at all. Do the probe > messages in dmesg match the dmesg lines w/o the patch exactly? Do you have > before and after dmesg's that I can compare? sorry, I did not come back : the watchdog must be due to bad PCI routing (a switch of slot resulted in the dc and USB boards working again) This is how the NIC appeared on an older kernel : (in another PCI slot, perhaps ?) +dc0: <82c169 PNIC 10/100BaseTX> port 0x9400-0x94ff mem 0xd8000000-0xd80000ff irq 19 at device 9.0 on pci0 +miibus0: on dc0 +bmtphy0: on miibus0 +bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto +dc0: Ethernet address: 00:02:e3:08:63:af this is exactly how the NIC appears today : dc0: <82c169 PNIC 10/100BaseTX> port 0xc400-0xc4ff mem 0xd8002000-0xd80020ff irq 19 at device 9.0 on pci0 miibus0: on dc0 bmtphy0: on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: Ethernet address: 00:02:e3:08:63:af using the sources with your patches : # ls -la /usr/src/sys/dev/dc total 624 drwxr-xr-x 3 root wheel 512 May 29 23:18 . drwxr-xr-x 174 root wheel 2560 May 31 20:34 .. drwxr-xr-x 2 root wheel 512 May 29 19:53 CVS -rw-r--r-- 1 root wheel 12440 May 25 09:25 dcphy.c -rw-r--r-- 1 root wheel 12392 Oct 18 2005 dcphy.c.orig -rw-r--r-- 1 root wheel 99043 May 25 09:25 if_dc.c -rw-r--r-- 1 root wheel 98871 May 12 22:51 if_dc.c.orig -rw-r--r-- 1 root wheel 34406 May 25 09:25 if_dcreg.h -rw-r--r-- 1 root wheel 37329 Mar 17 06:57 if_dcreg.h.orig TfH