Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 2015 21:02:17 +0200
From:      Jeroen van der Ham <jeroen@dckd.nl>
To:        =?utf-8?Q?Roger_Pau_Monn=C3=A9?= <roger.pau@citrix.com>
Cc:        freebsd-xen@freebsd.org
Subject:   Re: Xen console on 10.1 DomU
Message-ID:  <59CA2328-4AC7-4098-8BCA-6A5A5E9A5929@dckd.nl>
In-Reply-To: <55AD1C09.7040500@citrix.com>
References:  <4C92646F-4307-4A45-B35E-DFBD09A71313@dckd.nl> <55AD1C09.7040500@citrix.com>

index | next in thread | previous in thread | raw e-mail

Hi,

> On 20 Jul 2015, at 18:04, Roger Pau Monné <roger.pau@citrix.com> wrote:
> 
> El 17/07/15 a les 21.02, Jeroen van der Ham ha escrit:
>> Hi,
>> 
>> What is the current way of getting a xen console on a FreeBSD 10.1 DomU?
>> 
>> I’ve been searching on:
>> * https://wiki.freebsd.org/FreeBSD/Xen (reasonably up to date, but has no info on console)
>> * http://wiki.xen.org (completely outdated, “official” documentation points to installation of FreeBSD 7.2(!))
>> 
>> I found instructions to add a line to /boot/loader.conf (console="comconsole”)
>> or a line to /etc/ttys (xc0     "/usr/libexec/getty Pc"         vt100   on  secure)
> 
> You shouldn't need to modify /etc/ttys at all unless you are using a
> FreeBSD PVH guest or Dom0.
> 
>> But in either case I am getting an error on the Linux Dom0:
>> xenconsole: Could not read tty from store: No such file or directory
>> 
>> Is it still possible to get a console from a Linux Dom0? How?
>> What would be the best place to publish instructions for that?
> 
> Which kind of guest are you trying to get the console from?
> 
> If it's a HVM guest (I'm only guessing here), you need to add
> serial='pty' to your xl configuration file and then follow
> https://www.freebsd.org/doc/handbook/serialconsole-setup.html.

Thanks, that did the trick.
Now the question remains where to document this properly so that others will not be mislead by all the other advice out there?

Jeroen.



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59CA2328-4AC7-4098-8BCA-6A5A5E9A5929>