From owner-freebsd-stable@FreeBSD.ORG Wed Apr 11 09:34:33 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 3070016A402 for ; Wed, 11 Apr 2007 09:34:33 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id D8FB813C43E for ; Wed, 11 Apr 2007 09:34:32 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so103191pyh for ; Wed, 11 Apr 2007 02:34:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=kmHhdtHrcN7yyPsk9pt3DEIVcBC6UC44Poqk1tBqRDEAVDZIrJ9c1UsM9pLrtb4LyHWHG1rHsSfmFi5TI4+I8ZLL3BIt/X1oQEUsmjZWX/CbkXW2moSDwt/SqBw0WlL68f+T5ivZRqhYmoJLi8jRF7v4mnd+tGq8QYSOgAi5kio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=Bagfd2/3GH/qkqtlySb7oqYHBpgtN0BTXdBXhxbZAG6i4jwb0BmauYBkkqHb/1BUozUuApNOvs09TndG8aIqEbzzdJXadLs/6q+3LmRUYEAuzEEvZNUvnk4WzHcOX2Qos98T858JY+FoZBCMyHNoaUhmDtVN6nxLzOjkyZgGOuo= Received: by 10.65.114.11 with SMTP id r11mr952971qbm.1176282427392; Wed, 11 Apr 2007 02:07:07 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id 16sm3185101nzo.2007.04.11.02.07.03; Wed, 11 Apr 2007 02:07:05 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l3B96LhA001537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Apr 2007 18:06:21 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l3B96IKf001536; Wed, 11 Apr 2007 18:06:18 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 11 Apr 2007 18:06:17 +0900 From: Pyun YongHyeon To: Stefan Lambrev Message-ID: <20070411090617.GB1065@cdnetworks.co.kr> References: <20060327093011.GA21070@math.jussieu.fr> <200603280747.55047.joao@matik.com.br> <20070410042415.GA50510@duncan.reilly.home> <200704100954.20900.joao@matik.com.br> <461CA204.9030700@sun-fish.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <461CA204.9030700@sun-fish.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: watchdog network card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com 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 09:34:33 -0000 On Wed, Apr 11, 2007 at 11:53:24AM +0300, Stefan Lambrev wrote: > 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 > According to the above message, it seems that you use new nfe(4). :-) > 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 ^^^^^^^^^^ You are using shared interrut so it's possible to get occasional watchdog timeouts. polling(4) should fix your issue here. > 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 > nfe(4) should be teached to use MSI/MSI-X for PCI-Express/PCI-X based adapters but it's not done yet. -- Regards, Pyun YongHyeon