From owner-freebsd-bugs@FreeBSD.ORG Sat Nov 8 00:31:10 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 699F81065678 for ; Sat, 8 Nov 2008 00:31:10 +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 0F0BB8FC26 for ; Sat, 8 Nov 2008 00:31:10 +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 BE08728448 for ; Sat, 8 Nov 2008 08:31:08 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 57F86EC35E3; Sat, 8 Nov 2008 08:31:08 +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 Vm06aFqoXVpg; Sat, 8 Nov 2008 08:31:02 +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 B969EEB81BD; Sat, 8 Nov 2008 08:31:00 +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=RXOkoeWZf+4TkjspijLDzbt3DSAjkMswHUQh9EYqywL/aI52TrLWyQJOtBjuRogTl NmDn/l+HCP08naWIYqf5A== Message-ID: <4914DDC0.6080108@delphij.net> Date: Fri, 07 Nov 2008 16:30:56 -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> In-Reply-To: <5e49673f0811040358k4272c1fck1ed0c32bafad21d5@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 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: Sat, 08 Nov 2008 00:31:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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) iEYEARECAAYFAkkU3cAACgkQi+vbBBjt66Dr9gCcDia880eJ2qgaRN4DBaX47trb riwAn2bU/VQCYy+1fJ2oiOeY64Y5bItc =Qugl -----END PGP SIGNATURE-----