From owner-freebsd-virtualization@FreeBSD.ORG Sun May 3 02:41:10 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 55854380; Sun, 3 May 2015 02:41:10 +0000 (UTC) Received: from mail-pd0-x229.google.com (mail-pd0-x229.google.com [IPv6:2607:f8b0:400e:c02::229]) (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 290BE147A; Sun, 3 May 2015 02:41:10 +0000 (UTC) Received: by pdea3 with SMTP id a3so131058833pde.3; Sat, 02 May 2015 19:41:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oqwQf7nAQZdXNkSxi+8TH+uDoCQVx+rWUbmg5+2erko=; b=Q00eCEfPRIYlcrJ2PYaLCBDtZlgrQ+L1VgKY6qklvx4+N9vH1NHtFeupRo65HnuJiT 7lkN5plWAPIiomx1nCR5XvijlA2wbVpyHnkEQv9hua7cfZ68xixETka80WjQhTxx6ma9 tiUOLER6fmzmW7LTjW9wYzObAUhZuAHh+zLOb/2Mka9CfTHS2ajmvGUc5AAtiKP4+Njd vmDbXnt8L2usRpSvxCBY81NKlOxdEQnunrj3SbazZbcrlOYZd8wi54DACyqGquDt39I4 NTaeRTVLO53GZH3muyzeLJJ+pzqKD18wvqjxvwoguSkk163z7jK2yxwrYXfON2nDGrIk /5dA== MIME-Version: 1.0 X-Received: by 10.70.89.199 with SMTP id bq7mr30346482pdb.168.1430620869183; Sat, 02 May 2015 19:41:09 -0700 (PDT) Received: by 10.70.82.68 with HTTP; Sat, 2 May 2015 19:41:09 -0700 (PDT) In-Reply-To: <20150502154340.GA8333@kloomba> References: <20150502154340.GA8333@kloomba> Date: Sun, 3 May 2015 12:41:09 +1000 Message-ID: Subject: Re: xen_kernel, console and X11 From: Outback Dingo To: Roman Bogorodskiy Cc: freebsd-virtualization@freebsd.org, bapt@freebsd.org, royger@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Sun, 03 May 2015 02:41:10 -0000 On Sun, May 3, 2015 at 1:43 AM, Roman Bogorodskiy wrote: > 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: > > - Intel i5-4690 that supports IOMMU: > $ sudo acpidump -t|grep DMAR > DMAR: Length=128, Revision=1, Checksum=90, > $ > - vm.max_wired=-1 in /etc/sysctl.conf > - xc0 "/usr/libexec/getty Pc" xterm on secure in > /etc/ttys > > In loader.conf I have: > > xen_kernel="/boot/xen" > xen_cmdline="dom0_mem=2048M dom0_max_vcpus=4 dom0pvh=1 com1=115200,8n1 > guest_loglvl=all loglvl=all console=com1" > > 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=com1' 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. > I can concur, I am seeing the same thing as the configuration you have follwing that doc this morning. I also have the black screen with the white cursor..... > > Am I hitting some bug or is that some configuration issue? > > Thanks, > > Roman Bogorodskiy >