From owner-freebsd-xen@freebsd.org Mon Jul 20 19:02:45 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B93F79A68F2 for ; Mon, 20 Jul 2015 19:02:45 +0000 (UTC) (envelope-from jeroen@dckd.nl) Received: from positron.dckd.nl (positron.dckd.nl [IPv6:2a02:898:62:f6::63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7F6EA1DEE for ; Mon, 20 Jul 2015 19:02:45 +0000 (UTC) (envelope-from jeroen@dckd.nl) Received: from [192.168.178.228] (5ED24C08.cm-7-3b.dynamic.ziggo.nl [94.210.76.8]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by positron.dckd.nl (Postfix) with ESMTPSA id 21962260AD; Mon, 20 Jul 2015 19:02:40 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: Xen console on 10.1 DomU From: Jeroen van der Ham In-Reply-To: <55AD1C09.7040500@citrix.com> Date: Mon, 20 Jul 2015 21:02:17 +0200 Cc: freebsd-xen@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <59CA2328-4AC7-4098-8BCA-6A5A5E9A5929@dckd.nl> References: <4C92646F-4307-4A45-B35E-DFBD09A71313@dckd.nl> <55AD1C09.7040500@citrix.com> To: =?utf-8?Q?Roger_Pau_Monn=C3=A9?= X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2015 19:02:45 -0000 Hi, > On 20 Jul 2015, at 18:04, Roger Pau Monn=C3=A9 = 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.