WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xen-unstable on HP dc7800 simply reboots

To: John Byrne <john.l.byrne@xxxxxx>
Subject: Re: [Xen-devel] xen-unstable on HP dc7800 simply reboots
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 24 Oct 2007 09:03:35 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 24 Oct 2007 00:59:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C344AED2.F67D%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgWDSyta2+MTIIAEdyyOQAWy6hiGQABzOQg
Thread-topic: [Xen-devel] xen-unstable on HP dc7800 simply reboots
User-agent: Microsoft-Entourage/11.3.6.070618
On 24/10/07 08:12, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx> wrote:

>> Littering the early boot code with putc() and comparing the code's
>> behavior on a machine that actually boots, I've found that the call to
>> get_memory_map from trampoline.S is the root of all evil. If that is
>> called, then the trampoline fails to make it back to protected mode from
>> real mode. I am still working to identify the specific problem.
> 
> So if you remove that call, so Xen falls back to using the GRUB-supplied
> memory map, then Xen boots okay? Is tghat tru on current tip of xen-unstable
> too?

Thinking some more my guess is that any BIOS call is causing you to crash,
so removing just teh call to get_memory_map will be insufficient on tip --
you'll have to remove calls to set video mode and get edd information too.
Perhaps the IDT is either corrupted or not actually at address 0x0, like
it's supposed to be? What happens if you remove the 'lidt' instruction from
arch/x86/boot/trampoline.S?

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel