serial console "detection" during boot

Andriy Gapon avg at FreeBSD.org
Sat Sep 22 11:16:54 UTC 2012


on 22/09/2012 11:40 Olivier Cochard-Labbé said the following:
> On Mon, Sep 17, 2012 at 10:23 PM, Andriy Gapon <avg at freebsd.org> wrote:
>>
>> Guys,
>>
>> With this patch I am able to boot with
>> boot_multicons="YES"
>> console="vidconsole,comconsole"
>> in loader.conf on hardware where serial ports are disabled in BIOS.
>> Previously loader would just hang trying to apply the console setting.
> 
> I confirm that I can boot under Virtualbox without serial port
> configured with your patch and dual console configuration in
> /boot/loader.conf.
> 
> But, I've still the same hang problem with a system configured for
> booting with dual console configuration like that:
> echo "-D" > /boot.config

This is because -D affects behavior of boot2 as well and boot2 uses different
serial console code (in BTX).

-- 
Andriy Gapon


More information about the freebsd-hackers mailing list