On Fri, Oct 07, 2011 at 01:11:50PM -0700, Sean Bruno wrote: > On Fri, 2011-10-07 at 12:11 -0700, YongHyeon PYUN wrote: > > > What's even more strange is that our freebsd6 instances don't have > > this > > > problem. > > > > > > > Can't explain either but probably stable/6 bce(4) may have used old > > firmware. > > Ok, I can once again reach the IPMI controller if I remove this: > > http://svnweb.freebsd.org/base/head/sys/dev/bce/if_bce.c?r1=210263&r2=210262&pathrev=210263 > > Since the driver has control over the interface, not "upping" the > interface media causes the IPMI controller to not be able to access the > network. Ugh. >
Hmm, it seems the firmware relies on driver to establish a link such that blindly disabling PHY access in DOWN state seem to make firmware believe that there is a no established link. Could you try attached patch? > Sean >
Index: sys/dev/bce/if_bce.c =================================================================== --- sys/dev/bce/if_bce.c (revision 226114) +++ sys/dev/bce/if_bce.c (working copy) @@ -6180,7 +6180,8 @@ BCE_LOCK(sc); - if ((ifp->if_flags & IFF_UP) == 0) { + if ((ifp->if_flags & IFF_UP) == 0 && + (sc->bce_flags & BCE_MFW_ENABLE_FLAG) == 0) { BCE_UNLOCK(sc); return; }
_______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"