WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] [Xen] Error: (22, 'Invalid argument')
From: "namit gmail" <kortenhorst@xxxxxxxxx>
Date: Tue, 29 May 2007 02:08:27 +0100
Delivery-date: Mon, 28 May 2007 18:06:55 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=hwH/amw23LXnIodpeplYJ1hQ74Pm6ztg6xngHD3GxTT3nOSzTXgLS4dYmRX1V0OalGUeVNreT39oyfT04dXFBMEZCegX707srkFCK/3Wl3QbWPLReIxHaNQGnv0OARZTJ3Itg2eKU/exoFzDq61sqTVOz4r9JAaXAkehsLH1JtU=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: kortenhorst@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] [Xen] Error: (22, 'Invalid argument'), namit gmail <=