Talk:Xen on CentOS-4
From ConShell
PAE is available, you just need to use the right version of Xen.
Contents |
3.0.3-testing might be safer than 3.0.2-2
This is a great guide. Thanks for writing it! I recommend using 3.0.3-testing because of a kernel panic I experienced with 3.0.2-2. Also, I don't think you need to execute "./install.sh", I think that is for binary distributions. The "make install" does the install after you've compiled from source. 130.76.32.16 12:14, 19 October 2006 (EDT) (Adam Monsen)
hald crash
It appears that the haldaemon supplied with the Centos distribution crashes and thus the services of the dbus are no more available.
This is quite annoying, as you loose the capability to automagically plug in a CD/DVD in your drive and have it at least recognized, or even automounted, the same for an USB hard disk.
After living with this limitation for a while, I found a good solution.
Recompiling the latest HALD sources is not possible, as it implies to update a lot of other components, which is something that RedHat will do for the next RHEL5 release.
However, after struggling for a while at it, I discovered that the hald version 0.4.8 can be still recompiled without distrurbing the system in terms of packages, and the resulting hald package works without the segmentation fault.
The hal daemon sources can be found here:
http://people.freedesktop.org/~david/dist/
Recompiling the hald (in RPM) is out of this discussion, instruction can be found in other places; the relevant thing to note is that this great (for me) distro can be used as a host for XEN without loosing anyt functionality.
I used Xen 3.0.4 with Centos 4.4 x86_64 on a dual XEON producton server and it works reliable for me. Now, the hald recompilation is something new, in any case it seems to solve quite complitely the hal daemon crash.
PAE is available, you just need to use the right version of Xen.
3.0.3-testing might be safer than 3.0.2-2
This is a great guide. Thanks for writing it! I recommend using 3.0.3-testing because of a kernel panic I experienced with 3.0.2-2. Also, I don't think you need to execute "./install.sh", I think that is for binary distributions. The "make install" does the install after you've compiled from source. 130.76.32.16 12:14, 19 October 2006 (EDT) (Adam Monsen)
hald crash
It appears that the haldaemon supplied with the Centos distribution crashes and thus the services of the dbus are no more available.
This is quite annoying, as you loose the capability to automagically plug in a CD/DVD in your drive and have it at least recognized, or even automounted, the same for an USB hard disk.
After living with this limitation for a while, I found a good solution.
Recompiling the latest HALD sources is not possible, as it implies to update a lot of other components, which is something that RedHat will do for the next RHEL5 release.
However, after struggling for a while at it, I discovered that the hald version 0.4.8 can be still recompiled without distrurbing the system in terms of packages, and the resulting hald package works without the segmentation fault.
The hal daemon sources can be found here:
http://people.freedesktop.org/~david/dist/
Recompiling the hald (in RPM) is out of this discussion, instruction can be found in other places; the relevant thing to note is that this great (for me) distro can be used as a host for XEN without loosing anyt functionality.
I used Xen 3.0.4 with Centos 4.4 x86_64 on a dual XEON producton server and it works reliable for me. Now, the hald recompilation is something new, in any case it seems to solve quite complitely the hal daemon crash.
No dep file found for kernel 2.6.16-xen
I was following this for a pretty basic install of CentOS 4.4 and ran into this error. It occured after the command:
mkinitrd -v -f /boot/initrd-xen-3.0.2-2.img 2.6.16-xen
I found the solution at: http://lists.xensource.com/archives/html/xen-users/2006-04/msg00543.html
Before running the mkinitrd, run:
depmod 2.6.16-xen
My install script now looks like:
#see: http://mark.foster.cc/wiki/index.php/Xen_on_CentOS-4 echo "Ready to update the system? (Ctrl C to exit)";read up2date -u echo "Ready to install base requirements the system? (Ctrl C to exit)";read up2date -u sysfsutils bridge-utils iproute zlib-devel zlib ncurses ncurses-deve l transfig SDL curl-devel python-devel make gcc linuxdoc-tools echo "Ready to get python-twisted? (Ctrl C to exit)";read wget http://dag.wieers.com/packages/python-twisted/python-twisted-1.3.0-1.2.el4 .rf.i386.rpm echo "Ready to install python-twisted? (Ctrl C to exit)";read rpm -ivh python-twisted*rpm echo "Ready to get texmaker? (Ctrl C to exit)";read wget http://dag.wieers.com/packages/texmaker/texmaker-1.12-1.2.el4.rf.i386.rpm echo "Ready to install texmaker? (Ctrl C to exit)";read rpm -ivh texmaker*rpm echo "Ready to move to /usr/src? (Ctrl C to exit)";read cd /usr/src echo "Ready to download xen? (Ctrl C to exit)";read wget http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-3.0.2-2-src.tgz echo "Ready to install xen? (Ctrl C to exit)";read tar xzvf xen-3.0.2-2-src.tgz echo "Ready to move to xen-3.0.2-2? (Ctrl C to exit)";read cd xen-3.0.2-2 echo "Ready to make world? (Ctrl C to exit)";read make world echo "Ready to install? (Ctrl C to exit)";read ./install.sh echo "Ready to prepare for initrd? (Ctrl C to exit)";read depmod 2.6.16-xen echo "Ready to build initrd? (Ctrl C to exit)";read mkinitrd -v -f /boot/initrd-xen-3.0.2-2.img 2.6.16-xen