[Libvirt-cim] [PATCH] for cimtest

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Fri Jan 15 00:40:33 UTC 2010


Hi Osier,

On my system, I have the following kernels:

# ls -la /boot/ | grep vmlinuz
-rw-r--r--  1 root root 1931580 Jul 13  2009 vmlinuz-2.6.18-158.el5
-rw-r--r--  1 root root     158 Jul 13  2009 .vmlinuz-2.6.18-158.el5.hmac
-rw-r--r--  1 root root 2029233 Jul 13  2009 vmlinuz-2.6.18-158.el5xen
-rw-r--r--  1 root root     161 Jul 13  2009 .vmlinuz-2.6.18-158.el5xen.hmac

When I run find "/boot | grep vmlinuz | egrep -v 'xen' | tail -n1", I get:

# find /boot | grep vmlinuz | egrep -v 'xen' | tail -n1
/boot/vmlinuz-2.6.18-158.el5

Do you see different results?  Even though I can't reproduce the issue, 
I'm fine with this change.  But can you resubmit the patch following the 
guidelines in cimtest/doc/SubmittingPatches?  Each patch needs to have a 
DCO.

Thanks!

Osier Yang wrote:
> Hi all
> 
> the patch is trying to solve the problem:
>       when there is .vmlinuz-*.hmac under /boot,  
> cimtest/suites/libvirt-cim/images/xmt-makefv.sh won't work.
> 
> [root at dhcp-66-70-159 ~]# ls -a /boot/ | grep vmlinuz
> vmlinuz-2.6.18-183.el5
> .vmlinuz-2.6.18-183.el5.hmac
> vmlinuz-2.6.18-183.el5xen
> .vmlinuz-2.6.18-183.el5xen.hmac
> 
> [root at dhcp-66-70-159 images]# make
> mkdir -p xm-test
> (cd xm-test && wget 
> http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img)
> --2010-01-14 08:33:15--  
> http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img
> Resolving xm-test.xensource.com... 70.42.241.107
> Connecting to xm-test.xensource.com|70.42.241.107|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 3645440 (3.5M) [text/plain]
> Saving to: `initrd-1.1-i386.img'
> 
> 100%[=====================================>] 3,645,440   7.76K/s   in 7m 
> 22s
> 2010-01-14 08:40:39 (8.05 KB/s) - `initrd-1.1-i386.img' saved 
> [3645440/3645440]
> 
> chmod +x xmt-convert.sh
> (cd xm-test && sh ../xmt-convert.sh `basename xm-test/initrd-1.1-i386.img`)
> 1856 blocks
> if uname -r | grep -q xen; then \
>                cp /boot/vmlinuz-`uname -r` 
> /var/lib/libvirt/images/default-xen-kernel; \
>        fi
> chmod +x xmt-makefv.sh
> ./xmt-makefv.sh xm-test/xm-test.gz xm-test/xmt_disk.img
> FAILED:
> make: *** [xm-test/xmt_disk.img] Error 1
> 
> hope it helps. :-)
> 
> Thanks and Regards
> osier
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim


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




More information about the Libvirt-cim mailing list