Re: 2.6.16 Guest Hangs on Boot

Gleb Natapov
2010-09-16T07:56:13Z

On Thu, Sep 16, 2010 at 03:52:17PM +0800, Alec Joseph Rivera wrote:
> On Thu, 2010-09-16 at 08:39 +0200, Gleb Natapov wrote:
> > On Thu, Sep 16, 2010 at 09:55:38AM +0800, Alec Joseph Rivera wrote:
> > > > That should give us a clue on what's going wrong.
> > > >
> > >
> > > I did the steps you mentioned. Here's the gdb transcript:
> > >
> > > $ gdb k12_1009 -ex 'target remote localhost:1234'
> > What is k12_1009? Are you sure this is vmlinux?
> >
>
> Hi Gleb:
>
> Yes, k12_1009 is the kernel image that isolinux loads.
>
> -- isolinux.cfg
>
> > DEFAULT 1
> > TIMEOUT 100
> > PROMPT 1
> > DISPLAY isolinux.txt
> > LABEL 1
> > KERNEL k12_1009
> > APPEND ramdisk_size=32768 initrd=initrd root=/dev/ram
> > LABEL 2
> > KERNEL k12_1009
> > APPEND ramdisk_size=32768 initrd=initrd root=/dev/ram BOOT_SUPPORT=1
>
> -- file test
> > $ file k12_1009
> > k12_1009: Linux kernel x86 boot executable bzImage, version 2.6.16.54-0.2.5-bigsmp (geeko@b, RO-rootFS, root_dev 0x301, swap_dev 0x1, Normal VGA
>
This is bzImage, You need corresponding vmlinux bzImage was created
from.

> > BTW what version on kvm/qemu are you using.
> >
>
> qemu's version is 0.12.5. modinfo kvm doesn't reveal any version string
> though, however the kernel is 2.6.35 from Arch.
>
> Question: from what I've read so far kvm versions are of 'kvm-xx' where
> xx is a number, on sourceforge there is kvm-kmod-{kernel-version}, am I
> correct in assuming and saying then that my kvm version is 2.6.35?
>
kvm-xx is deprecated. So when asked what kvm are you using you should
provide your kernel version like you did.

--
Gleb.