From owner-freebsd-questions@FreeBSD.ORG Sat Apr 4 11:10:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D745106564A for ; Sat, 4 Apr 2009 11:10:56 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mtumishi.cyberleo.net (mtumishi.cyberleo.net [69.72.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 19E128FC17 for ; Sat, 4 Apr 2009 11:10:55 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from [172.16.44.14] (adsl-71-155-238-201.dsl.emhril.sbcglobal.net [71.155.238.201]) by mtumishi.cyberleo.net (Postfix) with ESMTPSA id 4EA0312C83; Sat, 4 Apr 2009 07:10:48 -0400 (EDT) Message-ID: <49D7403E.9010802@cyberleo.net> Date: Sat, 04 Apr 2009 06:10:54 -0500 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.21 (X11/20090321) MIME-Version: 1.0 To: Fred References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: msk0: watchdog timeout (missed Tx interrupts) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2009 11:10:56 -0000 Fred wrote: > Hi, > > I recently upgraded from 6.3 to 7.1 (7.1-RELEASE-p4) with freebsd-update, > and I now have problems with msk0 very often (which I did have before) : > > Mar 30 20:14:19 blackbox kernel: msk0: watchdog timeout (missed Tx > interrupts) -- recovering > Mar 30 20:14:58 blackbox kernel: msk0: watchdog timeout (missed Tx > interrupts) -- recovering > ... > > which lead to not being able to access the net at all. > I saw some people had this issue at different version of fbsd etc, due to > some issue of the nic itself that had to be workaround, so I tried > some early source code for msk : > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/msk/?only_with_tag=RELENG_7 > > but I still have this issue (I make buildkernel, installkernel; at first I > only compiled > the module, but it seems that in 7.3 it's in the kernel itself so that the > module won't load) > > Here is some info from dmesg about my nic: > > mskc0: port 0x7c00-0x7cff mem > 0xfddfc000-0xfddfffff irq 17 at device 0.0 on pci3 > msk0: on mskc0 > msk0: Ethernet address: 00:50:43:00:45:3e > miibus0: on msk0 > mskc0: [FILTER] > > Thanks for you help, this issue is really painful, I have witnessed this same issue on an Intel Mac Mini, after a few gigabytes of network transfer. The workaround I found was to disable MSI. If I remember my testing correctly, I tested this fix in 7.1, then reinstalled FreeNAS (6.4) to try it there. mskc0: port 0x1000-0x10ff mem 0x90200000-0x90203fff irq 16 at device 0.0 on pci1 mskc0: Unexpected number of MSI messages : 0 msk0: on mskc0 msk0: Ethernet address: 00:16:cb:b0:d6:62 miibus0: on msk0 e1000phy0: on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto mskc0: [FAST] /boot/loader.conf: hw.pci.enable_msi=0 hw.pci.enable_msix=0 uname -a: FreeBSD freenas.cyberleo.net 6.4-RC2 FreeBSD 6.4-RC2 #0: Fri Nov 7 17:30:32 UTC 2008 root@vmbsd64i386:/usr/obj/freenas/usr/src/sys/FREENAS-i386 i386 Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/