Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 2015 18:43:44 +0300
From:      Roman Bogorodskiy <novel@FreeBSD.org>
To:        freebsd-virtualization@freebsd.org
Cc:        royger@freebsd.org, bapt@freebsd.org
Subject:   xen_kernel, console and X11
Message-ID:  <20150502154340.GA8333@kloomba>

next in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150502154340.GA8333>