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

RE: [Xen-users] can't start RH4 domU on RH5 dom0 Error: (22, 'Invalid ar

To: mark.williamson@xxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] can't start RH4 domU on RH5 dom0 Error: (22, 'Invalid argument')
From: "Andrey Dmitriev" <admitriev@xxxxxxxxxxx>
Date: Tue, 17 Jul 2007 00:07:26 -0400
Delivery-date: Mon, 16 Jul 2007 21:05:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200706270112.47360.mark.williamson@xxxxxxxxxxxx>
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
Modified my config file as


[root@mt-mail1 xen]# more /etc/xen/scalix2
#kernel = "/boot/vmlinuz"
#ramdisk = "/boot/initrd.img"
kernel="/mnt/software/vmlinuz-2.6.9-55.ELxenU"

memory = 512
name   = "hating-xen"

vif    = ['ip = "10.0.1.150", bridge=xenbr0']

disk   = [
          '/dev/XEN/scalixroot,sda1,w',
          '/dev/XEN/scalixvar,sda3,w',
          '/dev/XEN/scalixswap,sda2,w'
         ]


BTW, it boots fine with vmlinuz, which is a CentOS xen kernel. However, 
it goes right into some installation, which I can't seem to get out of. 
Does it really matter which kernel I run? And how can I avoid the 
installation menus.

I also just discovered that I boot fine with 
vmlinuz-2.6.18-8.1.6.el5xen, but it pukes on mounting file systems.


[root@mt-mail1 xen]# more xend.log
[2007-07-16 23:59:37 xend.XendDomainInfo 3202] DEBUG 
(XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 
'hating-xen'], ['memory', 512
], ['vcpus', 1], ['image', ['linux', ['kernel', 
'/mnt/software/vmlinuz-2.6.9-55.ELxenU']]], ['device', ['vbd', ['uname', 
'/dev/XEN/scalixroot
'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 
'/dev/XEN/scalixvar'], ['dev', 'sda3'], ['mode', 'w']]], ['device', 
['vbd'
, ['uname', '/dev/XEN/scalixswap'], ['dev', 'sda2'], ['mode', 'w']]], 
['device', ['vif', ['ip', '"10.0.1.150"'], ['bridge', 'xenbr0']]]])
[2007-07-16 23:59:37 xend.XendDomainInfo 3202] DEBUG 
(XendDomainInfo:296) parseConfig: config is ['vm', ['name', 
'hating-xen'], ['memory', 51
2], ['vcpus', 1], ['image', ['linux', ['kernel', 
'/mnt/software/vmlinuz-2.6.9-55.ELxenU']]], ['device', ['vbd', ['uname', 
'/dev/XEN/scalixroo
t'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 
'/dev/XEN/scalixvar'], ['dev', 'sda3'], ['mode', 'w']]], ['device', 
['vbd
', ['uname', '/dev/XEN/scalixswap'], ['dev', 'sda2'], ['mode', 'w']]], 
['device', ['vif', ['ip', '"10.0.1.150"'], ['bridge', 'xenbr0']]]]
[2007-07-16 23:59:37 xend.XendDomainInfo 3202] 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', '/mnt/software/vmlinuz-2.6.9-55.ELxenU']]
, 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name': 
'hating-xen', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features'
: None, 'vcpu_avail': None, 'memory': 512, 'device': [('vbd', ['vbd', 
['uname', '/dev/XEN/scalixroot'], ['dev', 'sda1'], ['mode', 'w']]), ('v
bd', ['vbd', ['uname', '/dev/XEN/scalixvar'], ['dev', 'sda3'], ['mode', 
'w']]), ('vbd', ['vbd', ['uname', '/dev/XEN/scalixswap'], ['dev', 'sd
a2'], ['mode', 'w']]), ('vif', ['vif', ['ip', '"10.0.1.150"'], 
['bridge', 'xenbr0']])], 'bootloader': None, 'cpu': None, 'maxmem': 
None}
[2007-07-16 23:59:37 xend.XendDomainInfo 3202] DEBUG 
(XendDomainInfo:1264) XendDomainInfo.construct: None
[2007-07-16 23:59:37 xend.XendDomainInfo 3202] DEBUG 
(XendDomainInfo:1296) XendDomainInfo.initDomain: 7 1.0
[2007-07-16 23:59:37 xend 3202] DEBUG (balloon:127) Balloon: 524528 KiB 
free; need 524288; done.
[2007-07-16 23:59:37 xend 3202] INFO (image:136) buildDomain os=linux 
dom=7 vcpus=1
[2007-07-16 23:59:37 xend 3202] DEBUG (image:199) dom            = 7
[2007-07-16 23:59:37 xend 3202] DEBUG (image:200) image          = 
/mnt/software/vmlinuz-2.6.9-55.ELxenU
[2007-07-16 23:59:37 xend 3202] DEBUG (image:201) store_evtchn   = 1
[2007-07-16 23:59:37 xend 3202] DEBUG (image:202) console_evtchn = 2
[2007-07-16 23:59:37 xend 3202] DEBUG (image:203) cmdline        =
[2007-07-16 23:59:37 xend 3202] DEBUG (image:204) ramdisk        =
[2007-07-16 23:59:37 xend 3202] DEBUG (image:205) vcpus          = 1
[2007-07-16 23:59:37 xend 3202] DEBUG (image:206) features       =
[2007-07-16 23:59:37 xend.XendDomainInfo 3202] ERROR 
(XendDomainInfo:202) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", 
line 195, in create
    vm.initDomain()
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", 
line 1377, in initDomain
    raise VmError(str(exn))
VmError: (22, 'Invalid argument')
[2007-07-16 23:59:37 xend.XendDomainInfo 3202] DEBUG 
(XendDomainInfo:1463) XendDomainInfo.destroy: domid=7
[2007-07-16 23:59:37 xend.XendDomainInfo 3202] DEBUG 
(XendDomainInfo:1471) XendDomainInfo.destroyDomain(7)

-----Original Message-----
From: Mark Williamson [mailto:mark.williamson@xxxxxxxxxxxx] 
Sent: Tuesday, June 26, 2007 8:13 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Cc: Andrey Dmitriev
Subject: Re: [Xen-users] can't start RH4 domU on RH5 dom0 Error: (22, 
'Invalid argument')

> Someone help.... what am I missing.. has to be something simple.

Hi,

Please post the contents of your /var/log/xen/xend.log

Cheers,
Mark

> [root@mt-mail1 ~]# xm create /dev/null
> ramdisk=/mnt/software/initrd-2.6.9-55.ELxenU.img
> kernel=/mnt/software/vmlinuz-2.6.9-55.ELxenU name=ramdisk vcpus=2
> memory=412 root=/dev/ram
> Using config file "/dev/null".
> Error: (22, 'Invalid argument')
>
>
> [root@mt-mail1 ~]# xm create scalix2
> Using config file "/etc/xen/scalix2".
> Error: (22, 'Invalid argument')
>
> more /etc/xen/scalix2
> kernel = "/mnt/software/vmlinuz-2.6.9-55.ELxenU"
> memory = 512
> name   = "hating-xen"
>
> vif    = ['ip = "10.0.1.150", bridge=xen-br0']
>
> disk   = ['file:/mnt/software/RHEL4-U5-x86_64-ES-disc1.iso,cdrom,r',
>           'phy:XEN/XEN-scalixroot ,sda1,w'
>          ,'phy:XEN/XEN-scalixvar,sda3,w'
>          ,'phy:XEN/swap.dokeos,sda2,w'
>          ]
>
> cdrom = "/mnt/software/RHEL4-U5-x86_64-ES-disc1.iso"
> root   = "/dev/sda1 "
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



-- 
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>