Date: Fri, 25 Aug 2017 15:49:53 -0700 From: "James E. Pace" <james@pacehouse.com> To: Marcin Cieslak <saper@saper.info> Cc: freebsd-xen@freebsd.org Subject: Re: Fwd: FreeBSD 11.1 xen trying to create linux domU instance Message-ID: <CAN1es4J7OT7=N4nk_4LueqeUwoU2aGEmuGCqj135t=gMWMQf1w@mail.gmail.com> In-Reply-To: <nycvar.OFS.7.76.6.1708231909410.1673@z.fncre.vasb> References: <CAN1es4Lmicq9HQSacA1obfPe9AXjA0B5JAn36OwSCvt3H33SaA@mail.gmail.com> <CAN1es4LUf0R3eu7fCTvQTwWqhDaoc-AqNRsq2OPJxLeJLNR5ww@mail.gmail.com> <nycvar.OFS.7.76.6.1708231909410.1673@z.fncre.vasb>
next in thread | previous in thread | raw e-mail | index | archive | help
Marcin, thank you so much for the "xen_platform_pci=0" config line! That, and using a file instead of a ZFS device, got me up and running. For my future reference, I wrote down the steps I took to getting Linux Mint running as a domU: http://blog.pacehouse.com/2017/08/how-to-run-linux-under-freebsd-111.html I welcome feedback on things I have wrong. JEP -- James E. Pace On Wed, Aug 23, 2017 at 12:51 PM, Marcin Cieslak <saper@saper.info> wrote: > On Mon, 21 Aug 2017, James E. Pace wrote: > > > Hi, > > > > builder = "hvm" > > name = "xen-ubuntu" > > memory = 1024 > > vcpus = 1 > > vif = [ 'bridge=bridge0' ] > > disk = [ > > '/dev/zvol/pool/xen-ubuntu,,hda,rw', > > '/pool/Downloads/ubuntu-15.10-desktop-amd64.iso,raw,hdc:cdrom,r' > > ] > > vnc = 1 > > vnclisten = "0.0.0.0" > > serial = "pty" > > > > I created the backing filesystem with: > > zfs create -V20G -o volmode=dev pool/xen-ubuntu > > > > "xl create foo.cfg" returns fine, and "xl list" shows the instance, but > the > > running instance (via vncviewer) eventually spits out: > > > > 4.130084] vbd vbd-5632: 19 xenbus_dev_probe on device/vbd/5632 > > 4.130956] vbd vbd-5632: failed to write error node for device > > device/vbd/5632 (19 xenbus_dev_probe on device/vbd/5632) > > > > I suspect the linux kernel isn't booting because it can't figure out > > something about the zfs volume. But I'm not sure, and I don't know how > to > > work around it. > > I'am using 11.1-STABLE (r321629) as Xen dom0, running under > Xen kernel 4.7.2_3. > > I have sucessfully started appliances built on oldish RedHat kernels > (2.6.32-573.18.1.el6.x86_64) without any problems. > For Fedora 25 (4.10.8-200.fc25.x86_64) I had to add > > xen_platform_pci=0 > > to the config file to get it running. > This still seems to be needed. > > My disk definition for fedora and the RedHats > looks like this: > > '/dev/zvol/zroot/fedora0,raw,hda,w' > > (xvda seems to work well in place of "hda" for RHEL and Fedora > as well) > > Marcin > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN1es4J7OT7=N4nk_4LueqeUwoU2aGEmuGCqj135t=gMWMQf1w>