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

Fwd: [Xen-users] XEN : Getting Error: (22, 'Invalid argument') on starting guest domain.


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Arun Sharma" <arunain@xxxxxxxxx>
  • Date: Wed, 31 Oct 2007 17:24:44 +0530
  • Delivery-date: Wed, 31 Oct 2007 04:55:36 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=EjH8Ms0Q5nmTm85mKqViM+FHvwiYrlTTp+ZLhAaiUaPnd+p+thH4kGswcSk1lA4KMpAZ2HP10PmrlX8yZVs3VIGmjJ1c6aQ5KwCYWLavu2IjtNeXX4RxdEnUEhTLBTVA5zJwe/cE08jwutw5rdkm0QqU6Np+Lmc6Q62H8dHZg+A=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



---------- Forwarded message ----------
From: Arun Sharma <arunain@xxxxxxxxx>
Date: Oct 31, 2007 5:24 PM
Subject: Re: [Xen-users] XEN : Getting Error: (22,'Invalid argument') on starting guest domain.
To: "You, Yongkang" <yongkang.you@xxxxxxxxx>

Hello

WOW WOW .. THE PROBLEM GETS SOLVED ,

SOLUTION : PLEASE DO A FRESH INSTALLATION ON CENTOS 5 (FOR MY LINUX) WITHOUT XEN , THEN DOWNLOAD A FRESH XEN SOURCE CODE FROM XENSOURCE .COM , BUILD IT AND RUN IT.

ALL WILL GO COOL !!!

DOWNLOAD FROM : http://bits.xensource.com/oss-xen/release/3.1.0/src.tgz/xen-3.1.0-src.tgz

I AM NOT THE ARUN , WHICH YOU ARE THINKING OFF.. :) SORRY IF YOU HAVE WRONG IMAGE OF MINE.


On 10/31/07, You, Yongkang < yongkang.you@xxxxxxxxx> wrote:
Hi Arun,
 
Are you reallying using xen 3.1? Because I found your domu kernel is "/boot/vmlinuz-2.6.18-8.el5xen"
It should be recent xen changeset? :) Did you try the latest Xen to see if the problem is still there?
 
Does the xend.log still report the same exception about "uuid"? Should still be python issue, right? Sorry that I can not directly point out the error. :(
 
BTW, excuse me, are you Arun I knew before? :)
 
Best Regards,
Yongkang You
 


From: Arun Sharma [mailto:arunain@xxxxxxxxx]
Sent: Wednesday, October 31, 2007 12:33 PM

To: You, Yongkang
Subject: Re: [Xen-users] XEN : Getting Error: (22,'Invalid argument') on starting guest domain.

Hi
Sorry no help after entering UUID

My final config file is :

kernel = "/boot/vmlinuz-2.6.18-8.el5xen"                # The kernel to be used to boot the domU
ramdisk = "/boot/initrd-2.6.18-8.el5xen.img "        # Need the initrd, since most of these systems run udev
pae=0
memory = 256                                    # Base memory allocation
name = "centosvm"                                  # 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
uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9"
extra = '/dev/hda1'
disk = ['file:/mnt/mydir/vm1disk.img,hda1,w','file:/mnt/LogVol00/vm1disk.swap,hda2,w']
root = "/dev/hda1 ro"                           # Root partition kernel parameter

--------------------------------------------
I have successfully build the XEN 3.1 source code and having dom0 up and running , but only issue is with domU.

Regards
Arun


On 10/30/07, You, Yongkang <yongkang.you@xxxxxxxxx> wrote:
Hi Arun,
 
From your xend logs, it seems a bug I met before in RHEL5.1.
How about providing a uuid configuration to xenU?
uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9"
 
Best Regards,
Yongkang You
 


From: Arun Sharma [mailto:arunain@xxxxxxxxx]
Sent: Tuesday, October 30, 2007 9:58 PM

To: You, Yongkang
Subject: Re: [Xen-users] XEN : Getting Error: (22,'Invalid argument') on starting guest domain.

Hello Yongkang

Tried the config settings given by you but no help.

I found onether link :http://osdir.com/ml/bug-tracking.roundup.user/2003-12/msg00029.html
This tells something about python.(initialise) I am totally unaware of python.

Other xend logs are below..
---------------------
[2007-10-30 07:35:35 xend.XendDomainInfo 2619] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'centosvm'], ['memory', 256], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz- 2.6.18-8.el5xen'], ['ramdisk', '/boot/initrd-2.6.18-8.el5xen.img'], ['root', '/dev/hda1 ro'], ['args', '/dev/hda1']]], ['device', ['vbd', ['uname', 'file:/mnt/mydir/vm1disk.img'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/mnt/LogVol00/vm1disk.swap'], ['dev', 'hda2'], ['mode', 'w']]], ['device', ['vif']]])
[2007-10-30 07:35:35 xend.XendDomainInfo 2619] DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'centosvm'], ['memory', 256], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz- 2.6.18-8.el5xen'], ['ramdisk', '/boot/initrd-2.6.18-8.el5xen.img'], ['root', '/dev/hda1 ro'], ['args', '/dev/hda1']]], ['device', ['vbd', ['uname', 'file:/mnt/mydir/vm1disk.img'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/mnt/LogVol00/vm1disk.swap'], ['dev', 'hda2'], ['mode', 'w']]], ['device', ['vif']]]
[2007-10-30 07:35:35 xend.XendDomainInfo 2619] DEBUG (XendDomainInfo:397) parseConfig: result is {'shadow_memory': None, 'start_time': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'localtime': None, 'image': ['linux', ['kernel', '/boot/vmlinuz- 2.6.18-8.el5xen'], ['ramdisk', '/boot/initrd-2.6.18-8.el5xen.img'], ['root', '/dev/hda1 ro'], ['args', '/dev/hda1']], 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name': 'centosvm', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 256, 'device': [('vbd', ['vbd', ['uname', 'file:/mnt/mydir/vm1disk.img'], ['dev', 'hda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/mnt/LogVol00/vm1disk.swap'], ['dev', 'hda2'], ['mode', 'w']]), ('vif', ['vif'])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2007-10-30 07:35:35 xend.XendDomainInfo 2619] DEBUG (XendDomainInfo:1264) XendDomainInfo.construct: None
[2007-10-30 07:35:35 xend.XendDomainInfo 2619] ERROR (XendDomainInfo:202) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 194, in create
    vm.construct()
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1268, in construct
    handle = uuid.fromString(self.info['uuid']))
Error: (22, 'Invalid argument')
[2007-10-30 07:35:35 xend.XendDomainInfo 2619] DEBUG (XendDomainInfo:1463) XendDomainInfo.destroy: domid=None
[2007-10-30 07:35:35 xend 2619] ERROR (xmlrpclib2:184) (22, 'Invalid argument')
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/xen/util/xmlrpclib2.py", line 162, in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/lib64/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
    return func(*params)
  File "/usr/lib64/python2.4/site-packages/xen/xend/server/XMLRPCServer.py", line 64, in domain_create
    info = XendDomain.instance().domain_create(config)
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 228, in domain_create
    dominfo = XendDomainInfo.create(config)
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 194, in create
    vm.construct()
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1268, in construct
    handle = uuid.fromString(self.info['uuid']))
Error: (22, 'Invalid argument')



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

Arun

On 10/21/07, You, Yongkang <yongkang.you@xxxxxxxxx> wrote:
Hi Arun,
 
I didn't try 3.1.
But in recent xen-unstable, I can create xenU with your config by some modifications:
1. comment out cpus = ""
2. add extra = '/dev/hda1'  (This just wont' cause xm create fail.)
 
Best Regards,
Yongkang You
 


From: Arun Sharma [mailto:arunain@xxxxxxxxx]
Sent: Friday, October 19, 2007 8:31 PM
To: You, Yongkang
Subject: Re: [Xen-users] XEN : Getting Error: (22,'Invalid argument') on starting guest domain.

Hello
 
I don't think that it is python issue with centos.
 
 After googling it seems like, it is kernel mismatch  or config file issue , but can't pinpoint where.
 
Please ask any question you have related to this , so that we can sort out the problem :)
 
Regards
Arun

 
On 10/19/07, You, Yongkang <yongkang.you@xxxxxxxxx > wrote:
Hi Arun,
 
Long time not seeing your patches. :)
And interesting that the problem in AMD platform.
 
We should not meet such problem in 3.1 xenU testing.
It looks like the issue in config file? I used to comment out almost all the config item, uncomment some and recreate several times to separate the issue item.
 
Or will it be because CentOS python issue?
 
Best Regards,
Yongkang You
 


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto: xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Arun Sharma
Sent: Friday, October 19, 2007 3:47 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx ; arunain@xxxxxxxxx
Subject: [Xen-users] XEN : Getting Error: (22,'Invalid argument') on starting guest domain.

 
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




--


Regards
Arun Sharma
0-934-829-3810



--


Regards
Arun Sharma
0-934-829-3810



--


Regards
Arun Sharma
0-934-829-3810



--


Regards
Arun Sharma
0-934-829-3810


--


Regards
Arun Sharma
0-934-829-3810
_______________________________________________
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®.