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

Re: [Xen-devel] Can't see more than 3.5GB of RAM / UEFI / no e820 memory map detected



On Thu, Aug 23, 2012 at 09:06:20AM +0300, Pasi Kärkkäinen wrote:
> On Thu, Aug 23, 2012 at 12:48:01AM +0100, Jonathan Tripathy wrote:
> > 
> > Hi Everyone,
> > 
> > CC: Xen-users
> > 
> > I am running Ubuntu 12.04 x86_64. My machine has a supermicro
> > motherboard X9SCI-LN4F with 32GB of RAM installed. To get Xen, I simply
> > did apt-get install xen-hypervisor which gives me Ubuntu's 4.1 xen version.
> > 
> > For some reason, Xen can't see any more than about 3.5GB of RAM. I can
> > confirm this by xentop as well as xm info. I am definately running a
> > 64-bit Dom0 kernel as when I boot into it without Xen, I can see all
> > 32GB of RAM by running "free -m".
> > 
> > Has anybody come across this issue before? For what it's worth, I'm
> > booting my system using UEFI - could that have something to do with it?
> > 
> > Any help is very much appreciated
> > 
> 
> Yes, this is UEFI related issue. Can you turn UEFI off? 
> 
> It looks like you're not running UEFI capable Xen hypervisor.
> (Xen 4.2 has UEFI support, and some vendors have backported UEFI support on 
> older versions,
> for example Suse SLES11SP2 contains UEFI support in Xen 4.1).
>

Fixed the line above :)
                                     
-- Pasi


