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>
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: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Tue, 1 Mar 2011 23:28:36 +0530
Delivery-date: Tue, 01 Mar 2011 10:03:26 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=E5Vq6xj6wI9uuhl5Zc/KCm5txKPbnDOjrwcOpmMq2uU=; b=HXUPqzkM5b2kUgn889YG/FYw/FFHdr4b/jnlZmkcQzvTnGQS8a+3i2EGWdhRLBfjaR pZLroa2kqgPM+c/BO0Q2Jd5C1TpZOZDd2q8v+OGPUBL7RCSrv2i3N8R4VrebZhbfqQuP cdEMRlj4gvqgM6PM6H+du0/+c/HRMPTXjYqcY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Oc1shRTmITxieJw1A0Gii2BNyLG/WDq8UP4HdUDI5SIKwuZwRO6IemwUomzKQQ+27D Ld2RF/Xrz2e0A58A/3lZokT6E8cD3oTgRsPrgdbqd/ohTcFu5dELuqLwW9gr14tkhR9l Zq/L2MPxUgA+M8lGzAillU72eLS9OsfQyISTI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <63399.94341.qm@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: <AANLkTimYFKPhdGL6SSyWjGg3=uF_rz3E5w5_OVnbEWwi@xxxxxxxxxxxxxx> <63399.94341.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Tue, Mar 1, 2011 at 10:36 PM, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:
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

That's wrong . I guess

Compiled against library: libvir 0.7.5
Using library: libvir 0.7.5
Using API: Xen 4.0
Running hypervisor: Xen 4.0.1

Have

1. (xend-unix-server yes) present in� /etc/xen/xend-config.sxp
Yes this is also there.�
2. export VIRSH_DEFAULT_CONNECT_URI=�xen:///�
Yes that is there.�
verify virsh version.
Same�
virsh version
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

This time I chaged a bit virt-install as following your blog
and did�

virt-install -n LucidPVG -r 512 --paravirt --vnc -f /dev/sda9 -c /home/tapas/Documents/ISO\'s/ubuntu-10.04.1-desktop-i386.iso --debug

Tue, 01 Mar 2011 23:19:51 DEBUG � �Launched with command line:
/usr/bin/virt-install -n LucidPVG -r 512 --paravirt --vnc -f /dev/sda9 -c /home/tapas/Documents/ISO's/ubuntu-10.04.1-desktop-i386.iso --debug
Tue, 01 Mar 2011 23:19:51 DEBUG � �Requesting libvirt URI default
Tue, 01 Mar 2011 23:19:51 DEBUG � �Received libvirt URI xen:///
Tue, 01 Mar 2011 23:19:51 DEBUG � �Requesting virt method 'xen', hv type 'default'.
Tue, 01 Mar 2011 23:19:51 DEBUG � �Received virt method 'xen'
Tue, 01 Mar 2011 23:19:51 DEBUG � �Hypervisor name is 'xen'
Tue, 01 Mar 2011 23:19:51 DEBUG � �Could not open "/etc/sysconfig/keyboard" [Errno 2] No such file or directory: '/etc/sysconfig/keyboard'
Tue, 01 Mar 2011 23:19:51 DEBUG � �Could not open "/etc/X11/xorg.conf": [Errno 2] No such file or directory: '/etc/X11/xorg.conf'�
Tue, 01 Mar 2011 23:19:51 ERROR � �Paravirtualized guests cannot install off cdrom media.

So this is the error this time I got.Since my machine is non VT 64 bit so I feel I will be able to run only 32 bit hvm or pvm guests.I am trying 32 bit Ubuntu 10.04 pv guest.
Let me know if you think there any thing is wrong.
I have in roots .bashrc as you said
VIRSH_DEFAULT_CONNECT_URI=�xen:///�
also the line in xend-config.sxp�
is uncommented.





--- 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 kernelDate: Tuesday, March 1, 2011, 10:11 AM


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

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

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




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