"Corrigido" comentando as partes que usam mapas BIOS e801 e e820. Não sei por que o modo não real não funciona.
diff -ur orig/xen-4.0.1//xen/arch/x86/setup.c mod/xen-4.0.1//xen/arch/x86/setup.c
--- orig/xen-4.0.1//xen/arch/x86/setup.c 2010-08-29 15:13:22.000000000 +0000
+++ mod/xen-4.0.1//xen/arch/x86/setup.c 2012-01-28 01:33:22.000000000 +0000
@@ -589,6 +589,8 @@
if ( ((unsigned long)cpu0_stack & (STACK_SIZE-1)) != 0 )
EARLY_FAIL("Misaligned CPU0 stack.\n");
+#if 0
+ /* disable raw e801 and e820 for now in favor of multiboot provided maps */
if ( e820_raw_nr != 0 )
{
memmap_type = "Xen-e820";
@@ -604,7 +606,9 @@
e820_raw[1].type = E820_RAM;
e820_raw_nr = 2;
}
- else if ( mbi->flags & MBI_MEMMAP )
+ else
+#endif
+ if ( mbi->flags & MBI_MEMMAP )
{
memmap_type = "Multiboot-e820";
while ( (bytes < mbi->mmap_length) && (e820_raw_nr < E820MAX) )
xm dmesg agora mostra a quantidade adequada de RAM
(XEN) Xen version 4.0.1 (Debian 4.0.1-4nobios1) (@) (gcc version 4.4.5 (Debian 4.4.5-8) ) Sat Jan 28 01:33:24 UTC 2012
(XEN) Bootloader: GRUB 1.99-14
(XEN) Command line: placeholder no-real-mode e820-verbose
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds
(XEN) Disc information:
(XEN) Found 2 MBR signatures
(XEN) Found 2 EDD information structures
(XEN) Initial Multiboot-e820 RAM map:
(XEN) 0000000000000000 - 00000000000a0000 (usable)
(XEN) 0000000000100000 - 0000000020000000 (usable)
(XEN) 0000000020000000 - 0000000020200000 (reserved)
(XEN) 0000000020200000 - 0000000040000000 (usable)
(XEN) 0000000040000000 - 0000000040200000 (reserved)
(XEN) 0000000040200000 - 00000000ba5cc000 (usable)
(XEN) 00000000ba5cc000 - 00000000ba628000 (ACPI NVS)
(XEN) 00000000ba628000 - 00000000bab36000 (reserved)
(XEN) 00000000bab36000 - 00000000bab39000 (ACPI NVS)
(XEN) 00000000bab39000 - 00000000bad9f000 (reserved)
(XEN) 00000000bad9f000 - 00000000badb0000 (ACPI NVS)
(XEN) 00000000badb0000 - 00000000badc4000 (reserved)
(XEN) 00000000badc4000 - 00000000badc5000 (reserved)
(XEN) 00000000badc5000 - 00000000badc7000 (reserved)
(XEN) 00000000badc7000 - 00000000badc9000 (usable)
(XEN) 00000000badc9000 - 00000000badca000 (ACPI NVS)
(XEN) 00000000badca000 - 00000000badcb000 (reserved)
(XEN) 00000000badcb000 - 00000000badd2000 (reserved)
(XEN) 00000000badd2000 - 00000000baddc000 (ACPI NVS)
(XEN) 00000000baddc000 - 00000000bade9000 (reserved)
(XEN) 00000000bade9000 - 00000000bae2a000 (reserved)
(XEN) 00000000bae2a000 - 00000000bae35000 (reserved)
(XEN) 00000000bae35000 - 00000000bae38000 (reserved)
(XEN) 00000000bae38000 - 00000000bae7b000 (ACPI NVS)
(XEN) 00000000bae7b000 - 00000000bb000000 (usable)
(XEN) 00000000bb800000 - 00000000bfa00000 (reserved)
(XEN) 00000000fed1c000 - 00000000fed20000 (reserved)
(XEN) 00000000ff000000 - 0000000100000000 (reserved)
(XEN) 0000000100000000 - 000000023fe00000 (usable)
(XEN) Checking MTRR ranges...
(XEN) MTRR cap: d0a type: c00
(XEN) MTRR[0]: base 6 mask e00000800
(XEN) MTRR[1]: base 200000006 mask fc0000800
(XEN) MTRR[2]: base bb800000 mask fff800800
(XEN) MTRR[3]: base bc000000 mask ffc000800
(XEN) MTRR[4]: base c0000000 mask fc0000800
(XEN) MTRR[5]: base 23fe00000 mask fffe00800
(XEN) MTRR[6]: base bb000006 mask fff800000
(XEN) MTRR[7]: base 0 mask 0
(XEN) MTRR[8]: base 0 mask 0
(XEN) MTRR[9]: base 0 mask 0
(XEN) Multiboot-e820 RAM map:
(XEN) 0000000000000000 - 00000000000a0000 (usable)
(XEN) 0000000000100000 - 0000000020000000 (usable)
(XEN) 0000000020000000 - 0000000020200000 (reserved)
(XEN) 0000000020200000 - 0000000040000000 (usable)
(XEN) 0000000040000000 - 0000000040200000 (reserved)
(XEN) 0000000040200000 - 00000000ba5cc000 (usable)
(XEN) 00000000ba5cc000 - 00000000ba628000 (ACPI NVS)
(XEN) 00000000ba628000 - 00000000bab36000 (reserved)
(XEN) 00000000bab36000 - 00000000bab39000 (ACPI NVS)
(XEN) 00000000bab39000 - 00000000bad9f000 (reserved)
(XEN) 00000000bad9f000 - 00000000badb0000 (ACPI NVS)
(XEN) 00000000badb0000 - 00000000badc7000 (reserved)
(XEN) 00000000badc7000 - 00000000badc9000 (usable)
(XEN) 00000000badc9000 - 00000000badca000 (ACPI NVS)
(XEN) 00000000badca000 - 00000000badd2000 (reserved)
(XEN) 00000000badd2000 - 00000000baddc000 (ACPI NVS)
(XEN) 00000000baddc000 - 00000000bae38000 (reserved)
(XEN) 00000000bae38000 - 00000000bae7b000 (ACPI NVS)
(XEN) 00000000bae7b000 - 00000000bb000000 (usable)
(XEN) 00000000bb800000 - 00000000bfa00000 (reserved)
(XEN) 00000000fed1c000 - 00000000fed20000 (reserved)
(XEN) 00000000ff000000 - 0000000100000000 (reserved)
(XEN) 0000000100000000 - 000000023fe00000 (usable)
(XEN) ACPI: RSDP 000FCB00, 0024 (r2 ALASKA)
(XEN) ACPI: XSDT BA61D068, 004C (r1 ALASKA A M I 1072009 AMI 10013)
(XEN) ACPI: FACP BA627210, 00F4 (r4 ALASKA A M I 1072009 AMI 10013)
(XEN) ACPI: DSDT BA61D140, A0CD (r2 ALASKA A M I 0 INTL 20051117)
(XEN) ACPI: FACS BADD3F80, 0040
(XEN) ACPI: APIC BA627308, 0092 (r3 ALASKA A M I 1072009 AMI 10013)
(XEN) ACPI: SSDT BA6273A0, 01D6 (r1 AMICPU PROC 1 MSFT 3000001)
(XEN) ACPI: MCFG BA627578, 003C (r1 ALASKA A M I 1072009 MSFT 97)
(XEN) ACPI: HPET BA6275B8, 0038 (r1 ALASKA A M I 1072009 AMI. 4)
(XEN) System RAM: 8096MB (8291276kB)