Skip to contentSkip to conversation

BUG at domain.c:144

DISCUSSION Keir Fraser 2 participants 3 messages Apr 14, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · Christopher S. Aker

No biggie. Got the correct output this time, I believe. Results and binaries:

http://www.theshore.net/~caker/xen/BUGdomain3/?M=D

Ah, got it. I need to be a bit more clever with not-ordinary-RAM pages. Your e820 map is a tiny bit unusual in that there is a small piece of usable RAM just after the ACPI areas. Since I currently assume non-RAM only occurs at the very end of the map (no holes) Xen isn't allowing domain0 to map the BIOS DMI tables (it thinks it is ordinary RAM so performs normal ownership checks, and the pages do not belong to dom0).

I'll sort out a fix tomorrow...

-- Keir

#1 lore raw
Quoted 4 lines

Ah, got it. I need to be a bit more clever with not-ordinary-RAM pages. Your e820 map is a tiny bit unusual in that there is a small piece of usable RAM just after the ACPI areas. Since I currently assume non-RAM only occurs at the very end of the map (no holes) Xen isn't allowing domain0 to map the BIOS DMI tables (it thinks it is ordinary RAM so performs normal ownership checks, and the pages do not belong to dom0).

I'll sort out a fix tomorrow...

I've pushed a fix into the 2.0-testing repository. I'm about to merge it into the unstable repository as well.

-- Keir

#2 lore raw
Quoted 6 lines
Quoted 1 line

I'll sort out a fix tomorrow...

I've pushed a fix into the 2.0-testing repository. I'm about to merge it into the unstable repository as well.

-- Keir

Just booted -testing and it works great! Nicely done.

Thanks,
-Chris