[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#599200: base-installer: Install amd64 kernel on i686 kvm guest - and fail to boot

On Tue, 2010-10-05 at 23:07 +0200, Petter Reinholdtsen wrote:
> affects 599200 qemu-kvm
> thanks
> [Lennart Sorensen]
> > The 'lm' flag means this system has 64bit support.  If in fact it
> > doesn't, then the VM is broken.  The installer did the right thing
> > based on the CPU feature flags.
> Assuming this is true, I suggest two things are done to make sure d-i
> work on 32-bits kvm guests on a lenny based kvm host.
>  (1) base-installer is changed to detect 32-bits kvms and to not
>      propose amd64 kernels in this situation.  Not quite sure how to
>      detect 32-bit kvms.
>  (2) a bug is repoted against some kvm related package, to try to get
>      it to stop listing the lm CPU flag for 32-bit kvm guests.  Not
>      quite sure which package it should be reported against.  Perhaps
>      qemu-kvm?
> I've asked the kvm maintainer to provide input in this bug, to see if
> we can figure out a good way to solve it.

I tested both 5.0.6 and daily d-i images under a 64-bit capable host
running lenny with a 686 kernel, and the 'lm' flag was not set in either

Please specify exactly which versions of kvm/qemu-kvm and the kernel you
are running in the host, and whether you are using the kvm modules from
the linux-image-2.6.26-2-686 or built from kvm-source.


Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: