[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] [Xen] Error: (22, 'Invalid argument')


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "namit gmail" <kortenhorst@xxxxxxxxx>
  • Date: Tue, 29 May 2007 02:08:27 +0100
  • Delivery-date: Mon, 28 May 2007 18:06:55 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=TVqHHg0C+HwkNQeKmETeFB9wSxgKz8/BAg0I6GAu/JTXRWBAv7YKG7TZdgyTFDFnkbE1o1yp7cvDTmURcrxTJRopuxfkVx7TSMlMZUph/6rSec/tRukd9VCfPr2rUH7WftfzYpQ+8Vy4ae0xijlJvVBrZVTvvuzfFlzuCVcrrJ4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hey all

i have created a basefile and am doing xm create -c /etc/xen/baseimage and getting this error Error: (22, 'Invalid argument'). Been told it might be to do with kernel version but not sure what version i have or what to use or what version is loading or how to test this?

I went by this tutorial
http://www.howtoforge.com/xen_3.0_ubuntu_dapper_drake
Just changing versions that where there.
and bit of this
http://www.howtoforge.com/debian_sarge_xen_3.0.3_p4

can anyone help me?

Base image file:
#  -*- mode: python; -*-
kernel = "/boot/vmlinuz-2.6"
ramdisk = "/boot/initrd.img-2.6.18-xen"
memory = 128
name = "baseimage"
vif = ['bridge=xenbr0']
disk = ['file:/xen-images/guest_base.img,hda1,w','file:/xen-images/guest_base-swap.img,hdb1,w']
hostname = "baseimage"
root = "/dev/hda1"
extra = "4"

namit@ubunut:~$ ls /boot/
-rw-r--r-- 1 root root  414210 2007-04-15 09:07 abi-2.6.20-15-generic
-rw-r--r-- 1 root root  414274 2007-05-23 03:24 abi-2.6.20-16-generic
-rw-rw-r-- 1 root root   65725 2007-05-18 16:11 config-2.6.18-xen
-rw-r--r-- 1 root root   83234 2007-04-15 06:33 config-2.6.20-15-generic
-rw-r--r-- 1 root root   83217 2007-05-23 00:43 config-2.6.20-16-generic
drwxr-xr-x 2 root root    4096 2007-05-28 21:07 grub
-rw-r--r-- 1 root root 6028814 2007-05-20 18:11 initrd.img-2.6.18-xen
-rw-r--r-- 1 root root 7179709 2007-04-28 13:13 initrd.img-2.6.20-15-generic
-rw-r--r-- 1 root root 6842512 2007-04-15 12:56 initrd.img-2.6.20-15-generic.bak
-rw-r--r-- 1 root root 6949019 2007-05-28 21:07 initrd.img-2.6.20-16-generic
-rw-r--r-- 1 root root   94600 2006-10-20 12:44 memtest86+.bin
-rw-rw-r-- 1 root root  789852 2007-05-18 16:11 System.map-2.6.18-xen
-rw-r--r-- 1 root root  806942 2007-04-15 09:08 System.map-2.6.20-15-generic
-rw-r--r-- 1 root root  806970 2007-05-23 03:26 System.map-2.6.20-16-generic
-rw-r--r-- 1 root root 4193863 2007-05-18 16:11 vmlinux-syms-2.6.18-xen
-rw-r--r-- 1 root root 1509667 2007-05-18 16:11 vmlinuz-2.6.18-xen
-rw-r--r-- 1 root root 1745100 2007-04-15 09:07 vmlinuz-2.6.20-15-generic
-rw-r--r-- 1 root root 1745836 2007-05-23 03:24 vmlinuz-2.6.20-16-generic
lrwxrwxrwx 1 root root      18 2007-05-20 18:00 vmlinuz-2.6-xen -> vmlinuz-2.6.18-xen
-rw-r--r-- 1 root root  240567 2007-03-24 16:03 xen-3.0-i386.gz
-rw-r--r-- 1 root root  291304 2007-05-18 15:54 xen-3.1.0.gz
lrwxrwxrwx 1 root root      12 2007-05-20 18:00 xen-3.1.gz -> xen-3.1.0.gz
lrwxrwxrwx 1 root root      12 2007-05-20 18:00 xen-3.gz -> xen-3.1.0.gz
lrwxrwxrwx 1 root root      12 2007-05-20 18:00 xen.gz -> xen-3.1.0.gz
-rw-r--r-- 1 root root 3460518 2007-05-18 15:54 xen-syms-3.1.0



namit@ubunut:~$ sudo xm list
Password:
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0      224     1 r-----   1761.2

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.