From owner-freebsd-stable@FreeBSD.ORG Wed Apr 11 08:53:31 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71C8E16A402 for ; Wed, 11 Apr 2007 08:53:31 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 2757A13C459 for ; Wed, 11 Apr 2007 08:53:30 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (localhost [127.0.0.1]) by blah.sun-fish.com (Postfix) with ESMTP id AB0951B10EE0 for ; Wed, 11 Apr 2007 10:53:28 +0200 (CEST) Received: from [10.1.1.2] (unknown [192.168.25.6]) by blah.sun-fish.com (Postfix) with ESMTP id A4D721B10ED2 for ; Wed, 11 Apr 2007 10:53:28 +0200 (CEST) Message-ID: <461CA204.9030700@sun-fish.com> Date: Wed, 11 Apr 2007 11:53:24 +0300 From: Stefan Lambrev User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20060327093011.GA21070@math.jussieu.fr> <200603280747.55047.joao@matik.com.br> <20070410042415.GA50510@duncan.reilly.home> <200704100954.20900.joao@matik.com.br> In-Reply-To: <200704100954.20900.joao@matik.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on BLAH Subject: Re: watchdog network card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 08:53:31 -0000 Hi all, JoaoBR wrote: > On Tuesday 10 April 2007 01:24, Andrew Reilly wrote: > >> Wow. Somehow we've slipped through a one-year timewarp: >> >> On Tue, Mar 28, 2006 at 07:47:54AM -0300, JoaoBR wrote: >> >>> On Tuesday 28 March 2006 07:40, Andrew Reilly wrote: >>> >>>> After the last rebuild on my amd64-x2 box, both the nve ethernet >>>> on the motherboard and the dc ethernet that I had been using to >>>> work around other problems in the nve driver stopped working in >>>> this way. DEVICE_POLLING and ifconfig...polling has got me >>>> going again. I thoroughly recommend it. >>>> >>> nve does not run polling mode but dc does >>> >>> I guess you have an IRQ conflict, nve and dc on the same hw interrupt, >>> and that setting dc in polling mode worked around this problem then >>> >>> you could check vmstat -i with and without polling enabled to see it >>> >> Thanks for the tip. I haven't been running dc or nve for about >> a year, now :-) Nfe has been working beautifully for me, >> without polling. I guess that I should have a look to see if >> nve has improved in the interim, but it's difficult to make >> oneself mess with something that isn't broken... >> >> > > nfe appears to work much better (also with polling) and flawless. I tried one > and another time nve but nfe is what works, at least on amd64 and newer > hardware so probably you don't need to waste your time ;) > > > I noticed before few months that something changed in freebsd and now nfe is not very stable :( I said in freebsd because In the beginning I updated only freebsd and not the drivert itself. I thought getting latest nfe source will help but it doesn't. Anyway nfe is still lot better then nve, nve for me was useless best uptime for my network card with nve was few minutes. nfe0: watchdog timeout (missed Tx interrupts) -- recovering interrupt total rate irq1: atkbd0 6660 0 irq12: psm0 153054 0 irq15: ata1 778797 1 irq16: pcm0 2735727 7 irq17: skc0 115669786 296 irq18: nvidia0 24802500 63 irq21: ohci0+ 2418887 6 irq22: nfe0 ehci0 92319117 236 cpu0: timer 780827522 2000 Total 1019712050 2612 FreeBSD 6.2-STABLE i386 nfe0: port 0xb000-0xb007 mem 0xd5000000-0xd5000fff irq 22 at device 10.0 on pci0