svn commit: r245848 - head/sys/boot/i386/libi386

John Baldwin jhb at freebsd.org
Tue Feb 5 16:45:44 UTC 2013


On Tuesday, February 05, 2013 2:46:15 am Sergey Kandaurov wrote:
> Err.. No, I haven't set hw.uart.console. Sorry for being misleading.
> The cited snippet from my previous mail was to demonstrate how the
> resulting hw.uart.console value depends (or rather not :)) on hints.
> All I have (changed) wrt console is:
> 
> /boot/device.hints
> #hint.uart.0.flags="0x10"
> hint.uart.1.flags="0x10"
> 
> /boot/loader.conf
> boot_multicons="YES"
> boot_serial="YES"
> boot_verbose="YES"
> console="comconsole,vidconsole"
> 
> This setup worked for ages. To isolate this problem I took /boot/loader
> from my older current machine (also with COM2) to replace it here,
> and it started to work again.

Right, so with this setup, you are using a non-working serial console for
the loader on COM1 and then wanting the kernel to use COM2?  Why?

If you want to do that, set hw.uart.console manually.  I think that is a
very rare case and that most folks want to use the same console in both
the loader and kernel.

-- 
John Baldwin


More information about the svn-src-all mailing list