[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46D6D8F6.2040201@zytor.com>
Date: Thu, 30 Aug 2007 07:49:26 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Christian Ehrhardt <lk@...e.de>
CC: linux-kernel@...r.kernel.org
Subject: Re: New x886-Setup code breaks HVM-XEN boot
Christian Ehrhardt wrote:
>
> Note the the xm console command terminates on its own, i.e. the guest
> machine seems to halt and not hang somewhere.
>
> I could verify that the real mode code up to the assembly code in
> pmjump.S is in fact executed. The problem appears to occur while
> enabling protected mode. I tried to put endless loops into the 32-bit
> setup code but these were apparently not reached. As far as I understand
> this, the protected mode jump in pmjump.S seems to jump into nowhere.
>
> I am willing to do tests with the XEN guest and send any additional
> information that might be helpful. However, I cannot change the XEN host
> at this time.
>
> Any suggestions?
>
All of this point to a bug in the Xen emulation host. You're not saying
if you're on an Intel or AMD host, but on Intel, hardware
virtualization doesn't actually kick in until you're in protected mode
with all segments configured properly. This means all of pmjump.S runs
in an interpreter. A bug in that interpreter would cause what you observe.
-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists