From owner-freebsd-virtualization@FreeBSD.ORG Sat May 2 15:43:54 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 163127DF; Sat, 2 May 2015 15:43:54 +0000 (UTC) Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F7E51626; Sat, 2 May 2015 15:43:53 +0000 (UTC) Received: by lbbzk7 with SMTP id zk7so80989837lbb.0; Sat, 02 May 2015 08:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=Md6QAAGxAkztn94LhtpKQS7GHQWIEH82cLoeqEFSRVY=; b=KmLCyC3nhCJiOIFEhxOrfysJAlZXU4qhGcAKLBzN5qqn2xVIE9p7JMm1XjFbnyOHks 8uI9YIcgZe+6ZFM/dVUXYgzYRGIkGGG0N2cujAULWIZbJiXCuUL5NSIqYSejViiF5S1t llF/Ifo1C6Qmsme3SOek3Bkv6Tf1yuL3GY+Ne6SL7Qg3aKN3XeCB2dF3ofMdYH2m2Iyi Y/83pYVhlU1dnhS9ZlA9SyQlz1RbvuOMWqU1VnTkNuPBfXJwlYy+oMp8piUll0Wow3ep Z9ki6cw8nxcXSbf0jwjSbqQ0VzsuBskW3njknHKj/dixhOllmjgh7pPQB6igPRjGO48L eiXg== X-Received: by 10.112.16.167 with SMTP id h7mr12783227lbd.124.1430581430722; Sat, 02 May 2015 08:43:50 -0700 (PDT) Received: from kloomba ([31.29.236.16]) by mx.google.com with ESMTPSA id wh9sm2088033lbb.45.2015.05.02.08.43.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 May 2015 08:43:49 -0700 (PDT) Sender: Roman Bogorodskiy Date: Sat, 2 May 2015 18:43:44 +0300 From: Roman Bogorodskiy To: freebsd-virtualization@freebsd.org Cc: royger@freebsd.org, bapt@freebsd.org Subject: xen_kernel, console and X11 Message-ID: <20150502154340.GA8333@kloomba> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2015 15:43:54 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm trying to get Xen running and following these instructions: https://wiki.freebsd.org/Xen and http://wiki.xen.org/wiki/FreeBSD_Dom0 I'm running two days old -CURRENT and ports. I've installed the emulators/xen port and followed instructions in pkg-message. I'm having some problems with console. I'm wondering if it's possible to have X running on the same box running xen kernel? My setup is as follows: =20 - Intel i5-4690 that supports IOMMU: $ sudo acpidump -t|grep DMAR DMAR: Length=3D128, Revision=3D1, Checksum=3D90, $ - vm.max_wired=3D-1 in /etc/sysctl.conf - xc0 "/usr/libexec/getty Pc" xterm on secure in /etc/ttys In loader.conf I have: xen_kernel=3D"/boot/xen" xen_cmdline=3D"dom0_mem=3D2048M dom0_max_vcpus=3D4 dom0pvh=3D1 com1=3D11520= 0,8n1 guest_loglvl=3Dall loglvl=3Dall console=3Dcom1" With this setup I get my system booted and at some point I can see a login screen. When I type 'startx' the system freezes. Have to hard reboot it to get working again. When I drop 'console=3Dcom1' from 'xen_cmdline', I cannot even see a login screen. All I can see is a black screen with a white cursor. It doesn't respond to any input though. On the other hand, the system doesn't seem to be frozen, at least power button triggers an ACPI event for power off. Am I hitting some bug or is that some configuration issue? Thanks, Roman Bogorodskiy --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVRPCsAAoJEMltX/4IwiJqAi0IAKDI00ITkwZe3vTaluobBjnW Yb5cqv4Q/F9HULfMf4yjpcYVJddXZ8Nwq7s4DXou02D1t2lquRHl1NoyM97qtsbT z+quSZ0g5EJm5iSgAPg5ZuWWI6ShLAppWN1nMDS+PEPcS5Ye8LB63TC5JUCgYEIO Lde4/13jePcYSnBEP79Ubsx4y3q9nBGOnmfPe01V84W9Vtiaz5eFEgINgpsPeBzG A7maSVBLIF1lRS6RqOQ1s/oZPkUXojVnCT9JGKjqWSh93yk4vVORwrLm/JCD9L2u 2GbjVVJe2iNITn8GQVrHsBFA4ROhx1R/Q02Wnib9yEk+fAGbUs54ioh8pf0oAdY= =bcKA -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--