At Tue, 27 May 2025 01:17:19 +0200, Manuel Bouyer <bou...@antioche.eu.org> 
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 <bou...@antioche.eu.org> 
> > 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 <gwo...@acm.org>

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

Attachment: pgpyAU8UHr8Fu.pgp
Description: OpenPGP Digital Signature

Reply via email to