svn commit: r335276 - in head/stand/i386: gptboot zfsboot

Eugene Grosbein eugen at grosbein.net
Sun Jun 17 11:32:22 UTC 2018


17.06.2018 10:18, Allan Jude wrote:

> Author: allanjude
> Date: Sun Jun 17 03:18:56 2018
> New Revision: 335276
> URL: https://svnweb.freebsd.org/changeset/base/335276
> 
> Log:
>   gptboot, zfsboot, gptzfsboot: Enable the video and serial consoles early
>   
>   Normally the serial console is not enabled until /boot.config is read and
>   we know how the serial console should be configured.  Initialize the
>   consoles early in 'dual' mode (serial & keyboard) with a default serial
>   rate of 115200. Then serial is re-initialized once the disk is decrypted
>   and the /boot.config file can be read.
>   
>   This allows the GELIBoot passphrase to be provided via the serial console.
>   
>   PR:		221526
>   Requested by:	many
>   Reviewed by:	imp
>   Sponsored by:	Klara Systems
>   Differential Revision:	https://reviews.freebsd.org/D15862

I had several cases when booting FreeBSD/amd64 with motherboard having no serial ports
hang hard early at boot unless I rebuilt boot media configuring it to NOT try accessing
missing serial ports. I even could reproduce that with VirtualBox machine configured
with no serial ports (not same as existing bug inactive serial port).

Should there be some way to disable this serial ports configuration at compile time?




More information about the svn-src-head mailing list