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>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > On 20 Jul 2015, at 18:04, Roger Pau Monn=C3=A9 <roger.pau@citrix.com> = wrote: >=20 > El 17/07/15 a les 21.02, Jeroen van der Ham ha escrit: >> Hi, >>=20 >> What is the current way of getting a xen console on a FreeBSD 10.1 = DomU? >>=20 >> I=E2=80=99ve 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, =E2=80=9Cofficial=E2=80=9D = documentation points to installation of FreeBSD 7.2(!)) >>=20 >> I found instructions to add a line to /boot/loader.conf = (console=3D"comconsole=E2=80=9D) >> or a line to /etc/ttys (xc0 "/usr/libexec/getty Pc" vt100 = on secure) >=20 > You shouldn't need to modify /etc/ttys at all unless you are using a > FreeBSD PVH guest or Dom0. >=20 >> 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 >>=20 >> Is it still possible to get a console from a Linux Dom0? How? >> What would be the best place to publish instructions for that? >=20 > Which kind of guest are you trying to get the console from? >=20 > If it's a HVM guest (I'm only guessing here), you need to add > serial=3D'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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59CA2328-4AC7-4098-8BCA-6A5A5E9A5929>