From owner-freebsd-bugs@FreeBSD.ORG Mon Nov 10 23:16:18 2008 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9C3D1065670 for ; Mon, 10 Nov 2008 23:16:18 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6FAE68FC0A for ; Mon, 10 Nov 2008 23:16:18 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 336BB28448 for ; Tue, 11 Nov 2008 07:16:17 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id EFE66EC4602; Tue, 11 Nov 2008 07:16:16 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id 2XLkRsTtYA7O; Tue, 11 Nov 2008 07:16:12 +0800 (CST) Received: from charlie.delphij.net (adsl-76-237-33-62.dsl.pltn13.sbcglobal.net [76.237.33.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 003AAEC4343; Tue, 11 Nov 2008 07:16:10 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=uaTa3kxeJftMLXuDN1KWDuZO11Mf5SoEEgv0A2qPFHcEETHaTbHTtyVVeNemX3lGM wjtUgmn9QSfNfAjeRRDpg== Message-ID: <4918C0B8.2080405@delphij.net> Date: Mon, 10 Nov 2008 15:16:08 -0800 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.17 (X11/20080928) MIME-Version: 1.0 To: John Fitzgerald References: <5e49673f0811031156n5e44795bo55b7df11b75e7bf8@mail.gmail.com> <5e49673f0811040358k4272c1fck1ed0c32bafad21d5@mail.gmail.com> <4914DDC0.6080108@delphij.net> <5e49673f0811100859t47e9ece7g76d35a42293c0e85@mail.gmail.com> In-Reply-To: <5e49673f0811100859t47e9ece7g76d35a42293c0e85@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@FreeBSD.org, d@delphij.net Subject: Re: bce watchdog timeout occurred, resetting X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 23:16:18 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Fitzgerald wrote: > Many thanks. Is there any change this would lock out the interface > permanently, requiring a manual (local) ifconfig up fix? This server > is managed remotely. As far as I am aware, upgrading from 6.2 to 6.3 should be moderately safe. It depends on, however, how your kernel is configured and how bce(4) is being loaded. It looks like that using nextboot(8) can resolve part of your issue (as long as it can be rebooted by remote hands) if used carefully - install kernel into /boot/kernel.new and use it to start system for once, then if everything goes right rename it to /boot/kernel while moving the old one to /boot/kernel.old. Once you are sure that the kernel update is safe, you can proceed with userland updates. > On Fri, Nov 7, 2008 at 7:30 PM, Xin LI wrote: > Hi, John, > > John Fitzgerald wrote: >>>> On Mon, Nov 3, 2008 at 2:56 PM, John Fitzgerald wrote: >>>>> Hi there, > [...] >>>>> I'm afraid it's the driver logic problem, but I don't know where to go >>>>> from here. Any ideas? I'm using 6.2-RELEASE. > I have committed a changeset after 6.2-RELEASE which could have fixed > your problem. Could you please try if later FreeBSD releases still > suffer from this problem? > > Revision 1.2.2.8 Thu Jan 18 16:14:19 2007 UTC delphij > > MFC if_bce.c (1.23-24), if_bcereg.h (1.11): > > - Instead of if_watchdog/if_timer interface use our own timer > that piggybacks on bce_tick() callout. > - Instead of unconditionally resetting the controller, try to > skip the reset in case we got a pause frame, like em(4) did. > - Lock bce_tick() using callout_init_mtx(). > > Cheers, >> - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkYwLcACgkQi+vbBBjt66D9IgCfUUQuBAZ5Dy2b/KhJqmcw/Ni9 kswAoKy9Y2SAQzmknlDG1VV0iDJttIIV =q9pV -----END PGP SIGNATURE-----