Problems with bge (possibly related to r208993)

Pyun YongHyeon pyunyh at gmail.com
Wed Jun 16 00:05:48 UTC 2010


On Wed, Jun 16, 2010 at 03:50:39AM +0400, Artem Kim wrote:
> On Wednesday 16 June 2010 03:21:09 Pyun YongHyeon wrote:
> 
> > Hmm, why you need link0 flag? The link0 flag is used to force the
> > interface MASTER. Normally this configuration is automatically
> > done during auto-negotiation such that one is configured as MASTER
> > and the other is configured as SLAVE. If you manually configure
> > this setting you should be very careful not to use the same
> > configuration of MASTER/SLAVE of link partner. If you have to use
> > link0 option, the link partner should be configured to use SLAVE.
> > Normally you should always use auto-negotiation on 1000baseT unless
> > link partner is severely broken to support NWAY.
> > 
> > It seems link partner does not agree on resolved speed/duplex
> > configuration of bge1. Check link partner's resolved link
> > configuration.
> > 
> 
> In any case, now I do not use the flag link0. 
> Now the master/slave is  assigned through auto-negotiation. 
> 
> link0 not been set before the problem occurred. I reset link0 flag on NAS2 
> when I got a problem the first time.
> 
> Now x900 port1.0.12 and bge0 configured automatically.
> 
> >bge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> >        media: Ethernet autoselect (1000baseT <full-duplex>)
> >        status: active
> 
> >awplus>show int port1.0.12 status
> >Port       Name               Status           Vlan Duplex   Speed Type
> >port1.0.12                    connected          55 a-full  a-1000 1000BASE-T

Would you try attached patch and let me know what you can see on
your console? The patch will display error code on console. Note,
it may spam your console a lot if you see many RX errors so please
don't apply it on your production server.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bge.show_err.diff
Type: text/x-diff
Size: 427 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100616/aecb3343/bge.show_err.bin


More information about the freebsd-stable mailing list