[Pkg-xen-devel] Bug#503287: xen-3: domU's wont start when the kernel arch is different as the xen-utils arch

Maximilian Mill mill at in-medias-res.com
Fri Oct 24 12:44:58 UTC 2008


Package: xen-3
Severity: important

After testing with waldi, he found out that the kernel arch cant be different as the xen-utils. So when using xen-amd64 with xen-utils-i386
the dom'Us wont work.

xm create /etc/xen/test2.cfg gets:
VmError: (22, 'Invalid argument')


Debug:
[2008-10-23 18:01:48 4211] DEBUG (XendDomainInfo:84) XendDomainInfo.create(['vm', ['name', 'test2'], ['memory', '128'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.26-1-xen-amd64'], ['ramdisk', '/boot/initrd.img-2.6.26-1-xen-amd64'], ['root', '/dev/sda2 ro']]], ['device', ['vbd', ['uname', 'phy:/dev/vg0/test2-swap'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/vg0/test2-disk'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', '192.168.25.197'], ['mac', '00:16:3E:99:79:48']]]])
[2008-10-23 18:01:48 4211] DEBUG (XendDomainInfo:1618) XendDomainInfo.constructDomain
[2008-10-23 18:01:48 4211] DEBUG (balloon:132) Balloon: 63544 KiB free; need 2048; done.
[2008-10-23 18:01:48 4211] DEBUG (XendDomain:443) Adding Domain: 1
[2008-10-23 18:01:48 4211] DEBUG (XendDomainInfo:1703) XendDomainInfo.initDomain: 1 256
[2008-10-23 18:01:48 4211] DEBUG (XendDomainInfo:1738) _initDomain:shadow_memory=0x0, memory_static_max=0x8000000, memory_static_min=0x0.
[2008-10-23 18:01:48 4211] DEBUG (balloon:138) Balloon: 63536 KiB free; 0 to scrub; need 131072; retries: 20.
[2008-10-23 18:01:48 4211] DEBUG (balloon:153) Balloon: setting dom0 target to 864 MiB.
[2008-10-23 18:01:48 4211] DEBUG (XendDomainInfo:693) Setting memory target of domain Domain-0 (0) to 864 MiB.
[2008-10-23 18:01:48 4211] DEBUG (balloon:132) Balloon: 131972 KiB free; need 131072; done.
[2008-10-23 18:01:48 4211] INFO (image:139) buildDomain os=linux dom=1 vcpus=1
[2008-10-23 18:01:48 4211] ERROR (XendDomainInfo:1780) XendDomainInfo.initDomain: exception occurred
Traceback (most recent call last):
  File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 1755, in _initDomain
    channel_details = self.image.createImage()
  File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/image.py", line 122, in createImage
    return self.createDomain()
  File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/image.py", line 141, in createDomain
    result = self.buildDomain()
  File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/image.py", line 624, in buildDomain
    xc.domain_set_memmap_limit(self.vm.getDomid(), mem_kb)
Error: (22, 'Invalid argument')
[2008-10-23 18:01:48 4211] ERROR (XendDomainInfo:440) VM start failed
Traceback (most recent call last):
  File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 420, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 1783, in _initDomain
    raise VmError(str(exn))
VmError: (22, 'Invalid argument')

# xm info
host                   : xen-intern02
release                : 2.6.26-1-xen-amd64
version                : #1 SMP Thu Oct 9 17:11:22 UTC 2008
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
cores_per_socket       : 1
threads_per_core       : 2
cpu_mhz                : 3391
hw_caps                : bfebfbff:20000800:00000000:00000180:0000641d
total_memory           : 1023
free_memory            : 128
node_to_cpu            : node0:0-1
xen_major              : 3
xen_minor              : 2
xen_extra              : -1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p 
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0x0
xen_changeset          : unavailable
cc_compiler            : gcc version 4.3.1 (Debian 4.3.1-2) 
cc_compile_by          : waldi
cc_compile_domain      : debian.org
cc_compile_date        : Sat Jun 28 09:32:18 UTC 2008
xend_config_format     : 4

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.26-1-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

xen-intern02:~# dpkg -l |grep xen
ii  libc6-xen                           2.7-14                GNU C Library: Shared libraries [Xen version
ii  libxenstore3.0                      3.2.1-2               Xenstore communications library for Xen
ii  linux-image-2.6.26-1-xen-686        2.6.26-8              Linux 2.6.26 image on i686
ii  linux-image-2.6.26-1-xen-amd64      2.6.26-8              Linux 2.6.26 image on AMD64
ii  linux-modules-2.6.26-1-xen-686      2.6.26-8              Linux 2.6.26 modules on i686
ii  linux-modules-2.6.26-1-xen-amd64    2.6.26-8              Linux 2.6.26 modules on AMD64
ii  xen-hypervisor-3.2-1-amd64          3.2.1-2               The Xen Hypervisor on AMD64
ii  xen-hypervisor-3.2-1-i386           3.2.1-2               The Xen Hypervisor on i386
ii  xen-linux-system-2.6.26-1-xen-686   2.6.26-8              XEN system with Linux 2.6.26 image on i686
ii  xen-linux-system-2.6.26-1-xen-amd64 2.6.26-8              XEN system with Linux 2.6.26 image on AMD64
ii  xen-shell                           1.8-3                 Console based Xen administration utility
ii  xen-tools                           3.9-4                 Tools to manage Debian XEN virtual servers
ii  xen-utils-3.2-1                     3.2.1-2               XEN administrative tools
ii  xen-utils-common                    3.2.0-2               XEN administrative tools - common files
ii  xenstore-utils                      3.2.1-2               Xenstore utilities for Xen





More information about the Pkg-xen-devel mailing list