FreeBSD 9.1-RELEASE + bge0 == watchdog timeout

YongHyeon PYUN pyunyh at gmail.com
Tue Mar 19 06:03:40 UTC 2013


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.


More information about the freebsd-net mailing list