All of lore.kernel.org
 help / color / mirror / Atom feed
* KVM-enabled Linux 3.2 won't boot in kvm
@ 2012-08-19  2:04 Neal Murphy
  2012-08-20 13:41 ` Wolfram Gloger
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Neal Murphy @ 2012-08-19  2:04 UTC (permalink / raw)
  To: kvm

I've been using KVM for a few years now. I've had little trouble with it. But 
now it's got me treed. I cannot get a KVM-enabled Linux 3.2.27 kernel to boot 
in qemu-kvm unless I specify '-no-kvm'. I've used a similarly-built and -
configured 2.6.35 kernel without trouble.

The console shows
  Probing EDD (edd=off to disable)... ok

  Decompressing Linux... Parsing ELF... done.
  Booting the kernel.

And there it hangs, the kvm program at 100% CPU usage.

This is on Debian Squeeze, either using Debian's kvm package or using a 
freshly built kvm 1.1.1. The kernel does boot using qemu or booting on real 
hardware. And I've no trouble booting Linux 2.6.35.

Clearly I've missed something, but I've no idea what that might be. Any ideas?

Thanks,
N

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: KVM-enabled Linux 3.2 won't boot in kvm
@ 2012-08-23  4:04 Neal Murphy
  0 siblings, 0 replies; 6+ messages in thread
From: Neal Murphy @ 2012-08-23  4:04 UTC (permalink / raw)
  To: kvm

(Oops. Just noticed I didn't send this to the list....)

On Monday 20 August 2012 09:41:52 Wolfram wrote:
> Neal Murphy writes:
> >I've been using KVM for a few years now. I've had little trouble with it.
> >But now it's got me treed. I cannot get a KVM-enabled Linux 3.2.27 kernel
> >to boot in qemu-kvm unless I specify '-no-kvm'. I've used a
> >similarly-built and - configured 2.6.35 kernel without trouble.
> >
> >This is on Debian Squeeze, either using Debian's kvm package or using a
> >freshly built kvm 1.1.1. The kernel does boot using qemu or booting on
> >real hardware. And I've no trouble booting Linux 2.6.35.
> 
> I'm also on squeeze, with qemu-kvm_1.1.0+dfsg-3 compiled by myself.
> 
> For me, booting 3.2.27 in a VM guest works just fine:
> 
> ...
> 
> Can you please post your complete qemu command and host kernel
> version?

CPU: AMD quad-core Phenom II 965, not overclocked; 8GB RAM

/proc/version:
Linux version 2.6.32-5-686-bigmem (Debian 2.6.32-45) (dannf@debian.org) (gcc 
version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sun May 6 04:39:05 UTC 2012

kvm version (standard Squeeze qemu-kvm pkg):
QEMU PC emulator version 0.12.5 (qemu-kvm-0.12.5), Copyright (c) 2003-2008 
Fabrice Bellard

Complete kvm command:
kvm -cpu athlon -smp 4 -drive 
if=ide,media=disk,serial=1111,file=/scratch/scratch.img,index=0 -drive 
if=ide,media=cdrom,serial=3333,file=/usr/src/agcl000/distrib/build/target/isos/agcl-0.0.0.iso,index=1 
-net nic,vlan=0,macaddr=52:54:00:00:00:00,model=e1000 -net 
tap,vlan=0,ifname=tapRD0000,script=/etc/network/qemuREDup,downscript=/etc/network/qemuREDdown 
-net nic,vlan=1,macaddr=52:54:00:00:00:01,model=e1000 -net 
tap,vlan=1,ifname=tapGN0000,script=/etc/network/qemuGREENup,downscript=/etc/network/qemuGREENdown 
-net nic,vlan=2,macaddr=52:54:00:00:00:02,model=e1000 -net 
tap,vlan=2,ifname=tapOR0000,script=/etc/network/qemuORANGEup,downscript=/etc/network/qemuORANGEdown 
-net nic,vlan=3,macaddr=52:54:00:00:00:03,model=e1000 -net 
tap,vlan=3,ifname=tapPU0000,script=/etc/network/qemuPURPLEup,downscript=/etc/network/qemuPURPLEdown 
-name 'iso:VM #0 (defaults for scratch use)' -sdl -boot menu=on -m 512 -vga 
std -usb -serial stdio

I *may* be using a newer BIOS; IIRC (it's been a long while) the stock BIOS 
would give me continual errors (making the VM real slllooooowwwww).

Also tried with the latest (via /usr/local/bin/qemu-system-i386, command is 
otherwise the same):
QEMU emulator version 1.1.1 (qemu-kvm-1.1.1), Copyright (c) 2003-2008 Fabrice 
Bellard


[Upon resend to list]
3.0.41 and 3.4.9 also hang. I'll start working my way back to 2.6.35 until I 
find a kernel that boots.

N

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-09-04 13:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-19  2:04 KVM-enabled Linux 3.2 won't boot in kvm Neal Murphy
2012-08-20 13:41 ` Wolfram Gloger
2012-08-20 14:44 ` Michael Tokarev
2012-08-24  3:14 ` Neal Murphy
2012-09-04 13:09   ` Avi Kivity
  -- strict thread matches above, loose matches on Subject: below --
2012-08-23  4:04 Neal Murphy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.