[Libvirt-cim] cimtest setup failed in RHEL5Server-ia64

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Mon Jun 1 18:01:48 UTC 2009


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.

Hi TianYan,

Welcome to the list =)

I don't have an ia64 box available, so I haven't been able to test on 
ia64.  I haven't heard mention of anyone else doing so, so my guess is 
you're the first.

>>
>> # 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.

  I suspect there will be other problems trying to build the image since 
we rely on the ramdisks provided by XenSource 
(http://xm-test.xensource.com/ramdisks/).

If you have a pre-existing image that you can use, you could copy it to 
/tmp.  cimtest expects to see the following:

/tmp/default-xen-dimage
/tmp/default-xen-dimage.2ND
/tmp/default-xen-initrd

>  Maybe the Makefile could be fixed along the lines of
> 
>  find /boot -name vmlinuz-`uname -r` -exec cp {} /tmp/default-xen-kernel \;

Yep, this would be than simply assuming a location.

> 
> also in general the test suite makes an excessive use of /tmp in my
> opinion, using /var/tmp/cimtest or something similar would be ay nicer
> it would also avoid the regular cleanup of /tmp from wiping out the
> data installed for the previous runs.

Agreed.  Deepti and I talked about this awhile back - it's something we 
both agreed this a change that we need to make.

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list