From owner-freebsd-virtualization@FreeBSD.ORG Mon May 4 11:57:10 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0FEC0FBC; Mon, 4 May 2015 11:57:10 +0000 (UTC) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::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 DF75A1484; Mon, 4 May 2015 11:57:09 +0000 (UTC) Received: by pabsx10 with SMTP id sx10so158790770pab.3; Mon, 04 May 2015 04:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=QGiLNKUQ2b0ON9sz/8zVNjGVkwRIM1HOiPYPTDBcJ0o=; b=k3H11QQv6nDPS8HymSvEEqhiJ2cjgoUsLDgI37g1ePTvJrSzj0lH80wX15H91iw8/X zdw4RvspmWeAon92/JwMD8EmVphVinaxp0b22shJ3rANpxhYHNvl4Mr12nvgxnO/Jlyi 2pB4V1lHmsor0XgEmJfMXF3trlKe47f88c1zzeb19NEeIGnY2a9xMO8e7sidGcBOPYdy 1Q1qDp/aSEsVjN8wKkb9jOpWB5HucL2EmlzUuYmRmAGtwyF+d0BbYKujv9f0YaoW5Q6Z MZQDVy+sXzsdv32U4R49SrZ+rKSgolmjDmy65s6mAfyXsoS/W74L0Cyqi4b/oIeEiqhs VeFg== X-Received: by 10.66.154.111 with SMTP id vn15mr41228404pab.108.1430740628975; Mon, 04 May 2015 04:57:08 -0700 (PDT) MIME-Version: 1.0 References: <20150502154340.GA8333@kloomba> <55473E2A.3020306@FreeBSD.org> In-Reply-To: <55473E2A.3020306@FreeBSD.org> From: Outback Dingo Date: Mon, 04 May 2015 11:57:08 +0000 Message-ID: Subject: Re: xen_kernel, console and X11 To: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , Roman Bogorodskiy , freebsd-virtualization@freebsd.org Cc: bapt@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Mon, 04 May 2015 11:57:10 -0000 I'll get back on mine in a day or so as its on an IBM blade server. On Mon, 4 May 2015 7:39 pm Roger Pau Monn=C3=A9 wrote: > Hello, > > El 02/05/15 a les 17.43, Roman Bogorodskiy ha escrit: > > 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 t= o > > have X running on the same box running xen kernel? > > It should be, although I had issues while using the vesa driver with a > FreeBSD Xen Dom0, mainly because Dom0 doesn't have access to the BDA and > EBDA, I'm working on fixing this in Xen upstream. > > > My setup is as follows: > > > > - 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=3D1= 15200,8n1 > > guest_loglvl=3Dall loglvl=3Dall console=3Dcom1" > > So you are trying to use the serial console but you are not getting any > output? If that's not the case, please drop the com1 parameter and set > console=3Dvga. > > Do you have anything else in your /boot/loader.conf apart from this two > lines? > > > > > 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. > > On which device do you get a login prompt? Is it xc0, ttyv0 or ttyu0? > > Roger. > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" >