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 <sa...@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
>
>
_______________________________________________
freebsd-xen@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

Reply via email to