Quote:
Originally Posted by Ser Olmy
A list of available memory is fetched from various ACPI tables. Could you post the output from dmesg? The very first messages that appear when the kernel boots could provide clues as to why memory above 4 Gb isn't detected/used.
|
Here is the beginning of dmesg.
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.18 (root@central) (gcc version 4.8.2 (GCC) ) #13 SMP Sat Dec 14 15:53:39 EST 2013
[ 0.000000] Command line: auto BOOT_IMAGE=Central ro root=801 mem=5120M vt.default_utf8=0
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] Disabled fast string operations
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000ca000-0x00000000000cbfff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000dc000-0x00000000000e3fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e8000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000000efffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000000f00000-0x0000000000ffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000001000000-0x00000000bfeeffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000bfef0000-0x00000000bfefefff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000bfeff000-0x00000000bfefffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000bff00000-0x00000000bfffffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec0ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffe0000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000017fffffff] usable
[ 0.000000] e820: remove [mem 0x140000000-0xfffffffffffffffe] usable
[ 0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[ 0.000000] e820: user-defined physical RAM map:
[ 0.000000] user: [mem 0x0000000000000000-0x000000000009f7ff] usable
[ 0.000000] user: [mem 0x000000000009f800-0x000000000009ffff] reserved
[ 0.000000] user: [mem 0x00000000000ca000-0x00000000000cbfff] reserved
[ 0.000000] user: [mem 0x00000000000dc000-0x00000000000e3fff] reserved
[ 0.000000] user: [mem 0x00000000000e8000-0x00000000000fffff] reserved
[ 0.000000] user: [mem 0x0000000000100000-0x0000000000efffff] usable
[ 0.000000] user: [mem 0x0000000000f00000-0x0000000000ffffff] reserved
[ 0.000000] user: [mem 0x0000000001000000-0x00000000bfeeffff] usable
[ 0.000000] user: [mem 0x00000000bfef0000-0x00000000bfefefff] ACPI data
[ 0.000000] user: [mem 0x00000000bfeff000-0x00000000bfefffff] ACPI NVS
[ 0.000000] user: [mem 0x00000000bff00000-0x00000000bfffffff] usable
[ 0.000000] user: [mem 0x00000000e0000000-0x00000000efffffff] reserved
[ 0.000000] user: [mem 0x00000000fec00000-0x00000000fec0ffff] reserved
[ 0.000000] user: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[ 0.000000] user: [mem 0x00000000fffe0000-0x00000000ffffffff] reserved
[ 0.000000] user: [mem 0x0000000100000000-0x000000013fffffff] usable
[ 0.000000] SMBIOS 2.4 present.
[ 0.000000] DMI: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 09/22/2009
[ 0.000000] Hypervisor detected: VMware
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] e820: last_pfn = 0x140000 max_arch_pfn = 0x400000000
This might help too
central(/temp): dmesg | grep ACPI
[ 0.000000] BIOS-e820: [mem 0x00000000bfef0000-0x00000000bfefefff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000bfeff000-0x00000000bfefffff] ACPI NVS
[ 0.000000] user: [mem 0x00000000bfef0000-0x00000000bfefefff] ACPI data
[ 0.000000] user: [mem 0x00000000bfeff000-0x00000000bfefffff] ACPI NVS
[ 0.000000] ACPI: RSDP 00000000000f6a40 00024 (v02 PTLTD )
[ 0.000000] ACPI: XSDT 00000000bfef074a 0004C (v01 INTEL 440BX 06040000 VMW 01324272)
[ 0.000000] ACPI: FACP 00000000bfefee98 000F4 (v04 INTEL 440BX 06040000 PTL 000F4240)
[ 0.000000] ACPI: DSDT 00000000bfef0938 0E560 (v01 PTLTD Custom 06040000 MSFT 03000001)
[ 0.000000] ACPI: FACS 00000000bfefffc0 00040
[ 0.000000] ACPI: BOOT 00000000bfef0910 00028 (v01 PTLTD $SBFTBL$ 06040000 LTP 00000001)
[ 0.000000] ACPI: APIC 00000000bfef08b2 0005E (v01 PTLTD ? APIC 06040000 LTP 00000000)
[ 0.000000] ACPI: MCFG 00000000bfef0876 0003C (v01 PTLTD $PCITBL$ 06040000 LTP 00000001)
[ 0.000000] ACPI: SRAT 00000000bfef07ce 000A8 (v02 VMWARE MEMPLUG 06040000 VMW 00000001)
[ 0.000000] ACPI: Local APIC address 0xfee00000
(there is more then this)
And I don't think PAE matters for 64bit kernels. I can't test with generic or huge right now. Note in this case I'm booting with mem=5120M, and the kernel only ends up seeing 4GB which is what I slightly expect because 1GB is reserved for PCI devices or something. But I increased it to 6GB and mem=6144M and it still only sees 4GB which I don't think should happen. I should see 5GB then.