Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 May 2015 11:57:08 +0000
From:      Outback Dingo <outbackdingo@gmail.com>
To:        =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= <royger@freebsd.org>,  Roman Bogorodskiy <novel@freebsd.org>, freebsd-virtualization@freebsd.org
Cc:        bapt@freebsd.org
Subject:   Re: xen_kernel, console and X11
Message-ID:  <CAKYr3zy3r5vL5Jwsh8PSqDXg=GHb-mucfJPTGrUxE1H==Gg-Tg@mail.gmail.com>
In-Reply-To: <55473E2A.3020306@FreeBSD.org>
References:  <20150502154340.GA8333@kloomba> <55473E2A.3020306@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <royger@freebsd.org> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKYr3zy3r5vL5Jwsh8PSqDXg=GHb-mucfJPTGrUxE1H==Gg-Tg>