From owner-freebsd-current@FreeBSD.ORG Thu Nov 17 17:07:58 2005 Return-Path: X-Original-To: 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 CADC216A420; Thu, 17 Nov 2005 17:07:58 +0000 (GMT) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2006D43D49; Thu, 17 Nov 2005 17:07:57 +0000 (GMT) (envelope-from mike@sentex.net) Received: from pumice3.sentex.ca (pumice3.sentex.ca [64.7.153.26]) by smarthost1.sentex.ca (8.13.4/8.13.4) with ESMTP id jAHH7u17054874; Thu, 17 Nov 2005 12:07:56 -0500 (EST) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by pumice3.sentex.ca (8.13.4/8.13.4) with ESMTP id jAHH7tHs009374; Thu, 17 Nov 2005 12:07:55 -0500 (EST) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3/8.13.3) with ESMTP id jAHH7sbe040733 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 17 Nov 2005 12:07:54 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20051117120533.057ddae0@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Thu, 17 Nov 2005 12:08:04 -0500 To: John Baldwin , freebsd-current@freebsd.org From: Mike Tancsa In-Reply-To: <200511171135.53903.jhb@freebsd.org> References: <20051117010651.97608.qmail@web50303.mail.yahoo.com> <20051117143322.lvz347pzkcg480co@netchild.homeip.net> <200511171135.53903.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 X-Scanned-By: MIMEDefang 2.53 on 64.7.153.26 Cc: alan bryan , Alexander Leidinger , FreeBSD current mailing list , "Bjoern A. Zeeb" Subject: Re: [PATCH] nve(4) locking cleanup 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: Thu, 17 Nov 2005 17:07:58 -0000 At 11:35 AM 17/11/2005, John Baldwin wrote: >Hmm, there are a couple of changes such as calling pfnInit() in attach() and >calling pfnClearTXDesc() in nve_stop() that might be interesting. I've stuck >those in my work tree and have made a seperate patch relative to HEAD if >folks want to try them out: > >http://www.FreeBSD.org/~jhb/patches/nve_dffixes.patch On a RELENG_6 kernel with the drivers from HEAD with the above patch applied, driver loaded as kld, the box does not seem to crash, but the nic does wedge nve0: link state changed to DOWN nve0: link state changed to UP nve0: link state changed to DOWN nve0: link state changed to UP nve0: device timeout (64) nve0: link state changed to DOWN nve0: link state changed to UP nve0: link state changed to DOWN nve0: link state changed to UP while generating a lot of 2 way traffic. This is a Tyan 939 board. Trying to mount root from ufs:/dev/da0s1a nve0: port 0xe400-0xe407 mem 0xfebfc000-0xfebfcfff irq 23 at device 10.0 on pci0 nve0: Ethernet address 00:e0:81:58:91:fa miibus2: on nve0 ukphy0: on miibus2 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto nve0: Ethernet address: 00:e0:81:58:91:fa nve0: [GIANT-LOCKED] ---Mike