Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2013 15:03:27 +0900
From:      YongHyeon PYUN <pyunyh@gmail.com>
To:        "Eugene M. Zheganin" <emz@norma.perm.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: FreeBSD 9.1-RELEASE + bge0 == watchdog timeout
Message-ID:  <20130319060327.GC1437@michelle.cdnetworks.com>
In-Reply-To: <51469BE4.6070502@norma.perm.ru>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 18, 2013 at 10:45:24AM +0600, Eugene M. Zheganin wrote:
> Hi.
> 
> On 14.03.2013 13:29, YongHyeon PYUN wrote:
> 
> >I thought you were using stable/8 but it seems you have slightly
> >older stable/8. The bge(4) code difference between CURRENT and
> >stable9/stable8 is very minor.
> Nah, I really am running recent 8/stable. My mistake was to try to apply 
> the whole code of the if_bge.c to 8/stable.
> 
> >I've attached diff against stable/8 which will address ASF/IPMI
> >issue but I'm not sure whether it helps watchdog timeout or not.
> >I have plan to MFC the change but I need time for settlement before
> >the MFC.
> Thanks a lot. Now the 'watchdog timeout' behaviour stopped, the driver 
> reports nothing on the console, but the freezes, unfortunately - didn't 
> stop. The machine is freezing at random periods of time, usually 1-2 
> days, it partially stops answering to network (network services running 
> on this machine close the connection, and other weird stuff happens), it 
> partially responds on the console (I can type but I cannot login) and so 

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.

> on.  The asf feature has no influence on this - I tried to enable it, 
> this happens anyway.
> 
> Should I try upgrade to 9 or 10, do they have more improvements in bge(4) ?

No, there is no bge(4) functional differences between stable/8 and
stable/9.



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