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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to