From owner-freebsd-net@FreeBSD.ORG Tue Sep 28 21:45:38 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E9DD106566C for ; Tue, 28 Sep 2010 21:45:38 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2AAAB8FC1E for ; Tue, 28 Sep 2010 21:45:37 +0000 (UTC) Received: by iwn34 with SMTP id 34so189968iwn.13 for ; Tue, 28 Sep 2010 14:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=bnlLyQdghBK1/wW3JMOr5SS68uVYVJTNPOMnz/8fxJQ=; b=qgiXPt8O9oPwbR+6EooqVykU/24saTPl2Ijh5BMbdD68weg+x6OEJH799mrazeHsQT LpBQYXJtIkKBnhV6HLfLiowe4c877EJ0EGDP1IdmQsC0HeC4C1JFYYiVrTM92Vlyx6Os efSkdLG2q51dpQ3XJoVOqGaSlBmNBVSQB41SE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=IdYd5drBT30eXBblz79mHcrRAqdLzBvRDM0IH4IVzaWFR2rX0vupyjY+G/1htym2AS dNH01Yxb674EPHJAfTs2KPlEruIMm5/t970zZNfZBhPc6l1lswjf0RlyRuoKZWTka6X2 6qRTS5icLphHl5TxVaRI3HS04a6p8Gmxte6sc= Received: by 10.231.35.135 with SMTP id p7mr628638ibd.73.1285710337375; Tue, 28 Sep 2010 14:45:37 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id r3sm8045939ibk.19.2010.09.28.14.45.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 28 Sep 2010 14:45:33 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Tue, 28 Sep 2010 14:44:38 -0700 From: Pyun YongHyeon Date: Tue, 28 Sep 2010 14:44:38 -0700 To: a.smith@ukgrid.net Message-ID: <20100928214438.GC1252@michelle.cdnetworks.com> References: <20100923154054.21153ulpaucsnocg@webmail2.ukgrid.net> <20100924021115.GI15014@michelle.cdnetworks.com> <20100924123938.80702gxrzyfpury0@webmail2.ukgrid.net> <20100924165452.GA19036@michelle.cdnetworks.com> <20100927122713.12822br1odth4sro@webmail2.ukgrid.net> <20100927165129.GA1435@michelle.cdnetworks.com> <20100928132445.72052m5iw9f41ns4@webmail2.ukgrid.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100928132445.72052m5iw9f41ns4@webmail2.ukgrid.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: bge watchdog timeout errors FreeBSD 7.3 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2010 21:45:38 -0000 On Tue, Sep 28, 2010 at 01:24:45PM +0100, a.smith@ukgrid.net wrote: > Quoting Pyun YongHyeon : > > >Oops, sorry. I forgot one more chunk. You need to apply this one in > >addition to two patches. > >http://svn.freebsd.org/viewvc/base/stable/7/sys/dev/bge/if_bgereg.h?r1=202861&r2=208995&view=patch > > > > Hi, > > Ok I have installed the patches, and rebuilt the kernel. > Unfortunately the errors persist, > > > Sep 28 12:27:58 vcomm kernel: bge0: watchdog timeout -- resetting > Sep 28 12:27:58 vcomm kernel: bge0: link state changed to DOWN > Sep 28 12:28:00 vcomm kernel: bge0: link state changed to UP > > Although prior to the installation of the patch I tried to copy some > backup files off the server via scp. Copying a large file ~2GB caused > the network connection to drop and the copy to fail. Testing after > applying the patch shows that this is now improved, I have ran a few > copies without any problems... > > Where does that leave things? > Ok thanks for testing. It seems you have another issue which is not correctly handled in bge(4). I'm not sure you're actually seeing an errata of controller but could you try patch at the following URL? http://freefall.freebsd.org/~yongari/bge/bge.7.3R.post.diff The patch includes all patches I suggested so please back out previous patches before applying it. The patch was written to get better RX performance under high network load and it also includes a fix for a known hardware errata. But it's highly experimental and it's not for non-MSI bge(4) controllers because the patch may trigger other locking issues due to highly increased RX BD updates ratio in firmware for controllers that use shared interrupt. It seems your controller uses MSI so you don't have to worry about the issue. However don't apply the patch to production box.