From owner-freebsd-net@FreeBSD.ORG Sat Mar 23 18:05:33 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D6997BE0 for ; Sat, 23 Mar 2013 18:05:33 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (unknown [IPv6:2001:470:1f09:14c0::2]) by mx1.freebsd.org (Postfix) with ESMTP id 89A307CB for ; Sat, 23 Mar 2013 18:05:33 +0000 (UTC) Received: from [192.168.248.32] ([192.168.248.32]) by elf.hq.norma.perm.ru (8.14.5/8.14.5) with ESMTP id r2NI5SDq072632 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 24 Mar 2013 00:05:30 +0600 (YEKT) (envelope-from emz@norma.perm.ru) Message-ID: <514DEED6.10001@norma.perm.ru> Date: Sun, 24 Mar 2013 00:05:10 +0600 From: "Eugene M. Zheganin" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: FreeBSD 9.1-RELEASE + bge0 == watchdog timeout References: <513713C2.1000007@norma.perm.ru> <20130307022446.GB3108@michelle.cdnetworks.com> <513820E2.806@norma.perm.ru> <20130307062335.GB1478@michelle.cdnetworks.com> <51383E3B.5030007@norma.perm.ru> <20130307081548.GD1478@michelle.cdnetworks.com> <20130313015753.GD3062@michelle.cdnetworks.com> <514171D1.50807@norma.perm.ru> <20130314072946.GA1519@michelle.cdnetworks.com> <51469BE4.6070502@norma.perm.ru> <20130319060327.GC1437@michelle.cdnetworks.com> In-Reply-To: <20130319060327.GC1437@michelle.cdnetworks.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (elf.hq.norma.perm.ru [192.168.3.10]); Sun, 24 Mar 2013 00:05:31 +0600 (YEKT) X-Spam-Status: No hits=-101.0 bayes=0.5 testhits ALL_TRUSTED=-1, USER_IN_WHITELIST=-100 autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on elf.hq.norma.perm.ru X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Mar 2013 18:05:33 -0000 Hi. On 19.03.2013 12:03, YongHyeon PYUN wrote: > I have no idea how this change can freeze your box. It would be > even better to know whether the issue was triggered by bge(4) > changes. I think you can use bge(4)/brgphy(4) of 8.3-RELEASE on > your stable/8. Copy required files from 8.3-RELEASE to stable/8 and > rebuild your kernel. For instance, > > Copy /usr/src/sys/dev/bge/if_bge.c from 8.3-RELEASE to /usr/src/sys/dev/bge on stable/8 > Copy /usr/src/sys/dev/bge/if_bgereg.h from 8.3-RELEASE to /usr/src/sys/dev/bge on stable/8 > Copy /usr/src/sys/dev/mii/brgphy.c from 8.3-RELEASE to /usr/src/sys/dev/mii on stable/8 > Copy /usr/src/sys/dev/mii/brgphyreg.g from 8.3-RELEASE to /usr/src/sys/dev/mii on stable/8 > And rebuild your kernel. Well, as I said, I took the if_bge* and bgrphy* sources from one of my servers running 8.3-PRERELEASE (21 мар 2012) and applied it to the stable/8 I'm running on this troubled server. This is how the "last" output looks on it: last | grep reboot reboot ~ Wed Mar 20 00:36 reboot ~ Tue Mar 19 12:44 reboot ~ Mon Mar 18 22:47 reboot ~ Mon Mar 18 08:31 reboot ~ Sun Mar 17 20:40 reboot ~ Sat Mar 16 11:24 reboot ~ Sat Mar 16 11:17 reboot ~ Fri Mar 15 15:17 reboot ~ Fri Mar 15 13:41 reboot ~ Fri Mar 15 08:58 ^^^^^^ this is the time point where the stable/8 was installed. Last reboot was on March, 20 - this is when I rolled back the bge(4) driver. Uptime is now about 4 days. Before that it couldn't stand a full day, and now - 4 days. This doesn't look accidental. Thanks. Eugene.