[Pkg-xen-devel] Etch: Xen does not want guests:  Error: (22,
	'Invalid argument')
    Martin Bretschneider 
    martin.bretschneider at imr.uni-hannover.de
       
    Fri Dec  8 18:35:05 CET 2006
    
    
  
Hi,
I want to use Xen on a current Testing using the amd64 architecture. I 
want to use the i386 architecture for the laster Xen guests.
The hardware is a Intel Xeon 5130 (Woodcrest) with the Vanderpool 
support. Two harddisk are used as a Linux software raid 1.
Installing the hypervisor and rebooting worked like a charm since the 
bootmenu of grub has also been updates:)
The hypervisor is running:
# uname -a
Linux mars 2.6.17-2-xen-amd64 #1 SMP Wed Sep 13 18:35:45 CEST 2006 
x86_64 GNU/Linux
# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     3879     2 r-----   399.8
That was easy:) Then I wanted to create the guests using the following 
/etc/xen-tools/xen-tools.conf:
#################################################################
lvm = hot
debootstrap = 1
size   = 4Gb      # Disk image size.
memory = 128Mb    # Memory size
swap   = 128Mb    # Swap size
fs     = ext3     # use the EXT3 filesystem for the disk image.
dist   = etch    # Default distribution to install.
image  = sparse   # Specify sparse vs. full disk images.
dhcp = 1
cache = yes
passwd = 1
#kernel = /vmlinuz
#initrd = /initrd.img
kernel = /boot/initrd.img-2.6.17-2-amd64
initrd = /boot/vmlinuz-2.6.17-2-xen-amd64
arch=i386
mirror = http://debian.tu-bs.de/debian/
#################################################################
Then I did
# xen-create-image --hostname xen-test01
that also caused no problems:
# less /var/log/xen-tools/xen-test01.log
##########################################
....
Setting up root password
All done
#########################################
The locical volumes are also well done....
But then
# xm create xen-test01.cfg -c
gave me
#########################
Using config file "/etc/xen/xen-test01.cfg".
Error: (22, 'Invalid argument')
#########################
# less /etc/xen/xen-test01.cfg
######################################
kernel  = '/vmlinuz'
ramdisk = '/initrd.img'
memory  = '128'
root    = '/dev/sda1 ro'
disk    = [ 'phy:hot/xen-test01-disk,sda1,w', 
'phy:hot/xen-test01-swap,sda2,w' ]
name    = 'xen-test01'
dhcp = 'dhcp'
vif  = [ '' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'
######################################
Hm, that was no success:
# less/var/log/xen/xend.log
######################################
[2006-12-08 18:26:52 xend.util.security 9850] INFO (__init__:1072) 
Resource label file not found.
[2006-12-08 18:26:52 xend.util.security 9850] INFO (__init__:1072) 
Resource label file not found.
######################################
and
# less /var/log/xen/xend-debug.log
######################################
ERROR: Unrecognized image format
ERROR: Error constructing guest OS
######################################
I could not find a solutution. Bob Tanner has had the same problem in 
october 
(http://lists.alioth.debian.org/pipermail/pkg-xen-devel/2006-October/000823.html) 
but there does not seem to be a solution...
Can you please help me...
TIA  and kind regards from Germany
-- 
Dipl.-Wirtsch.-Ing. Martin Bretschneider
Institut für Mess- und Regelungstechnik
Leibniz Universität Hannover
Nienburger Straße 17
30167 Hannover
Telefon: +49(0)511 762-4279
Fax: +49(0)511 762-3234
    
    
More information about the Pkg-xen-devel
mailing list