Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2008 15:16:08 -0800
From:      Xin LI <delphij@delphij.net>
To:        John Fitzgerald <jjfitzgerald@gmail.com>
Cc:        freebsd-bugs@FreeBSD.org, d@delphij.net
Subject:   Re: bce watchdog timeout occurred, resetting
Message-ID:  <4918C0B8.2080405@delphij.net>
In-Reply-To: <5e49673f0811100859t47e9ece7g76d35a42293c0e85@mail.gmail.com>
References:  <5e49673f0811031156n5e44795bo55b7df11b75e7bf8@mail.gmail.com>	 <5e49673f0811040358k4272c1fck1ed0c32bafad21d5@mail.gmail.com>	 <4914DDC0.6080108@delphij.net> <5e49673f0811100859t47e9ece7g76d35a42293c0e85@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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 <delphij@delphij.net> wrote:
> Hi, John,
> 
> John Fitzgerald wrote:
>>>> On Mon, Nov 3, 2008 at 2:56 PM, John Fitzgerald <jjfitzgerald@gmail.com> 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 <delphij@delphij.net>	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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4918C0B8.2080405>