From: Jim Paris <jim-XrPbb/hENzg@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: kvm problems with Intel host and netbsd/linux guests
Date: Mon, 5 Mar 2007 03:38:33 -0500 [thread overview]
Message-ID: <20070305083833.GA10982@jim.sh> (raw)
Hi,
I'm having trouble getting kvm to work on my system.
The host has 2 dual-core Intel Xeon 5130 CPUs (flags: lm vmx)
and is running Linux 2.6.20.1 with kvm-15 (although I've had no luck
with kvm-12 or kvm-14 either)
If I take (for example) the NetBSD amd64 installation:
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/amd64/installation/cdrom/amd64cd-3.1.iso
and run it with
qemu-img create hda.img 4G
qemu-system-x86_64 -cdrom amd64cd-3.1.iso -hda hda.img -boot d
then the screen flashes briefly but qemu crashes with
unhandled vm exit: 0x80000021
rax 0000000000000000 rbx 0000000000000000 rcx 0000000000000000 rdx 0000000000000600
rsi 0000000000000000 rdi 0000000000000000 rsp 0000000000000000 rbp 0000000000000000
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 000000000000fff0 rflags 00023002
cs f000 (ffff0000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
es 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
tr 0000 (08850000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
gdt 0/ffff
idt 0/ffff
cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
Aborted
If I try to run it without kvm:
qemu-system-x86_64 -no-kvm -cdrom amd64cd-3.1.iso -hda hda.img -boot d
Then I get a blank SDL window that is entirely frozen (can't even
switch to the qemu monitor). If I use a stock qemu 0.8.2 to boot the
cdrom and run the installer, then try to boot the resulting disk image
with kvm:
qemu-system-x86_64 -hda hda.img -boot c
qemu-system-x86_64 -no-kvm -hda hda.img -boot c
then I get the exact same results -- the first crashes with "unhandled
vm exit" and the second freezes.
Any suggestions?
Also, on the Linux side of things, I have a disk image from a computer
that also crashes when I try to boot it. It dies with "exception 14"
after Grub. But, it does work fine with -no-kvm. The kernel it's
booting is a 32-bit k7 optimized kernel; is it expected behavior for
that to work fine under -no-kvm but crash on an Intel host?
-jim
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
next reply other threads:[~2007-03-05 8:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-05 8:38 Jim Paris [this message]
[not found] ` <20070305083833.GA10982-lSbMZ+N7itA@public.gmane.org>
2007-03-05 9:25 ` kvm problems with Intel host and netbsd/linux guests Avi Kivity
[not found] ` <45EBE20D.6070706-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-05 9:43 ` Jim Paris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070305083833.GA10982@jim.sh \
--to=jim-xrpbb/henzg@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox