Talk:RHEL6 Xen4 Tutorial

From Xen

Update needed

On 2015-01-24, I was not able to complete the instruction here and switched to Xen Made Easy. Issues are below, but the biggest issue is that this the steps are for an xen-4.0.1-6 and should be updated to the most recent version.

"wget http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/14/Everything/source/SRPMS/xen-4.0.1-6.fc14.src.rpm" failed

http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/14/README says:

ATTENTION
======================================
The contents of this directory have been moved to our archives available at:
http://archives.fedoraproject.org/pub/archive/fedora/
If you are having troubles finding something there please stop by #fedora-admin on irc.freenode.net

It looks like the releases on ftp.funet.fi go up to 21.

qemu-0.12.5-1.fc13.src.rpm not found

The instructions say:

cd /root/src
wget http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/updates/13/SRPMS/qemu-0.12.5-1.fc13.src.rpm

Grr. Not found. Can't find qemu-0.12.5, so we go with

wget http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/13/SRPMS/qemu-0.13.0-1.fc13.src.rpm 
rpm -i qemu-0.13.0-1.fc13.src.rpm 
cd /root/rpmbuild/SPECS
rpmbuild -bb qemu.spec
cd /root/rpmbuild/RPMS/x86_64
rpm -Uvh qemu-common-0.13.0-1.el6.x86_64.rpm


"git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x" fails

 mkdir /root/kernel && cd /root/kernel
 git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen
 cd linux-2.6-xen

git of the kernel fails

 [root@terratest linux-2.6-xen]# git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x
 fatal: git checkout: updating paths is incompatible with switching branches.
 Did you intend to checkout 'origin/xen/stable-2.6.32.x' which can not be resolved as commit?


http://lists.xen.org/archives/html/xen-devel/2012-01/msg02597.html from 2012! http://wiki.xen.org/wiki/Compiling_Kernel_2.6.32 is also wrong

I did not make it all the way through these steps, I switched to Xen Made Easy at http://xen.crc.id.au/support/guides/install/. I'd like to update the tutorial when I'm sure I can get all the way through the steps Cxbrooks 17:10, 26 January 2015 (UTC)