Mailing List Archive

domu boot issue
I thought I had solved my problems booting Ubuntu 20.04 domu on a
xen system build on Ubuntu 20.04, but when I went to build a new
domu to day I hit the error below. This error looks like it is
having problems mounting the disk, but I can manually mount the
logical volume just fine. What am I missing? What should I look
at to debug the issue?

Thanks in advance,

Bill

# xl create -c /etc/xen/engine.ca-zephyr.org.cfg
Parsing config from /etc/xen/engine.ca-zephyr.org.cfg
libxl: error: libxl_device.c:1130:device_backend_callback: Domain
15:unable to add device with path /local/domain/0/backend/vbd/15/51713
libxl: error: libxl_create.c:1299:domcreate_launch_dm: Domain 15:unable
to add disk devices
libxl: error: libxl_device.c:1130:device_backend_callback: Domain
15:unable to remove device with path
/local/domain/0/backend/vbd/15/51713
libxl: error: libxl_domain.c:1107:devices_destroy_cb: Domain
15:libxl__devices_destroy failed
libxl: error: libxl_domain.c:1034:libxl__destroy_domid: Domain
15:Non-existant domain
libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain
15:Unable to destroy guest
libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain
15:Destruction of domain failed

Here is the cfg file for the host.

type = 'pvh'
kernel = '/usr/lib/grub-xen/grub-i386-xen_pvh.bin'
vcpus = '2'
memory = '8192'

root = '/dev/xvda1 ro'
disk = [
'phy:/dev/vg_xen/engine.ca-zephyr.org-disk,xvda1,w',
]

name = 'engine.ca-zephyr.org'

dhcp = 'dhcp'
vif = [ 'mac=00:16:3E:2A:E3:83' ]

on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'


--
Bill MacAllister <bill@ca-zephyr.org>
Re: domu boot issue [ In reply to ]
Hello Bill,

On Wed, 31 Mar 2021 at 08:13, Bill MacAllister <bill@ca-zephyr.org> wrote:
>
> I thought I had solved my problems booting Ubuntu 20.04 domu on a
> [snip]
>
> libxl: error: libxl_device.c:1130:device_backend_callback: Domain
> 15:unable to add device with path /local/domain/0/backend/vbd/15/51713

It's a kernel regression, you need to wait for Ubuntu to release
5.4.0-71 or enable the HWE stack for a newer kernel on Ubuntu 20.04.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1920660


Lukas