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

Re: [Xen-users] serial console to Dom0 -- connection, but only 'garbage' (� , 'question mark') output. config wrong?

  • To: pgnet.dev@xxxxxxxxx, Xen-users@xxxxxxxxxxxxx
  • From: Sarah Newman <srn@xxxxxxxxx>
  • Date: Fri, 31 Jan 2020 18:01:47 -0800
  • Delivery-date: Sat, 01 Feb 2020 02:02:20 +0000
  • Dkim-filter: OpenDKIM Filter v2.11.0 mail.prgmr.com C1F5572008A
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

On 1/31/20 5:54 PM, PGNet Dev wrote:
On 1/31/20 5:48 PM, Sarah Newman wrote:
ok, confused.

That sounds like Xen claiming the serial port.

Given you want Xen and Linux to share a serial port, shouldn't you be using the 
virtual serial port hvc0 within Linux when booted under xen?

I _thought_ that's what I'm doing already with,

        GRUB_CMDLINE_LINUX_XEN_REPLACE="xencons=xvc console=tty0 console=hvc0 

 console=com1,vga ..."

i.e., I _have_, currently,

        cat /proc/cmdline
                ... xencons=xvc console=tty0 console=hvc0

Is that not correct usage?

(... digs through dusty notes ...)

That is correct usage.

You shouldn't expect the serial port you're asking Xen to use to be exposed in 
Linux. You have to go through hvc0 instead.

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.