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] Problem creating xen paravirtual guest

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Problem creating xen paravirtual guest
From: akshayakarle@xxxxxxxxx
Date: Fri, 30 Sep 2011 23:44:32 -0700 (PDT)
Delivery-date: Fri, 30 Sep 2011 23:46:06 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1317451472; bh=DJtD2aLZkp/qv5CO52jvkb7r1G/HjJuO80bOHDeqMfw=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Lfgp1qDT5GLOE9fODWbwLK0wqZwfPCwaed/CCspcevC7EgccAczeeDmf+AuD6zPv61UH9GoKXfdGGvOl1EPU/ARIH9jmOG/LFNypm6fePW9jHckQd1lY3Ju05RaJGDF1T525EPjU2DR8WRU8e6v47FwffnkpI4jsqJxbCvnrCPo=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ieWyQOyZW13qjdw7hdGviaON26d4KSESt7DFDnqa+rE5CyU/x022vD9yKfwxSzPWzZnS7HqEWPyvt5QC3o39pKd+gnGtfWqlVEkboVFUDG0m/NWMGJXllz0wvexqSu1ZGfTOHKGk5CrtWW/r+RBANL1ZwOPA13VtMzxKQjkQC1Q=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1317146528.29046.YahooMailNeo@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1317146528.29046.YahooMailNeo@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: akshayakarle@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,
I installed kernel-x86_64 2.6.32.26-174.1.xendom0.el6.
x86_64 on cent os 6 x86_64 and got xen-4.0.1 working on it. I have been able to create full virtual systems with virt-install and virt-manager, but when I tried creating paravirtual domu cent os 5 x86_64 I am getting the following error:

ERROR    Could not find a kernel path for virt type 'xen'
Domain installation does not appear to have been
 successful.  If it was, you can restart your domain
 by running 'virsh start cent'; otherwise, please
 restart your installation.
ERROR    Could not find a kernel path for virt type 'xen'
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 1054, in <module>
    main()
  File "/usr/bin/virt-install", line 936, in main
    start_time, guest.start_install)
  File "/usr/bin/virt-install", line 978, in do_install
    dom = install_func(conscb, progresscb, wait=(not wait))
  File "/usr/lib/python2.6/site- packages/virtinst/Guest.py", line 971, in start_install
    self._prepare_install(meter)
  File "/usr/lib/python2.6/site- packages/virtinst/Guest.py", line 772, in _prepare_install
    meter = meter)
  File "/usr/lib/python2.6/site- packages/virtinst/ DistroInstaller.py", line 252, in prepare
    self._prepare_kernel_and_ initrd(guest, distro, meter)
  File "/usr/lib/python2.6/site- packages/virtinst/ DistroInstaller.py", line 194, in _prepare_kernel_and_initrd
    type=self.os_type, distro=distro)
  File "/usr/lib/python2.6/site- packages/virtinst/OSDistro.py" , line 144, in acquireKernel
    scratchdir, type, distro)
  File "/usr/lib/python2.6/site- packages/virtinst/OSDistro.py" , line 130, in _acquireMedia
    return (store.acquireKernel(guest, fetcher, progresscb),
  File "/usr/lib/python2.6/site- packages/virtinst/OSDistro.py" , line 429, in acquireKernel
    "'%s'" % self.type))
ValueError: Could not find a kernel path for virt type 'xen'

I created the virtual machine using virt-install using the following command:
virt-install -n cent5 -r 256 -l http://mirror.centos.org/ centos/5/os/x86_64/images/xen/ --disk path=/home/aks/vm/cent.img -p

Hope you can help me out.
Thanks in advance,
Akshay Karle


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Problem creating xen paravirtual guest, akshayakarle <=