<div dir="ltr"><div><div><div>Hi Rich <br><br></div>I'm able to solve this.<br></div>I copied uImage to vmlinuz-3.8.13-rt9-QorIQ-SDK-V1.4 and I'm now able to proceed.<br><br></div>Thanks a lot for the help despite being on vocations.:-)<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 4, 2014 at 4:38 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
<br>
On Wed, Jun 04, 2014 at 03:29:11PM +0530, abhishek jain wrote:<br>
> supermin: kernel: SUPERMIN_KERNEL environment variable /boot/uImage<br>
> supermin: failed to find a suitable kernel (host_cpu=powerpc64).<br>
><br>
> I looked for kernels in /boot and modules in /lib/modules.<br>
<br>
</div>If you follow the code in src/<a href="http://kernel.ml" target="_blank">kernel.ml</a> you'll see that this means<br>
supermin was unable to get the kernel version from the supplied kernel<br>
file.  The code is fairly simple to follow.  I barely have internet<br>
access here and in any case I don't know what's in that uImage file,<br>
so I suggest compiling supermin yourself, running the command by hand,<br>
and adding printf's to src/<a href="http://kernel.ml" target="_blank">kernel.ml</a> in supermin to find the problem.<br>
<br>
Rich.<br>
<div><div class="h5"><br>
<br>
><br>
> If this is a Xen guest, and you only have Xen domU kernels<br>
> installed, try installing a fullvirt kernel (only for<br>
> supermin use, you shouldn't boot the Xen guest with it).<br>
> libguestfs: error: /usr/bin/supermin exited with error status 1, see debug<br>
> messages above<br>
> libguestfs-test-tool: failed to launch appliance<br>
> libguestfs: closing guestfs handle 0x10016848 (state 0)<br>
> libguestfs: command: run: rm<br>
> libguestfs: command: run: \ -rf /tmp/libguestfsfPWXx0<br>
><br>
><br>
><br>
> I think i need to enable virtio-serial in my kernel.<br>
> I'll you let you know the result after enabling virtio-seriel in the kernel<br>
> inn 5-10 min.<br>
> Well sorry to disturb you on vocations.:-(<br>
><br>
> Thanks<br>
><br>
><br>
> On Wed, Jun 4, 2014 at 2:49 PM, Richard W.M. Jones <<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>><br>
> wrote:<br>
><br>
> > On Wed, Jun 04, 2014 at 02:25:58PM +0530, abhishek jain wrote:<br>
> > > Hi RIch<br>
> > ><br>
> > ><br>
> > > Below are the details of the powerpc ubuntu system ...<br>
> > ><br>
> > > ls -l /boot/<br>
> > > total 10200<br>
> > > -rw-r--r-- 1 root root 5224765 Nov 22  2013 uImage<br>
> > > -rw-r--r-- 1 root root 5192861 Nov 22  2013 uImage.orig<br>
> > ><br>
> > ><br>
> > > ls -l /lib/modules/<br>
> > > total 4<br>
> > > drwxr-xr-x 3 ubuntu ubuntu 4096 Jun  3 07:21 3.8.13-rt9-QorIQ-SDK-V1.4<br>
> > ><br>
> > ><br>
> > > uname -a<br>
> > > Linux t4240-ubuntu1310 3.8.13-rt9-QorIQ-SDK-V1.4 #10 SMP Tue May 27<br>
> > > 10:48:24 IST 2014 ppc64 ppc64 ppc64 GNU/Linux<br>
> ><br>
> > Well, assuming the modules directory matches the kernel (uImage)<br>
> > you could try:<br>
> ><br>
> > export SUPERMIN_KERNEL=/boot/uImage<br>
> > export SUPERMIN_MODULES=/lib/modules/3.8.13-rt9-QorIQ-SDK-V1.4<br>
> ><br>
> > Are these homebrew kernels?  I'm surprised that an official Ubuntu<br>
> > ppc kernel would have such a non-standard name.  Anyway, if homebrew<br>
> > you'll also need to ensure the kernel supports all the usual virtio<br>
> > devices (especially virtio-serial, which is required by libguestfs).<br>
> ><br>
> > Rich.<br>
> ><br>
> > --<br>
> > Richard Jones, Virtualization Group, Red Hat<br>
> > <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
> > Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" target="_blank">http://rwmj.wordpress.com</a><br>
> > virt-top is 'top' for virtual machines.  Tiny program with many<br>
> > powerful monitoring features, net stats, disk stats, logging, etc.<br>
> > <a href="http://people.redhat.com/~rjones/virt-top" target="_blank">http://people.redhat.com/~rjones/virt-top</a><br>
> ><br>
<br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" target="_blank">http://rwmj.wordpress.com</a><br>
</div></div>virt-builder quickly builds VMs from scratch<br>
<a href="http://libguestfs.org/virt-builder.1.html" target="_blank">http://libguestfs.org/virt-builder.1.html</a><br>
</blockquote></div><br></div>