From owner-freebsd-stable@FreeBSD.ORG Mon Aug 1 23:00:37 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F535106566B for ; Mon, 1 Aug 2011 23:00:37 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta08.emeryville.ca.mail.comcast.net (qmta08.emeryville.ca.mail.comcast.net [76.96.30.80]) by mx1.freebsd.org (Postfix) with ESMTP id 680BD8FC15 for ; Mon, 1 Aug 2011 23:00:37 +0000 (UTC) Received: from omta22.emeryville.ca.mail.comcast.net ([76.96.30.89]) by qmta08.emeryville.ca.mail.comcast.net with comcast id FB041h00C1vN32cA8B0ZeU; Mon, 01 Aug 2011 23:00:33 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta22.emeryville.ca.mail.comcast.net with comcast id FB2Z1h00i1t3BNj8iB2a5Y; Mon, 01 Aug 2011 23:02:37 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 4AC74102C36; Mon, 1 Aug 2011 16:00:28 -0700 (PDT) Date: Mon, 1 Aug 2011 16:00:28 -0700 From: Jeremy Chadwick To: Willem Jan Withagen Message-ID: <20110801230028.GA83293@icarus.home.lan> References: <4E37286D.5070203@digiware.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E37286D.5070203@digiware.nl> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: stable@freebsd.org, "Vogel, Jack" Subject: Re: em0 timeout disconnects server 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: Mon, 01 Aug 2011 23:00:37 -0000 On Tue, Aug 02, 2011 at 12:27:57AM +0200, Willem Jan Withagen wrote: > A server just all of a sudden dropped from the network. > uptime was 26days. > > This got my ZFS server hanging: > > Aug 1 23:39:58 zfs kernel: em0: Watchdog timeout -- resetting > Aug 1 23:39:58 zfs kernel: em0: Queue(0) tdh = 942, hw tdt = 977 > Aug 1 23:39:58 zfs kernel: em0: TX(0) desc avail = 985,Next TX to Clean > = 938 > Aug 1 23:43:24 zfs kernel: em0: Watchdog timeout -- resetting > Aug 1 23:43:24 zfs kernel: em0: Queue(0) tdh = 147, hw tdt = 163 > Aug 1 23:43:24 zfs kernel: em0: TX(0) desc avail = 1006,Next TX to > Clean = 145 > > ifconfig down/up did not fix anything, un/plugging the ethernet did not > do anything either. rebooting did fix it. > > Serious maintenance jobs only starts after 0:00. > > --WjW > > uname -a: > FreeBSD zfs.digiware.nl 8.2-STABLE FreeBSD 8.2-STABLE #10: Wed Jul 6 > 21:57:36 CEST 2011 > root@zfs.digiware.nl:/home/obj/usr/src/src8/src/sys/ZFS amd64 Please provide "dmesg" output pertaining to the NIC (dmesg | grep em0 would be sufficient). > pciconf -lv: Please re-run this with -lvcb and include only the Intel NIC (em0). Also please provide output from command "sysctl dev.em.0". Thanks. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |