On Sat, May 31, 2014 at 03:01:47PM +0530, abhishek jain wrote:> /usr/local/lib/guestfs/supermin.d/udev-rules.tar.gz type gzip base image > (tar) > supermin: build: 121 packages, including dependencies > supermin: build: 7109 files > supermin: build: 7109 files, after removing unreadable files > supermin: build: 4939 files, after matching excludefiles > supermin: build: 4941 files, after adding hostfiles > supermin: build: 4944 files, after munging > supermin: failed to find a suitable kernel (host_cpu=powerpc64). > > I looked for kernels in /boot and modules in /lib/modules. > > If this is a Xen guest, and you only have Xen domU kernels > installed, try installing a fullvirt kernel (only for > supermin use, you shouldn't boot the Xen guest with it). > libguestfs: error: /usr/bin/supermin exited with error status 1, see debug > messages above > libguestfs-test-tool: failed to launch appliance > libguestfs: closing guestfs handle 0x10016848 (state 0) > libguestfs: command: run: rm > libguestfs: command: run: \ -rf /tmp/libguestfsvnUxG2This is actually a bug in supermin. However I think it is fixed in recent supermin. Have a look at the patt_of_cpu function here: https://github.com/libguestfs/supermin/blob/master/src/kernel.ml#L26 This was added by Hilko's patch: https://github.com/libguestfs/supermin/commit/e8dd485a1737da365bc6af4afb5945817219393e and I suspect you will need to include this patch in your version of supermin. You'll have to also look at the contents of /boot. Note also that you don't need to install the supermin package in order to use it, if you follow the instructions here: http://libguestfs.org/guestfs-faq.1.html#how-can-i-compile-and-install-libguestfs-if-my-distro-doesnt-have-new-enough-qemu-supermin-kernel Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
Hi Rich Thanks for the quick response. I'll test and let you know the result. On Sat, May 31, 2014 at 4:12 PM, Richard W.M. Jones <rjones@redhat.com> wrote:> On Sat, May 31, 2014 at 03:01:47PM +0530, abhishek jain wrote: > > /usr/local/lib/guestfs/supermin.d/udev-rules.tar.gz type gzip base image > > (tar) > > supermin: build: 121 packages, including dependencies > > supermin: build: 7109 files > > supermin: build: 7109 files, after removing unreadable files > > supermin: build: 4939 files, after matching excludefiles > > supermin: build: 4941 files, after adding hostfiles > > supermin: build: 4944 files, after munging > > supermin: failed to find a suitable kernel (host_cpu=powerpc64). > > > > I looked for kernels in /boot and modules in /lib/modules. > > > > If this is a Xen guest, and you only have Xen domU kernels > > installed, try installing a fullvirt kernel (only for > > supermin use, you shouldn't boot the Xen guest with it). > > libguestfs: error: /usr/bin/supermin exited with error status 1, see > debug > > messages above > > libguestfs-test-tool: failed to launch appliance > > libguestfs: closing guestfs handle 0x10016848 (state 0) > > libguestfs: command: run: rm > > libguestfs: command: run: \ -rf /tmp/libguestfsvnUxG2 > > This is actually a bug in supermin. However I think it is fixed in > recent supermin. > > Have a look at the patt_of_cpu function here: > > https://github.com/libguestfs/supermin/blob/master/src/kernel.ml#L26 > > This was added by Hilko's patch: > > > https://github.com/libguestfs/supermin/commit/e8dd485a1737da365bc6af4afb5945817219393e > > and I suspect you will need to include this patch in your version of > supermin. You'll have to also look at the contents of /boot. > > Note also that you don't need to install the supermin package in order > to use it, if you follow the instructions here: > > > http://libguestfs.org/guestfs-faq.1.html#how-can-i-compile-and-install-libguestfs-if-my-distro-doesnt-have-new-enough-qemu-supermin-kernel > > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat > http://people.redhat.com/~rjones > Read my programming and virtualization blog: http://rwmj.wordpress.com > Fedora Windows cross-compiler. Compile Windows programs, test, and > build Windows installers. Over 100 libraries supported. > http://fedoraproject.org/wiki/MinGW >
Hi Rich One more quiry. After installing libguestfs-test-tool on my powerpc ubuntu,I'm getting this following error on my system ... UnsupportedRpcVersion: Specified RPC version, 3.23, not supported by this endpoint. Can you help regarding this? Thanks On Sat, May 31, 2014 at 4:18 PM, abhishek jain <ashujain9727@gmail.com> wrote:> Hi Rich > > Thanks for the quick response. > > I'll test and let you know the result. > > > On Sat, May 31, 2014 at 4:12 PM, Richard W.M. Jones <rjones@redhat.com> > wrote: > >> On Sat, May 31, 2014 at 03:01:47PM +0530, abhishek jain wrote: >> > /usr/local/lib/guestfs/supermin.d/udev-rules.tar.gz type gzip base image >> > (tar) >> > supermin: build: 121 packages, including dependencies >> > supermin: build: 7109 files >> > supermin: build: 7109 files, after removing unreadable files >> > supermin: build: 4939 files, after matching excludefiles >> > supermin: build: 4941 files, after adding hostfiles >> > supermin: build: 4944 files, after munging >> > supermin: failed to find a suitable kernel (host_cpu=powerpc64). >> > >> > I looked for kernels in /boot and modules in /lib/modules. >> > >> > If this is a Xen guest, and you only have Xen domU kernels >> > installed, try installing a fullvirt kernel (only for >> > supermin use, you shouldn't boot the Xen guest with it). >> > libguestfs: error: /usr/bin/supermin exited with error status 1, see >> debug >> > messages above >> > libguestfs-test-tool: failed to launch appliance >> > libguestfs: closing guestfs handle 0x10016848 (state 0) >> > libguestfs: command: run: rm >> > libguestfs: command: run: \ -rf /tmp/libguestfsvnUxG2 >> >> This is actually a bug in supermin. However I think it is fixed in >> recent supermin. >> >> Have a look at the patt_of_cpu function here: >> >> https://github.com/libguestfs/supermin/blob/master/src/kernel.ml#L26 >> >> This was added by Hilko's patch: >> >> >> https://github.com/libguestfs/supermin/commit/e8dd485a1737da365bc6af4afb5945817219393e >> >> and I suspect you will need to include this patch in your version of >> supermin. You'll have to also look at the contents of /boot. >> >> Note also that you don't need to install the supermin package in order >> to use it, if you follow the instructions here: >> >> >> http://libguestfs.org/guestfs-faq.1.html#how-can-i-compile-and-install-libguestfs-if-my-distro-doesnt-have-new-enough-qemu-supermin-kernel >> >> Rich. >> >> -- >> Richard Jones, Virtualization Group, Red Hat >> http://people.redhat.com/~rjones >> Read my programming and virtualization blog: http://rwmj.wordpress.com >> Fedora Windows cross-compiler. Compile Windows programs, test, and >> build Windows installers. Over 100 libraries supported. >> http://fedoraproject.org/wiki/MinGW >> > >