From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Simon Kagstrom <simon.kagstrom-6Uc+yI3S9P8@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Etherboot problems
Date: Thu, 09 Nov 2006 18:17:47 +0200 [thread overview]
Message-ID: <455354AB.8000908@qumranet.com> (raw)
In-Reply-To: <874pt8ip14.wl%simon.kagstrom-6Uc+yI3S9P8@public.gmane.org>
Simon Kagstrom wrote:
> Hello!
>
> I'm trying to get etherboot running with KVM (version 2 from today),
> but have been unsucessful so far. It works well in plain qemu, but not
> with KVM.
>
> I'm running etherboot 5.4.2, ROM rtl8139:rtl8139 [0x10ec,0x8139] built
> as a "ISO bootable image without legacy floppy emulation (.iso)" on
> http://rom-o-matic.net/5.4.2/. When I run it I get
>
> $ qemu-system-x86_64 -cdrom ~/eb-rtl8139.iso
> ...
> unhandled vm exit: 0x2
> rax 0000000060000011 rbx 0000000000000e51 rcx 0000000000000000 rdx 0000000000000000
> rsi 0000000000106347 rdi 0000000000016347 rsp 0000000000008fbe rbp 0000000000098fbe
> r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
> r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
> rip 0000000000000e8a rflags 00010006
> Aborted
>
> . From browsing the Xen sources, I think the VM exit 0x2 is a
> triple-fault. I've disassembled the .iso with hte, and the code that
> runs last is
>
> ...
> 00000e75 660fb7ec movzx ebp, sp
> 00000e79 6601c5 add ebp, eax
> 00000e7c 660f01975200 lgdt single ptr [bx+0x52]
> 00000e82 0f20c0 mov eax, cr0
> 00000e85 0c01 or al, 0x1
> 00000e87 0f22c0 mov cr0, eax
> 00000e8a 66ffaf6a00 jmp far ptr [bx+0x6a]
> ...
>
> I'm not an expert on Intel-syntax 16-bit assembly, but I guess the
> last instruction is something like
>
> jmp *0x6a(%bx)
>
> . One thing which I'm sure of is if the vm exit was caused by the move
> to %cr0 or the jump.
>
> Any takes? I can supply the .iso if someone would like to play with it
>
I've generated the .iso (nice interface) and will try to reproduce it.
Thanks for testing -- we really need those wierd guests to test the
corner cases.
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
next prev parent reply other threads:[~2006-11-09 16:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-09 16:05 Etherboot problems Simon Kagstrom
[not found] ` <874pt8ip14.wl%simon.kagstrom-6Uc+yI3S9P8@public.gmane.org>
2006-11-09 16:17 ` Avi Kivity [this message]
[not found] ` <455354AB.8000908-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2006-11-09 17:49 ` Avi Kivity
[not found] ` <45536A11.6050808-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2006-11-09 18:11 ` Simon Kagstrom
[not found] ` <873b8sij7k.wl%simon.kagstrom-6Uc+yI3S9P8@public.gmane.org>
2006-11-10 2:32 ` Anthony Liguori
2006-11-10 15:35 ` Simon Kagstrom
[not found] ` <87odrfgvqf.wl%simon.kagstrom-6Uc+yI3S9P8@public.gmane.org>
2006-11-10 16:11 ` Avi Kivity
[not found] ` <4554A4BF.5020409-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2006-11-11 13:27 ` Simon Kagstrom
[not found] ` <87r6wa9kr2.wl%simon.kagstrom-6Uc+yI3S9P8@public.gmane.org>
2006-11-12 8:20 ` Avi Kivity
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=455354AB.8000908@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=simon.kagstrom-6Uc+yI3S9P8@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