> > Thanks
> > 
> > Here is the output of xm dmesg:
> > 
> > (XEN) Xen version 4.1.2 (Ubuntu 4.1.2-2ubuntu2.2)
> > (stefan.bader@xxxxxxxxxxxxx) (gcc version 4.6.3 (Ubuntu/Linaro
> > 4.6.3-1ubuntu5) ) Sat Jul 21 09:01:19 UTC 2012
> > (XEN) Bootloader: GRUB 1.99-21ubuntu3.1
> > (XEN) Command line: placeholder
> > (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 0 MBR signatures
> > (XEN)  Found 0 EDD information structures
> 
> here:
> 
> > (XEN) Xen-e801 RAM map:
> > (XEN)  0000000000000000 - 0000000000099c00 (usable)
> > (XEN)  0000000000100000 - 00000000ddd00000 (usable)
> 
> This is the problem - only the legacy e801 memory map is detected here.
> You need the usual e820 memory map to see all the memory (correct memory 
> layout).
> 
> You need Xen with UEFI support, or turn off UEFI in BIOS.
> 
> 
> -- Pasi
> 
> 
> > (XEN) System RAM: 3548MB (3633764kB)
> > (XEN) ACPI: RSDP 000FDF00, 0024 (r2 SUPERM)
> > (XEN) ACPI: XSDT DDF9E098, 00AC (r1 SUPERM SMCI--MB        1 AMI     10013)
> > (XEN) ACPI: FACP DDFA90D8, 00F4 (r4 SUPERM SMCI--MB        1 AMI     10013)
> > (XEN) ACPI: DSDT DDF9E1D8, AEFA (r2 SUPERM SMCI--MB        0 INTL 20051117)
> > (XEN) ACPI: FACS DDFBDF80, 0040
> > (XEN) ACPI: APIC DDFA91D0, 0092 (r3 SUPERM SMCI--MB        1 AMI     10013)
> > (XEN) ACPI: FPDT DDFA9268, 0044 (r1 SUPERM SMCI--MB        1 AMI     10013)
> > (XEN) ACPI: MCFG DDFA92B0, 003C (r1 SUPERM SMCI--MB        1 MSFT       97)
> > (XEN) ACPI: PRAD DDFA92F0, 00BE (r2 PRADID  PRADTID        1 MSFT 3000001)
> > (XEN) ACPI: HPET DDFA93B0, 0038 (r1 SUPERM SMCI--MB        1 AMI.        5)
> > (XEN) ACPI: SSDT DDFA93E8, 036D (r1 SataRe SataTabl     1000 INTL 20091112)
> > (XEN) ACPI: SPMI DDFA9758, 0040 (r5 A M I   OEMSPMI        0 AMI.        0)
> > (XEN) ACPI: SSDT DDFA9798, 09A4 (r1  PmRef  Cpu0Ist     3000 INTL 20051117)
> > (XEN) ACPI: SSDT DDFAA140, 0A88 (r1  PmRef    CpuPm     3000 INTL 20051117)
> > (XEN) ACPI: DMAR DDFAABC8, 0078 (r1 INTEL      SNB         1 INTL        1)
> > (XEN) ACPI: BGRT DDFAAC40, 0038 (r0 SUPERM SMCI--MB        1 AMI     10013)
> > (XEN) ACPI: SPCR DDFAAC78, 0050 (r1  A M I   APTIO4        1 AMI.        5)
> > (XEN) ACPI: EINJ DDFAACC8, 0130 (r1    AMI AMI EINJ 0             0)
> > (XEN) ACPI: ERST DDFAADF8, 0210 (r1  AMIER AMI ERST 0             0)
> > (XEN) ACPI: HEST DDFAB008, 00A8 (r1    AMI AMI HEST 0             0)
> > (XEN) ACPI: BERT DDFAB0B0, 0030 (r1    AMI AMI BERT 0             0)
> > (XEN) Domain heap initialised
> > (XEN) ACPI: 32/64X FACS address mismatch in FADT -
> > ddfbdf80/0000000000000000, using 32
> > (XEN) Processor #0 7:10 APIC version 21
> > (XEN) Processor #2 7:10 APIC version 21
> > (XEN) Processor #4 7:10 APIC version 21
> > (XEN) Processor #6 7:10 APIC version 21
> > (XEN) Processor #1 7:10 APIC version 21
> > (XEN) Processor #3 7:10 APIC version 21
> > (XEN) Processor #5 7:10 APIC version 21
> > (XEN) Processor #7 7:10 APIC version 21
> > (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
> > (XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
> > (XEN) [VT-D]dmar.c:528:   RMRR address range not in reserved memory
> > base = dde16000 end = dde32fff; iommu_inclusive_mapping=1 parameter
> > may be needed.
> > (XEN) ERST table is invalid
> > (XEN) Switched to APIC driver x2apic_cluster.
> > (XEN) Using scheduler: SMP Credit Scheduler (credit)
> > (XEN) Detected 3292.644 MHz processor.
> > (XEN) Initing memory sharing.
> > (XEN) Intel VT-d Snoop Control enabled.
> > (XEN) Intel VT-d Dom0 DMA Passthrough not enabled.
> > (XEN) Intel VT-d Queued Invalidation enabled.
> > (XEN) Intel VT-d Interrupt Remapping enabled.
> > (XEN) Intel VT-d Shared EPT tables not enabled.
> > (XEN) I/O virtualisation enabled
> > (XEN)  - Dom0 mode: Relaxed
> > (XEN) Enabled directed EOI with ioapic_ack_old on!
> > (XEN) ENABLING IO-APIC IRQs
> > (XEN)  -> Using old ACK method
> > (XEN) Platform timer is 14.318MHz HPET
> > (XEN) Allocated console ring of 16 KiB.
> > (XEN) VMX: Supported advanced features:
> > (XEN)  - APIC MMIO access virtualisation
> > (XEN)  - APIC TPR shadow
> > (XEN)  - Extended Page Tables (EPT)
> > (XEN)  - Virtual-Processor Identifiers (VPID)
> > (XEN)  - Virtual NMI
> > (XEN)  - MSR direct-access bitmap
> > (XEN)  - Unrestricted Guest
> > (XEN) EPT supports 2MB super page.
> > (XEN) HVM: ASIDs enabled.
> > (XEN) HVM: VMX enabled
> > (XEN) HVM: Hardware Assisted Paging detected.
> > (XEN) Brought up 8 CPUs
> > (XEN) *** LOADING DOMAIN 0 ***
> > (XEN)  Xen  kernel: 64-bit, lsb, compat32
> > (XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x205d000
> > (XEN) PHYSICAL MEMORY ARRANGEMENT:
> > (XEN)  Dom0 alloc.:   00000000bc000000->00000000c0000000 (744642
> > pages to be allocated)
> > (XEN)  Init. ramdisk: 00000000c4b6a000->00000000dd7ffe00
> > (XEN) VIRTUAL MEMORY ARRANGEMENT:
> > (XEN)  Loaded kernel: ffffffff81000000->ffffffff8205d000
> > (XEN)  Init. ramdisk: ffffffff8205d000->ffffffff9acf2e00
> > (XEN)  Phys-Mach map: ffffffff9acf3000->ffffffff9b387ac0
> > (XEN)  Start info:    ffffffff9b388000->ffffffff9b3884b4
> > (XEN)  Page tables:   ffffffff9b389000->ffffffff9b468000
> > (XEN)  Boot stack:    ffffffff9b468000->ffffffff9b469000
> > (XEN)  TOTAL:         ffffffff80000000->ffffffff9b800000
> > (XEN)  ENTRY ADDRESS: ffffffff81cfd200
> > (XEN) Dom0 has maximum 8 VCPUs
> > (XEN) Scrubbing Free RAM: .done.
> > (XEN) Xen trace buffers: disabled
> > (XEN) Std. Loglevel: Errors and warnings
> > (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
> > (XEN) Xen is relinquishing VGA console.
> > (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
> > input to Xen)
> > (XEN) Freed 220kB init memory.
> > (XEN) physdev.c:155: dom0: wrong map_pirq type 3
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxx
> > http://lists.xen.org/xen-devel
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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