If you follow the code in src/kernel.ml you'll see that this means
On Wed, Jun 04, 2014 at 03:29:11PM +0530, abhishek jain wrote:
> supermin: kernel: SUPERMIN_KERNEL environment variable /boot/uImage
> supermin: failed to find a suitable kernel (host_cpu=powerpc64).
>
> I looked for kernels in /boot and modules in /lib/modules.
supermin was unable to get the kernel version from the supplied kernel
file. The code is fairly simple to follow. I barely have internet
access here and in any case I don't know what's in that uImage file,
so I suggest compiling supermin yourself, running the command by hand,
and adding printf's to src/kernel.ml in supermin to find the problem.
Rich.
virt-builder quickly builds VMs from scratch
>
> 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/libguestfsfPWXx0
>
>
>
> I think i need to enable virtio-serial in my kernel.
> I'll you let you know the result after enabling virtio-seriel in the kernel
> inn 5-10 min.
> Well sorry to disturb you on vocations.:-(
>
> Thanks
>
>
> On Wed, Jun 4, 2014 at 2:49 PM, Richard W.M. Jones <rjones@redhat.com>
> wrote:
>
> > On Wed, Jun 04, 2014 at 02:25:58PM +0530, abhishek jain wrote:
> > > Hi RIch
> > >
> > >
> > > Below are the details of the powerpc ubuntu system ...
> > >
> > > ls -l /boot/
> > > total 10200
> > > -rw-r--r-- 1 root root 5224765 Nov 22 2013 uImage
> > > -rw-r--r-- 1 root root 5192861 Nov 22 2013 uImage.orig
> > >
> > >
> > > ls -l /lib/modules/
> > > total 4
> > > drwxr-xr-x 3 ubuntu ubuntu 4096 Jun 3 07:21 3.8.13-rt9-QorIQ-SDK-V1.4
> > >
> > >
> > > uname -a
> > > Linux t4240-ubuntu1310 3.8.13-rt9-QorIQ-SDK-V1.4 #10 SMP Tue May 27
> > > 10:48:24 IST 2014 ppc64 ppc64 ppc64 GNU/Linux
> >
> > Well, assuming the modules directory matches the kernel (uImage)
> > you could try:
> >
> > export SUPERMIN_KERNEL=/boot/uImage
> > export SUPERMIN_MODULES=/lib/modules/3.8.13-rt9-QorIQ-SDK-V1.4
> >
> > Are these homebrew kernels? I'm surprised that an official Ubuntu
> > ppc kernel would have such a non-standard name. Anyway, if homebrew
> > you'll also need to ensure the kernel supports all the usual virtio
> > devices (especially virtio-serial, which is required by libguestfs).
> >
> > Rich.
> >
> > --
> > Richard Jones, Virtualization Group, Red Hat
> > http://people.redhat.com/~rjones
> > Read my programming and virtualization blog: http://rwmj.wordpress.com
> > virt-top is 'top' for virtual machines. Tiny program with many
> > powerful monitoring features, net stats, disk stats, logging, etc.
> > http://people.redhat.com/~rjones/virt-top
> >
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
http://libguestfs.org/virt-builder.1.html