GENERICSD snapshot on a BBB has issues with loading the if_rtwn_usb module

Warner Losh imp at bsdimp.com
Mon Jan 25 22:58:05 UTC 2021


On Mon, Jan 25, 2021 at 5:33 AM Dr. Rolf Jansen <freebsd-rj at obsigna.com>
wrote:

> > Am 18.01.2021 um 18:20 schrieb Emmanuel Vadot <manu at bidouilliste.com>:
> >
> >> On Mon, 18 Jan 2021 16:07:38 -0300
> >> "Dr. Rolf Jansen" <freebsd-rj at obsigna.com> wrote:
> >>
> >> While loading of kernel modules do work with the newly build
> loader_lua.efi, a regression emerged. In /boot/loader.conf I have for some
> time now the directive loader_color="NO" in order to prevent the serial
> console changes from my default scheme black text on white background to
> white on black. Since today, the serial console shows again everything
> white on black. Is this directive not functional anymore? How can I force
> the serial console keep on showing black text on white background?
> >>
> >> Best regards
> >>
> >> Rolf
> >
> > Yes we compile with TERM_EMU now so you might need to adjust
> > teken.bg_color and teken.bg_color in loader.conf I think
>
> That does nothing. The color inversion of the serial console window
> happens already before loader.conf would be read. The first message that I
> see in white on black is that efi/freebsd/loader.env was consulted.
> However, I cannot find that loader.env file. Perhaps, I need to add the
> teken.fg_color and teken.bg_color directive to this one.
>
> For the time being, I added echo -e "\e[0m" to /etc/rc.local and this
> command switches the serial console back to normal after stating-up has
> been finished.
>

I think that the UEFI BIOS is resetting the colors. We've had issues with
that on some, but not all, of our servers. I thought they'd been ironed out
though.  I'm kinda surprised the teken settings didn't take.

Can you capture the end of the reboot, start of the next boot?

Warner


More information about the freebsd-arm mailing list