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] Cannot run vm

To: Nikola <root.admin1@xxxxxxxxxxx>
Subject: Re: [Xen-users] Cannot run vm
From: Igor Chubin <igor@xxxxxxx>
Date: Thu, 13 Dec 2007 11:16:06 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 13 Dec 2007 01:16:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47608AF9.9010903@xxxxxxxxxxx>
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>
References: <47608AF9.9010903@xxxxxxxxxxx>
Reply-to: Igor Chubin <igor@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.16 (2007-06-11)
On Do, Dez 13, 2007 at 02:29:29 +0100, Nikola wrote:
> Hi,
>
> I am trying to run xen on debian etch.
> I have followed this steps 
> http://mark.foster.cc/wiki/index.php/Debian_Sarge_on_Xen but when i try
> to create domain-u it fails with
>
> ---------------------------------------------------------------------------------------------------------------
> Using config file "/etc/xen/vm01.cfg".
> Error: (22, 'Invalid argument')
> ---------------------------------------------------------------------------------------------------------------
>

Hello Nikola, 

I suppose that you try to run non Xenified kernel
in PV domain. Of course this is impossible.
You must use Xenified kernel in the domain 0 as well as 
in U domains.

May be I'm wrong and you use xenified kernel, 
then, make sure, that your kernels
for dom0 and domU, both are PAE enabled
(or both are non-PAE).

You can not run PV domain with PAE kernel
on PAE host (or vice versa).

If it will not help, please show your config files.


> This if from xend.log
>
> ---------------------------------------------------------------------------------------------------------------
> ['linux', ['kernel', '/boot/vmlinuz-2.6.18-5-686'], ['root', '/dev/sda1 
> ro']]], ['device', ['vbd', ['uname', 
> 'file:/xen_vm/domains/vm01/diskimage'], ['dev', 'sda1'], ['mode', 'w']]], 
> ['device', ['vbd', ['uname', 'file:/xen_vm/domains/vm01/swapimage'], 
> ['dev', 'sda2'], ['mode', 'w']]]])
> [2007-12-13 02:27:17 xend.XendDomainInfo 2400] DEBUG (__init__:1072) 
> parseConfig: config is ['vm', ['name', 'vm01'], ['memory', 128], ['vcpus', 
> 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.18-5-686'], ['root', 
> '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 
> 'file:/xen_vm/domains/vm01/diskimage'], ['dev', 'sda1'], ['mode', 'w']]], 
> ['device', ['vbd', ['uname', 'file:/xen_vm/domains/vm01/swapimage'], 
> ['dev', 'sda2'], ['mode', 'w']]]]
> [2007-12-13 02:27:17 xend.XendDomainInfo 2400] DEBUG (__init__:1072) 
> parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': 
> None, 'on_reboot': None, 'localtime': None, 'image': ['linux', ['kernel', 
> '/boot/vmlinuz-2.6.18-5-686'], ['root', '/dev/sda1 ro']], 'on_poweroff': 
> None, 'bootloader_args': None, 'cpus': None, 'name': 'vm01', 'backend': [], 
> 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 
> 'memory': 128, 'device': [('vbd', ['vbd', ['uname', 
> 'file:/xen_vm/domains/vm01/diskimage'], ['dev', 'sda1'], ['mode', 'w']]), 
> ('vbd', ['vbd', ['uname', 'file:/xen_vm/domains/vm01/swapimage'], ['dev', 
> 'sda2'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
> [2007-12-13 02:27:17 xend.XendDomainInfo 2400] DEBUG (__init__:1072) 
> XendDomainInfo.construct: None
> [2007-12-13 02:27:17 xend.XendDomainInfo 2400] DEBUG (__init__:1072) 
> XendDomainInfo.initDomain: 8 1.0
> [2007-12-13 02:27:17 xend 2400] DEBUG (__init__:1072) Balloon: 512956 KiB 
> free; need 131072; done.
> [2007-12-13 02:27:17 xend 2400] INFO (__init__:1072) buildDomain os=linux 
> dom=8 vcpus=1
> [2007-12-13 02:27:17 xend 2400] DEBUG (__init__:1072) dom            = 8
> [2007-12-13 02:27:17 xend 2400] DEBUG (__init__:1072) image          = 
> /boot/vmlinuz-2.6.18-5-686
> [2007-12-13 02:27:17 xend 2400] DEBUG (__init__:1072) store_evtchn   = 1
> [2007-12-13 02:27:17 xend 2400] DEBUG (__init__:1072) console_evtchn = 2
> [2007-12-13 02:27:17 xend 2400] DEBUG (__init__:1072) cmdline        =  
> root=/dev/sda1 ro
> [2007-12-13 02:27:17 xend 2400] DEBUG (__init__:1072) ramdisk        =
> [2007-12-13 02:27:17 xend 2400] DEBUG (__init__:1072) vcpus          = 1
> [2007-12-13 02:27:17 xend 2400] DEBUG (__init__:1072) features       =
> [2007-12-13 02:27:17 xend.XendDomainInfo 2400] ERROR (__init__:1072) Domain 
> construction failed
> Traceback (most recent call last):
>  File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 
> 195, in create
>    vm.initDomain()
>  File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 
> 1363, in initDomain
>    raise VmError(str(exn))
> VmError: (22, 'Invalid argument')
> [2007-12-13 02:27:17 xend.XendDomainInfo 2400] DEBUG (__init__:1072) 
> XendDomainInfo.destroy: domid=8
> [2007-12-13 02:27:17 xend.XendDomainInfo 2400] DEBUG (__init__:1072) 
> XendDomainInfo.destroyDomain(8)
> ---------------------------------------------------------------------------------------------------------------
>
> Does anyone knows what seems to be a problem?
>
> tnx in advance.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
WBR, i.m.chubin


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

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