Thomas Jepp
2015-Nov-18 23:07 UTC
[Pkg-xen-devel] Bug#805508: xen: Unable to create HVM domUs
Source: xen Version: 4.6.0-1 Severity: important Dear Maintainer, I attempted to create a HVM domU - using a config that previously worked on xen 4.4 (on Jessie). When I execute "xl create <vm config>", I get: Parsing config from router.internal.tomjepp.uk xc: error: Could not open kernel image '/usr/lib/xen/boot/hvmloader' (2 = No such file or directory): Internal error libxl: error: libxl_dom.c:1006:libxl__build_hvm: hvm building failed libxl: error: libxl_create.c:1142:domcreate_rebuild_done: cannot (re-)build domain: -3 libxl: error: libxl_dm.c:2004:libxl__destroy_device_model: xs_rm failed for /local/domain/0/device-model/5 libxl: error: libxl_dm.c:1956:kill_device_model: unable to find device model pid in /local/domain/5/image/device-model-pid libxl: error: libxl.c:1628:libxl__destroy_domid: libxl__destroy_device_model failed for 5 libxl: error: libxl.c:1591:libxl__destroy_domid: non-existant domain 5 libxl: error: libxl.c:1549:domain_destroy_callback: unable to destroy guest with domid 5 libxl: error: libxl.c:1476:domain_destroy_cb: destruction of domain 5 failed An example config that triggers this issue: name='router.internal.tomjepp.uk' builder='hvm' vcpus=2 memory=512 disk=[ 'format=raw, vdev=hda, access=rw, target=/dev/vg_ssd/vm_router.internal.tomjepp.uk_boot', ] vif=[ 'mac=00:16:3e:1a:7a:06, bridge=xenbr4094', 'mac=00:16:3e:c3:b8:ec, bridge=xenbr5' ] boot='c' vnc=1 vnclisten='127.0.0.1' vncdisplay=1 keymap='en-gb' usb=1 usbdevice='tablet' -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) (I had to copy & paste this from a saved reportbug file, let me know if you need anything else)
Ian Campbell
2015-Nov-19 10:00 UTC
[Pkg-xen-devel] Bug#805508: Bug#805508: xen: Unable to create HVM domUs
On Wed, 2015-11-18 at 23:07 +0000, Thomas Jepp wrote:> > [...] > xc: error: Could not open kernel image '/usr/lib/xen/boot/hvmloader' (2 = No such file or directory): Internal errorThis is the wrong path, in the Debian packages it should be?/usr/lib/xen- 4.6/boot/hvmloader (and this should be arranged by the packaging, i.e. it is not a configuration error on your part). However not only is the toolstack using the wrong path but the file seems to be missing from the package entirely according to https://packages.debian.org/sid/amd64/xen-utils-4.6/filelist (cf?https://packages.debian.org/sid/amd64/xen-utils-4.4/filelist?which contains?/usr/lib/xen-4.4/boot/hvmloader). Ian.
Stefan Bader
2015-Nov-26 11:33 UTC
[Pkg-xen-devel] Bug#805508: Bug#805508: xen: Unable to create HVM domUs
On 19.11.2015 11:00, Ian Campbell wrote:> On Wed, 2015-11-18 at 23:07 +0000, Thomas Jepp wrote: >> >> [...] >> xc: error: Could not open kernel image '/usr/lib/xen/boot/hvmloader' (2 = No such file or directory): Internal error > > This is the wrong path, in the Debian packages it should be /usr/lib/xen- > 4.6/boot/hvmloader (and this should be arranged by the packaging, i.e. it > is not a configuration error on your part). > > However not only is the toolstack using the wrong path but the file seems > to be missing from the package entirely according to > https://packages.debian.org/sid/amd64/xen-utils-4.6/filelist > > (cf https://packages.debian.org/sid/amd64/xen-utils-4.4/filelist which > contains /usr/lib/xen-4.4/boot/hvmloader).Looks like @XENFIRMWAREDIR@ needs to be influenced in the right way... Though I cannot figure out a way less brute than to meddle with configure directly. That feels wrong somehow... -Stefan> > Ian. > > _______________________________________________ > Pkg-xen-devel mailing list > Pkg-xen-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xen-devel >-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20151126/396e8bf9/attachment.sig>
Stefan Bader
2015-Nov-26 13:17 UTC
[Pkg-xen-devel] Bug#805508: Bug#805508: Bug#805508: xen: Unable to create HVM domUs
On 19.11.2015 11:00, Ian Campbell wrote:> On Wed, 2015-11-18 at 23:07 +0000, Thomas Jepp wrote: >> >> [...] >> xc: error: Could not open kernel image '/usr/lib/xen/boot/hvmloader' (2 = No such file or directory): Internal error > > This is the wrong path, in the Debian packages it should be /usr/lib/xen- > 4.6/boot/hvmloader (and this should be arranged by the packaging, i.e. it > is not a configuration error on your part). > > However not only is the toolstack using the wrong path but the file seems > to be missing from the package entirely according to > https://packages.debian.org/sid/amd64/xen-utils-4.6/filelist >So FWIW the attached patch gets me hvmloader into the right place _and_ also reflects the correct paths in the generated libxenlight.pc which otherwise would likely cause the next round of issues. @XENFIRMWAREDIR@ in config/Paths.mk.in was part of the same change to add pkg-config files. commit babeca328413baebfdca366a5b17c06acf4295e8 Author: Wei Liu <wei.liu2 at citrix.com> Date: Fri Jan 9 14:32:18 2015 +0000 libxl: provide xenlight.pc Still not really sure this is the supposed way to set things right. There does not seem to be a better way to override the firmware directory (as far as I can see)... -Stefan -------------- next part -------------- A non-text attachment was scrubbed... Name: fix-libexec.patch Type: text/x-diff Size: 1324 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20151126/00fa6bf6/attachment.patch> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20151126/00fa6bf6/attachment.sig>
Debian Bug Tracking System
2016-Jan-24 16:42 UTC
[Pkg-xen-devel] Bug#805508: marked as done (xen: Unable to create HVM domUs)
Your message dated Sun, 24 Jan 2016 16:40:48 +0000 with message-id <E1aNNia-0004ny-R9 at franck.debian.org> and subject line Bug#805508: fixed in xen 4.6.0-1+nmu1 has caused the Debian Bug report #805508, regarding xen: Unable to create HVM domUs to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 805508: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805508 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Thomas Jepp <tom at tomjepp.co.uk> Subject: xen: Unable to create HVM domUs Date: Wed, 18 Nov 2015 23:07:49 +0000 Size: 3594 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20160124/cf3eee43/attachment.mht> -------------- next part -------------- An embedded message was scrubbed... From: Ian Campbell <ijc at debian.org> Subject: Bug#805508: fixed in xen 4.6.0-1+nmu1 Date: Sun, 24 Jan 2016 16:40:48 +0000 Size: 5734 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20160124/cf3eee43/attachment-0001.mht>
Reasonably Related Threads
- Bug#805508: xen: Unable to create HVM domUs
- Bug#805508: Bug#805508: Bug#805508: xen: Unable to create HVM domUs
- Bug#805508: Bug#805508: Bug#805508: Bug#805508: xen: Unable to create HVM domUs
- Bug#805508: Bug#805508: Bug#805508: Bug#805508: Bug#805508: xen: Unable to create HVM domUs
- Bug#805508: Bug#805508: xen: Unable to create HVM domUs