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] virt-manager 0.8.2 local ISO and PXE boot install option

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>, Tapas Mishra <mightydreams@xxxxxxxxx>
Subject: Re: [Xen-users] virt-manager 0.8.2 local ISO and PXE boot install option greyed out on 2.6.32.27 pv-ops Dom0 kernel
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Tue, 1 Mar 2011 08:58:28 -0800 (PST)
Cc:
Delivery-date: Tue, 01 Mar 2011 09:01:37 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298998709; bh=nEa/yv/Q33IV09bmDJZJ12W+5Sf54gnQaTjCttpuKLo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=xSdXCxjswGSIgBo0fPr7+93FDgqjAL8krMQStN/ejfA/sIQvbLYL8+p+0BzW/xFmh7VlFNRweSMxz5mjCZf3HLGRNbzDjDsfq2ywezF3yVmIcR/YxmR6lajVy2CtNCAPZGefRAQvn3Pxgj6GknAsBATUyisht9WYTgbuELumV1o=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=uxGfFYJU6dQhz4CyVJFD3LksLnj8n4gHlYw+HwRxIRxBe/3PtMwOHhLUPQO19ylJc8zMRgGFQYlx9YAZshAZICdZsiEB+qzblF+VOLqZ9DU6uGVTW0OjsTcNQrjPbZ/qQwDGoyaTR0riCLkbshO1zVyuFG3Aw1MPHGPIMDnIp30=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimvyTi1aEFsk_J20jMN0bfFp1sszj44VixBgvh9@xxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> virt-install --connect qemu:///system -n tapaspvg -r 512 --vcpus=1 -f /mnt/1/Guest\  OS/tapaspvg.qcow2 -s 8 -c /home/tapas/Documents/ISO\'s/ubuntu-10.04.1-desktop-i386.iso --vnc --noautoconsole --os-type linux --accelerate --network=bridge:br0 --hvm

Wait, you attempt to install KVM ( --connect qemu:///system) .It HAS NOTHING to do with 2.6.32.27 pv-ops Dom0 kernel. Just setup KVM&Libvirt&Virtinst native to Ubuntu 10.10 and run under native Ubuntu Kernel along with VirtIO drivers for Linux Guest.
You'll get runtime performance close to Xen PV Guest even with Ubuntu's 10.10 KVM implementation. I mean on F14 with rawhide Libvirt&Virtinst and QEMU 0.14 performance will be better (VirtIO).  That's the way it is.

Boris.





--- On Tue, 3/1/11, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:

From: Tapas Mishra <mightydreams@xxxxxxxxx>
Subject: Re: [Xen-users] virt-manager 0.8.2 local ISO and PXE boot install option greyed out on 2.6.32.27 pv-ops Dom0 kernel
To: "Xen List" <xen-users@xxxxxxxxxxxxxxxxxxx>
Date: Tuesday, March 1, 2011, 10:34 AM

virt-install is failing for some reason


virt-install --connect qemu:///system -n tapaspvg -r 512 --vcpus=1 -f /mnt/1/Guest\ OS/tapaspvg.qcow2 -s 8 -c /home/tapas/Documents/ISO\'s/ubuntu-10.04.1-desktop-i386.iso --vnc --noautoconsole --os-type linux --accelerate --network=bridge:br0 --hvm


Starting install...
Creating storage file tap 100% |=========================| 8.0 GB    00:00     
ERROR    Failed to add tap interface to bridge 'br0': No such device
Domain installation may not have been
 successful.  If it was, you can restart your domain
 by running 'virsh start tapaspvg'; otherwise, please
 restart your installation.
ERROR    Failed to add tap interface to bridge 'br0': No such device
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 943, in <module>
    main()
  File "/usr/bin/virt-install", line 839, in main
    start_time, guest.start_install)
  File "/usr/bin/virt-install", line 894, in do_install
    dom = install_func(conscb, progresscb, wait=(not wait))
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 660, in start_install
    return self._do_install(consolecb, meter, removeOld, wait)
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 758, in _do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1097, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: Failed to add tap interface to bridge 'br0': No such device


###############################################################
then I tried (removing the bridge option here totally)

virt-install --connect qemu:///system -n tapaspvg -r 512 --vcpus=1 -f /mnt/1/Guest\ OS/tapaspvg.qcow2 -s 8 -c /home/tapas/Documents/ISO\'s/ubuntu-10.04.1-desktop-i386.iso --vnc --noautoconsole --os-type linux --accelerate  --hvm


