NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Xen dom0 serial console is xencons(4)



At Tue, 27 May 2025 01:17:19 +0200, Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
Subject: Re: Xen dom0 serial console is xencons(4)
>
> On Mon, May 26, 2025 at 02:44:30PM -0700, Greg A. Woods wrote:
> > At Sat, 24 May 2025 13:38:22 +0200, Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
> > Subject: Re: Xen 4.18.5_20250521nb0 not ELF binary (Was: Re: EFI and Xen)
> > >
> > > BTW, as you're using a serial console you probably want
> > > console=com0
> > > for NetBSD
> >
> > One never wants NetBSD/Xen dom0 kernel to directly try to use the serial
> > hardware device as its console.
> >
> > Xen normally "owns" the serial hardware device after it boots, and it
> > connects it bidirectionally to the dom0's xencons(4) device [note there
> > is no such manual page in NetBSD yet].
>
> Note that for NetBSD/Xen, com0 and xencons are equivalent. In fact, anything
> that is not "pc" or "tty0" will use xencons. See xen/x86/consinit.c

But then there's no point in ever mentioning anything but "console=pc",
is there?  Suggesting "console=com0" can only lead to confusion --
especially if someone tries to figure out why there's no appearance of
"com0" in dmesg afterwards.

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpCVJWb6KCTr.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index