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 : Getting Error: (22, 'Invalid argument') on starting gu

To: xen-users@xxxxxxxxxxxxxxxxxxx, arunain@xxxxxxxxx
Subject: [Xen-users] XEN : Getting Error: (22, 'Invalid argument') on starting guest domain.
From: "Arun Sharma" <arunain@xxxxxxxxx>
Date: Fri, 19 Oct 2007 03:47:04 -0400
Delivery-date: Fri, 19 Oct 2007 00:47:51 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=4bL9wThrjIB7k7trdLc4VBrpmvV/vCv1ghyGRt9eti8=; b=GLPo5OsWuz1iDbPjA9voZyOnMQtRso/lkTFiz46ENBX2XOyCZMDj98Q5JEpja/SrVAiCTy1nn0C4VLsLOq0F2/h2CR6lD1eI26iRxvSp4+Ev8UFXpI6tTm/Z0h4/HYXnRzMc0VfVlTsgxE5iARLZBYdr0Ah5gNOWNPdlmAHpYO8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=oJ4g9KptD+HWgG7zYaBRdyszi1LmMkl73vFYR1m1/Cw2LmkRKextRlIgHCXxuJICVC8r0XA91OxwRxab+u2DuTbYI6IILwwZXd1NdSsBKXpROW/rF9Xy3raMmX63TC7Scag5ExAxUqrkl9EPrERpLQ5Ymhtd8ZDoW8p4hVjprAk=
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello All.

Below is the error i am getting while starting the guest domain.Not sure whats the issue. The only thing i know is , it may be becuase of kernel mistamath with 32bit PAE or NON-PAE support. But this is not the case with me since i am using 64bit processor and downloaded the proper tar ball from xensource website. I have given the link below also.

[root@arpc2 ~]# xm create -c /etc/xen/centosvmgui.conf
Using config file "/etc/xen/centosvmgui.conf".
Error: (22, 'Invalid argument')

Other information

I am running CENTOS 5 , with AMD Athlon 64 Bit 4800.

I have downloaded 64 bit XEN3.1 tarball from http://bits.xensource.com/oss-xen/release/3.1.0/bin.tgz/xen-3.1.0-install-x86_64.tgz

All installation went well with grub configuration.

XEN dom0  is working like a champ with no issues.

My /etc/xen/centosvmgui.conf

--------------------
kernel='/boot/vmlinuz-2.6.18-xen'       #The kernel to be used to boot domU
ramdisk='/boot/initrd- 2.6.18-xen.img'   #Need the initrd for ramdisk
memory  = 256                           #Memory allocation
name    = 'centosvmgui'                 #Machine name
cpus = ""                                       # Specific CPU's to assign the vm, leave blank
vcpus = 1                                       # Number of available CPU's to the system
vif = [ '' ]                                    # Defines the virtual network interface

# File based VBD
disk = [ 'file:/mnt/LogVol00/centosvmgui.img,hda1,w']   # Guest storage device mapping to the virtual machine

root = 'ro /dev/hda1'                           # Root partition kernel parameter

------------------------

My /boot directory contains below files.

--------------

total 20740
-rw-r--r-- 1 root root   58600 Mar 15  2007 config-2.6.18-8.el5xen
-rw-rw-r-- 1 root root   61871 May 18 11:01 config-2.6.18-xen
drwxr-xr-x 2 root root    4096 Oct 19 11:17 grub
-rw------- 1 root root 1599913 Oct 18 07:54 initrd-2.6.18-8.el5xen.img
-rw------- 1 root root 1646470 Oct 18 12:39 initrd-2.6.18-xen.img
drwx------ 2 root root   16384 Oct 18 07:47 lost+found
-rw-r--r-- 1 root root   80032 Apr  1  2007 message
-rw-r--r-- 1 root root   85349 Mar 15  2007 symvers-2.6.18-8.el5xen.gz
-rw-r--r-- 1 root root 1091650 Mar 15  2007 System.map-2.6.18-8.el5xen
-rw-rw-r-- 1 root root  948653 May 18 11:01 System.map-2.6.18-xen
-rw-r--r-- 1 root root 6669649 May 18 11:01 vmlinux-syms-2.6.18-xen
-rw-r--r-- 1 root root 1893708 Mar 15  2007 vmlinuz-2.6.18-8.el5xen
-rw-r--r-- 1 root root 1474333 May 18 11:01 vmlinuz-2.6.18-xen
lrwxrwxrwx 1 root root      18 Oct 18 12:32 vmlinuz-2.6-xen -> vmlinuz-2.6.18-xen
-rw-r--r-- 1 root root  324579 May 18 10:44 xen-3.1.0.gz
lrwxrwxrwx 1 root root      12 Oct 18 12:32 xen-3.1.gz -> xen-3.1.0.gz
lrwxrwxrwx 1 root root      12 Oct 18 12:32 xen-3.gz -> xen-3.1.0.gz
lrwxrwxrwx 1 root root      12 Oct 18 12:32 xen.gz -> xen-3.1.0.gz
-rw-r--r-- 1 root root  276329 Mar 15  2007 xen.gz-2.6.18-8.el5
-rwxr-xr-x 1 root root  642368 Mar 15  2007 xen-syms-2.6.18-8.el5
-rw-r--r-- 1 root root 4180243 May 18 10:44 xen-syms-3.1.0

----------------
Any help will be greatly appreciated .

Regards
Arun Sharma

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