From owner-freebsd-xen@freebsd.org Mon Jul 20 16:04:40 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 B931F9A626D for ; Mon, 20 Jul 2015 16:04:40 +0000 (UTC) (envelope-from prvs=636686ac5=roger.pau@citrix.com) Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 725941C29 for ; Mon, 20 Jul 2015 16:04:39 +0000 (UTC) (envelope-from prvs=636686ac5=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.15,508,1432598400"; d="scan'208";a="282606024" Message-ID: <55AD1C09.7040500@citrix.com> Date: Mon, 20 Jul 2015 18:04:25 +0200 From: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Jeroen van der Ham , Subject: Re: Xen console on 10.1 DomU References: <4C92646F-4307-4A45-B35E-DFBD09A71313@dckd.nl> In-Reply-To: <4C92646F-4307-4A45-B35E-DFBD09A71313@dckd.nl> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-DLP: MIA1 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 16:04:40 -0000 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. Roger.