Starting install...
ERROR    monitor socket did not show up.: Connection refused
Domain installation may not have been
 successful.  If it was, you can restart your domain
 by running 'virsh start tapaspvg'; otherwise, please
 restart your installation.
ERROR    monitor socket did not show up.: Connection refused
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 943, in <module>
    main()
  File "/usr/bin/virt-install", line 839, in main
    start_time, guest.start_install)
  File "/usr/bin/virt-install", line 894, in do_install
    dom = install_func(conscb, progresscb, wait=(not wait))
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 660, in start_install
    return self._do_install(consolecb, meter, removeOld, wait)
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 758, in _do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1097, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: monitor socket did not show up.: Connection refused


On Tue, Mar 1, 2011 at 8:41 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
Before  I proceed with what you suggested I wanted to tell
virsh version shows following


Compiled against library: libvir 0.7.5
Using library: libvir 0.7.5
Using API: QEMU 0.7.5
Running hypervisor: QEMU 0.12.3

Can above output be some kind of source to several existing problems?

Though I am able to boot to pv-ops Dom0 kernel and xm info output confirms that.
xm info
host                   : tapas
release                : 2.6.32.27
version                : #1 SMP Tue Mar 1 12:52:19 IST 2011
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2100
hw_caps                : bfebfbff:20100800:00000000:00000940:0408e39d:00000000:00000001:00000000
virt_caps              :
total_memory           : 3036
free_memory            : 128
node_to_cpu            : node0:0-1
node_to_memory         : node0:128
node_to_dma32_mem      : node0:128
max_node_id            : 0
xen_major              : 4
xen_minor              : 0
xen_extra              : .1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : dummy=dummy
cc_compiler            : gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Tue Mar  1 10:51:33 IST 2011
xend_config_format     : 4



 xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  2870     2     r-----     36.9


On Tue, Mar 1, 2011 at 8:27 PM, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:
> Now when I open virt-manager the option to install from Local ISO or
> PXE are greyed out.
> virt-manager version is 0.8.2

Try virt-install command line utility.

Boris.


--- On Tue, 3/1/11, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:

From: Tapas Mishra <mightydreams@xxxxxxxxx>
Subject: [Xen-users] virt-manager 0.8.2 local ISO and PXE boot install option greyed out on 2.6.32.27 pv-ops Dom0 kernel
To: "Xen List" <xen-users@xxxxxxxxxxxxxxxxxxx>
Date: Tuesday, March 1, 2011, 3:54 AM

Hi,
I just installed a pv-ops Dom0 2.6.32.27 Kernel on a 64 bit non VT machine.
Following instructions here
http://wiki.xensource.com/xenwiki/Xen4.0
for 64 bit Ubuntu 10.04

apt-get install bcc bin86 gawk bridge-utils iproute libcurl3
libcurl4-openssl-dev bzip2 module-init-tools transfig tgif texinfo
texlive-latex-base texlive-latex-recommended texlive-fonts-extra
texlive-fonts-recommended pciutils-dev mercurial build-essential make
gcc libc6-dev zlib1g-dev python python-dev python-twisted
libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev iasl
libbz2-dev e2fslibs-dev git-core uuid-dev ocaml libx11-dev bison flex

apt-get install gcc-multilib
apt-get install xz-utils

make xen
make tools
make install-xen
make install-tools PYTHON_PREFIX_ARG=

I did not do make install-stubdom.




It is a Ubuntu Desktop 10.04 amd64 bit version.
Then as  mentioned here on this guide
http://bderzhavets.wordpress.com/2010/03/26/virst-installvirt-manager-at-xen-4-0-rc8-2-6-32-10-pvops-dom0-on-top-ubuntu-karmic-koala-server/
(I did not follow the above guide strictly)

Commented out (xend-unix-server yes) in /etc/xen/xend-config.sxp ,
here is my xend-config.sxp
http://pastebin.com/M8CfrqBc
Then  exported variable  VIRSH_DEFAULT_CONNECT_URI=”xen:///”
in root’s .bashrc.
Then :-
# apt-get install ubuntu-virt-server ubuntu-virt-mgmt

Now when I open virt-manager the option to install from Local ISO or
PXE are greyed out.
virt-manager version is 0.8.2


Let me know if there is any possibility of improvement so that I can
get the option of install from Local ISO here.




--
http://mightydreams.blogspot.com



--
http://mightydreams.blogspot.com

-----Inline Attachment Follows-----

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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>