看板 FB_stable 關於我們 聯絡資訊
--DBIVS5p969aUjpLe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --DBIVS5p969aUjpLe Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="bge.show_err.diff" Index: sys/dev/bge/if_bge.c =================================================================== --- sys/dev/bge/if_bge.c (revision 209211) +++ sys/dev/bge/if_bge.c (working copy) @@ -3382,6 +3382,9 @@ stdcnt++; m = sc->bge_cdata.bge_rx_std_chain[rxidx]; if (cur_rx->bge_flags & BGE_RXBDFLAG_ERROR) { +#if 1 + printf("%04x ", cur_rx->bge_error_flag); +#endif bge_rxreuse_std(sc, rxidx); continue; } --DBIVS5p969aUjpLe Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --DBIVS5p969aUjpLe--