Changes brought to bce(4) disabling ipmi access during boot
YongHyeon PYUN
pyunyh at gmail.com
Fri Mar 16 01:07:02 UTC 2012
On Thu, Mar 15, 2012 at 09:19:27AM +0100, Paul Guyot wrote:
> Le 15 mars 2012 ? 18:10, YongHyeon PYUN a ?crit :
>
> > On Wed, Mar 14, 2012 at 11:44:37PM +0100, Paul Guyot wrote:
> >> Hello,
> >>
> >> Changes brought to bce(4) prevents booting a R410 Dell server with GELI-encrypted root ZFS partition requiring a passphrase, something that was possible with 9-RELEASE.
> >>
> >> Using a binary search, the bug comes from the following revision:
> >>
> >> Updating collection src-all/cvs
> >> Edit src/sys/dev/bce/if_bce.c
> >> Add delta 1.89.2.4 2012.01.09.19.07.14 yongari
> >> Edit src/sys/dev/bce/if_bcereg.h
> >> Add delta 1.35.2.3 2012.01.09.19.07.14 yongari
> >> Shutting down connection to server
> >>
> >
> > Could you try attach patch and let me know whether it recovers IPMI
> > functionality?
>
> Thank you for your quick patch. Unfortunately, it does not recover IPMI functionality with STABLE at 2012.01.09.19.08.00.
>
Hmm, how about this one?
-------------- next part --------------
Index: sys/dev/bce/if_bce.c
===================================================================
--- sys/dev/bce/if_bce.c (revision 232950)
+++ sys/dev/bce/if_bce.c (working copy)
@@ -1992,8 +1992,7 @@
ifp = sc->bce_ifp;
mii = device_get_softc(sc->bce_miibus);
- if (mii == NULL || ifp == NULL ||
- (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0)
+ if (mii == NULL || ifp == NULL)
return;
sc->bce_link_up = FALSE;
@@ -2038,9 +2037,6 @@
}
}
- if (sc->bce_link_up == FALSE)
- return;
-
/* Set half or full duplex based on PHY settings. */
if ((mii->mii_media_active & IFM_GMASK) == IFM_HDX) {
DBPRINT(sc, BCE_INFO_PHY,
More information about the freebsd-stable
mailing list