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

Re: [Xen-users] Install issues for Xen 4.2.1 on Ubuntu 12.10



On 17/02/13 06:19, Daniel Farrell wrote:
Good evening everyone,

I am attempting to compile Xen 4.2.1 from source on Ubuntu 12.10 and cannot for the life of me figure out what I am doing wrong. This is the script I wrote that I am running on a brand new install from ubuntu-12.10-server-amd64.iso

apt-get update
apt-get -y upgrade
apt-get -y dist-upgrade
reboot
/(uname -r returns back 3.5.0-23-generic)/

apt-get install -y build-essential python-dev gettext bin86 bcc iasl uuid-dev libncurses5-dev pkg-config libglib2.0-dev libyajl-dev git gcc-multilib texinfo fakeroot libglib2.0-dev texinfo pciutils pciutils-dev qemu-common
gpg --recv-key 57E82BD9
wget http://bits.xensource.com/oss-xen/release/4.2.1/xen-4.2.1.tar.gz.sig
wget http://bits.xensource.com/oss-xen/release/4.2.1/xen-4.2.1.tar.gz
gpg --verify xen-4.2.1.tar.gz.sig xen-4.2.1.tar.gz
tar -vzxf xen-4.2.1.tar.gz
cd xen-4.2.1
./configure
make install-xen
make install-tools PYTHON_PREFIX_ARG=
make install-kernels
make install-stubdom
make install-docs
sed -i 's/GRUB_DEFAULT=.*\+/GRUB_DEFAULT="Ubuntu GNU\/Linux, with Xen hypervisor"/' /etc/default/grub sed -i 's/GRUB_CMDLINE_LINUX=.*\+/GRUB_CMDLINE_LINUX="apparmor=0"/' /etc/default/grub sed -i '/GRUB_CMDLINE_LINUX="apparmor=0"/ a\GRUB_CMDLINE_XEN="dom0_mem=384M,max:384M dom0_max_vcpus=1 no-bootscrub"' /etc/default/grub
update-grub
echo "none /proc/xen xenfs defaults 0 0" >> /etc/fstab
reboot

After the reboot -

$ ls /proc/xen
capabilities  privcmd  xenbus  xsd_kva  xsd_port

$ cat /proc/xen/capabilities
control_d

$ xl info
libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running?
failed to stat /var/run/xenstored.pid: No such file or directory
cannot init xl context

Any help would be greatly appreciated.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
Did you start the xencommons service?

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.