On Mon, Jun 01, 2009 at 07:43:53PM +0200, Daniel Veillard wrote:
On Mon, Jun 01, 2009 at 02:45:12PM +0800, tyan wrote:
> Hi,
>
> Anybody ever setup cimtest on RHEL5Server ia64 system? I met with make
> issue. Think the file cimtest/suites/libvirt-cim/images/Makefile should
> be updated for ia64 system.
>
> # cd path_to_cimtest/suites/libvirt-cim/images/
> # make
> if uname -r | grep -q xen; then \
> cp /boot/vmlinuz-`uname -r` /tmp/default-xen-kernel; \
> fi
> cp: cannot stat `/boot/vmlinuz-2.6.18-92.1.26.el5xen': No such file or
> directory
> make: *** [/tmp/default-xen-kernel] Error 1
$ rpm -qilp kernel-xen-2.6.18-92.1.26.el5.ia64.rpm | grep vmlinuz-2.6.18-92.1.26.el5xen
/boot/efi/EFI/redhat/vmlinuz-2.6.18-92.1.26.el5xen
On itanium the kernel seems to be installed in a subdir, the simplest
might be to copy it by hand.
Maybe the Makefile could be fixed along the lines of
find /boot -name vmlinuz-`uname -r` -exec cp {} /tmp/default-xen-kernel \;
Though in retrospect that may not be sufficient, IIRC the test images
get bootstrapped from initrd-1.1-i386.img ramdisk found on Xensource
server, and unless there is ani ia64 image too, the kernel copy won't
be sufficient... or well funny results may arise :-)
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine
http://rpmfind.net/
http://veillard.com/ | virtualization library
http://libvirt.org/