Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2024 11:59:16 +0100
From:      Robert Schulze <rs@bytecamp.net>
To:        stable@freebsd.org
Subject:   Re: not working /dev/console
Message-ID:  <27224122-3f36-4e88-87b4-c4cfc0a6b7d8@bytecamp.net>
In-Reply-To: <DBE9ABDF-092F-4198-9E14-DF2E0AAB3638@cs.huji.ac.il>
References:  <DBE9ABDF-092F-4198-9E14-DF2E0AAB3638@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

Am 27.11.24 um 09:34 schrieb Daniel Braniss:
> Hi,
> when the console is not uart0, init’s output, which I assume uses /dev/console
> is lost. Boot, kernel and login work ok, also debugger.

you can give the loader a hint, which uart is considered a console.
In my case, any IPMI-console on uart1 works with the following settings 
in /boot/loader.conf:

--
boot_multicons="yes"
comconsole_port="0x2f8"

hint.uart.0.flags="0x0"
hint.uart.1.flags="0x10"
hint.uart.1.baud="115200"
--

hint.uart.N.flags="0x10" means: this is a potential system console.
See uart(4) manpage for this.

regards,
Robert Schulze



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27224122-3f36-4e88-87b4-c4cfc0a6b7d8>