[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

creating a pv guest Ubuntu on a Ubuntu desktop is failing on pv-ops Dom0 kernel



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




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




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.

but after all this creation of a PV DomU (OS Ubuntu 10.04 32 bit) on a
64 bit Ubuntu 10.04 on a non VT 64 bit machine is failing.
Let me know if some one has any clue about it?
I am trying it on pv-ops Dom0 kernel 2.6.32.27



-- 
http://mightydreams.blogspot.com


Reply to: