Skip to contentSkip to conversation

pv guest fails to boot after 4.2 upgrade

DISCUSSION Travis Osterman 2 participants 2 messages Jan 5, 2013 – Jan 7, 2013

lore
Share & tools
lore
#0 lore raw

I hope this is the appropriate list. If not, I apologize. I'm new to xen and have been able to get xen (and xen-tools) 4.1 installed on my gentoo system running 3.7 hardened kernel without issue. After unmasking and installing xen 4.2, I get the following error when I attempt to boot a pv guest that worked fine in 4.1 (no configuration changes ... after reboot). I've tried to see if there was a new configuration requirement that I'm missing by reading the 4.2 release notes. So far I haven't had any luck. Thank you in advance for any help.

-- Travis Osterman

# xl create -c /data/xen/config/try2.pv
Parsing config from /data/xen/config/try2.pv
libxl: error: libxl_dm.c:1212:device_model_spawn_outcome: domain 2 device model: spawn failed (rc=-3)
libxl: error: libxl_qmp.c:641:libxl__qmp_initialize: Connection error: No such file or directory
Daemon running with PID 17417
Initializing cgroup subsys cpuset
Linux version 3.7.0-hardened-xen-dom0-2012-12-29 (root@xen) (gcc version 4.5.4 (Gentoo Hardened 4.5.4 p1
.0, pie-0.4.7) ) #1 SMP Sat Dec 29 20:28:08 EST 2012
Command line: root=/dev/xvda1 ro xencons=tty
ACPI in unprivileged domain disabled
e820: BIOS-provided physical RAM map:
Xen: [mem 0x0000000000000000-0x000000000009ffff] usable
Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
Xen: [mem 0x0000000000100000-0x000000001fffffff] usable
NX (Execute Disable) protection: active
DMI not present or invalid.
No AGP bridge found
e820: last_pfn = 0x20000 max_arch_pfn = 0x400000000
init_memory_mapping: [mem 0x00000000-0x1fffffff]
RAMDISK: [mem 0x01e00000-0x0211afff]
Zone ranges:
  DMA      [mem 0x00010000-0x00ffffff]
  DMA32    [mem 0x01000000-0xffffffff]
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x00010000-0x0009ffff]
  node   0: [mem 0x00100000-0x1fffffff]
smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[snip]
XENBUS: Waiting for devices to initialise: 25s...20s...15s...10s...5s...0s...235s...230s...225s...220s...215s...210s...205s...200s...195s...190s...185s...180s...175s...170s...165s...160s...155s...150s...145s...140s...135s...130s...125s...120s...115s...110s...105s...100s...95s...90s...85s...80s...75s...70s...65s...60s...55s...50s...45s...40s...35s...30s...25s...20s...15s...10s...5s...0s...
XENBUS: Timeout connecting to device: device/vbd/51713 (local state 3, remote state 1)
[snip]
initrd messages
[snip]
!! Block device /dev/xvda1 is not a valid root device...
!! Could not find the root block device in .
   Please specify another value or: press Enter for the same, type 
"shell" for a shell, or "q" to skip.
# cat /data/xen/config/try2.pv
name = "try2"
memory = "512"
kernel = "/boot/kernel-genkernel-x86_64-3.7.0-hardened-xen-dom0-2012-12-29"
ramdisk = "/boot/initramfs-genkernel-x86_64-3.7.0-hardened-xen-dom0-2012-12-29"
vif = ['']
disk = ['file:/data/xen/disks/try2.img,xvda1,w']
root = "/dev/xvda1 ro"
extra = "xencons=tty"
# xl info
host                   : xen
release                : 3.7.0-hardened-xen-dom0-2012-12-29
version                : #1 SMP Sat Dec 29 20:28:08 EST 2012
machine                : x86_64
nr_cpus                : 8
max_cpu_id             : 7
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 3100
hw_caps                : bfebfbff:28100800:00000000:00007f40:77bae3ff:00000000:00000001:00000281
virt_caps              : hvm hvm_directio
total_memory           : 32651
free_memory            : 565
sharing_freed_memory   : 0
sharing_used_memory    : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 2
xen_extra              : .0
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : noreboot vga=mode-0x34A
cc_compiler            : gcc (Gentoo Hardened 4.6.3 p1.9, pie-0.5.2) 4.6.3
cc_compile_by          :
cc_compile_domain      : (none)
cc_compile_date        : Fri Jan  4 19:50:14 EST 2013
xend_config_format     : 4
#1 lore raw
Quoted 1 line · Travis Osterman

I hope this is the appropriate list. If not, I apologize.

xen-users@ is usually more appropriate for support in the first instance.

Quoted 9 lines

I'm new to
xen and have been able to get xen (and xen-tools) 4.1 installed on my gentoo system running 3.7 hardened kernel without issue. After unmasking and installing xen 4.2, I get the following error when I attempt to boot a pv guest that worked fine in 4.1 (no configuration changes ... after reboot). I've tried to see if there was a new configuration requirement that I'm missing by reading the 4.2 release notes. So far I haven't had any luck. Thank you in advance for any help.

Quoted 8 lines

-- Travis Osterman

# xl create -c /data/xen/config/try2.pv
Parsing config from /data/xen/config/try2.pv
libxl: error: libxl_dm.c:1212:device_model_spawn_outcome: domain 2 
device model: spawn failed (rc=-3)
libxl: error: libxl_qmp.c:641:libxl__qmp_initialize: Connection error: 
No such file or directory

Did your ebuild include the new qemu-upstream stuff? It seems like they might be missing. "xl -vvv create ..." should give some more information.

Xen 4.2 switched from the old qemu-xen-traditional fork of qemu to the upstream qemu based qemu-xen by default to supply disks to disk backends to PV guests (trad remains the default for HVM guests).

Ian.