[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] X86_64 and 4GB RAM using Flat Memory Model?

  • To: "Keir Fraser" <keir@xxxxxxxxxxxxx>
  • From: "John Hannfield" <hal9020@xxxxxxxxx>
  • Date: Tue, 1 May 2007 15:07:08 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 01 May 2007 07:05:42 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PCFulAXte3n1kRwao5zOmXspAbzeDjklkdc2oafPytXjPFRc3P8FOmIkGd/v/Yy+/yvDLJ4eApTlrYMnG6GDBkuGf/lpdMy/KHncN05WI5L9Q+Vd1QhebdU6pEf3DLaXSsaITZhlaKJ5EGsa6mFSb3WJzqjHEG6+miQypaO7eqM=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi Kier,

So the issue here is that grub has for some reason been upset by the values
returned to it by the e820 bios command, and has decided to fall back to a
simpler bios command which only tells you amount of memory up to the first
memory hole. This wouldn't necessarily affect Linux because it interrogates
the bios itself, using different code which isn't affected by this bug
(either it's a bios bug which Linux explicitly works around or is simply not
susceptible to; or it's a grub bug which Linux doesn't have).

OK, I understand now.
Thanks for the explanation.

 1. Dig into why GRUB is bailing on the e820 map, and come up with a grub
patch to fix (or work around) the bug. This will require modifying,
building, installing grub, rebooting the machine, etc etc. It's a pain in
the arse.

OK, I will look in to that. I have tested the latest debian grub 0.97-27
with some patches which fix BIOS e820 fixes people recommended, but
still the same.

 2. Boot via a different method (basically that would mean pxe). This might
be convenient or impossible, depending on your machine's local network

Hmmm. Maybe.

 3. There is no command-line option for overrding the e820 map. We could
lash one up, or I can give you a basic patch for you to fill in the blanks
with your memory map. You can then build special Xen with hardcoded map for
that box.

That would be great. I have the memory map from the vanilla linux boot, so
if you can show me where to hardcode that in, I will give it a shot. I always
compile xen from source anyway for each server.

I should add the slightly longer term (post 3.0.5) solution, which will be
that Xen can return to real mode and interrogate e820 itself. We could at
least provide this as a command-line option, even if it's not the default.

Ok, that would be useful.



Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.