Arun Sharma
2007-Oct-19 07:47 UTC
[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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2007-Oct-19 15:18 UTC
Re: [Xen-users] XEN : Getting Error: (22, ''Invalid argument'') on starting guest domain.
Any interesting output in /var/log/xen/xend.log after you try starting the domain? Cheers, Mark On Friday 19 October 2007, Arun Sharma wrote:> 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-x >86_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-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users