Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Incorrect RAM amount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Sparkster
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 205

PostPosted: Sat Dec 24, 2011 8:08 pm    Post subject: [SOLVED] Incorrect RAM amount Reply with quote

Hi, guys. I hope you can help me. I have installed 4 GB of DDR3, 2 slots of 2 GB each, but my system only detects 3,6 GB. I was looking for the high amount of memory option in the kernel, but wops, in the new amd64 kernels, that option doesn't exist (quite logical).
I have an i7 processor, and as I have said, 2 RAM cards with 2 GB each and a nvidia GTS250 1 GB graphics card (I don't know if it's relevant or not). This is what I get from meminfo:

Code:

fenix linux # more /proc/meminfo
MemTotal:        3606388 kB
MemFree:          104372 kB
Buffers:          113176 kB
Cached:          2350696 kB
SwapCached:           52 kB
Active:          1279356 kB
Inactive:        2004216 kB
Active(anon):     635288 kB
Inactive(anon):   187164 kB
Active(file):     644068 kB
Inactive(file):  1817052 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:        979928 kB
SwapFree:         979876 kB
Dirty:             13744 kB
Writeback:             0 kB
AnonPages:        819788 kB
Mapped:           157760 kB
Shmem:              2616 kB
Slab:             124824 kB
SReclaimable:     100076 kB
SUnreclaim:        24748 kB
KernelStack:        3104 kB
PageTables:        31764 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2783120 kB
Committed_AS:    4214772 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      125004 kB
VmallocChunk:   34359592444 kB
DirectMap4k:       91584 kB
DirectMap2M:     3575808 kB


And this is the processor section in the kernel (3.0.6-gentoo):

Code:

 │ │           [*] Tickless System (Dynamic Ticks)                                              │ │   
  │ │           [*] High Resolution Timer Support                                                │ │   
  │ │           [*] Symmetric multi-processing support                                           │ │   
  │ │           [ ] Support x2apic                                                               │ │   
  │ │           [ ] Enable MPS table                                                             │ │   
  │ │           [ ] Support for extended (non-PC) x86 platforms                                  │ │   
  │ │           [*] Single-depth WCHAN output                                                    │ │   
  │ │           [ ] Paravirtualized guest support  --->                                          │ │   
  │ │           [ ] Memtest                                                                      │ │   
  │ │               Processor family (Generic-x86-64)  --->                                      │ │   
  │ │           [*] IBM Calgary IOMMU support                                                    │ │   
  │ │           [*]   Should Calgary be enabled by default?                                      │ │   
  │ │           [ ] AMD IOMMU support                                                            │ │   
  │ │           (8) Maximum number of CPUs                                                       │ │   
  │ │           [*] SMT (Hyperthreading) scheduler support                                       │ │   
  │ │           [*] Multi-core scheduler support                                                 │ │   
  │ │           [ ] Fine granularity task level IRQ time accounting                              │ │   
  │ │               Preemption Model (Preemptible Kernel (Low-Latency Desktop))  --->            │ │   
  │ │           [ ] Reroute for broken boot IRQs                                                 │ │   
  │ │           [*] Machine Check / overheating reporting                                        │ │   
  │ │           [*]   Intel MCE features                                                         │ │   
  │ │           [ ]   AMD MCE features                                                           │ │   
  │ │           < > Machine check injector support                                               │ │   
  │ │           < > Dell laptop support                                                          │ │   
  │ │           < > /dev/cpu/microcode - microcode support
  │ │           < > /dev/cpu/*/msr - Model-specific register support                             │ │   
  │ │           <*> /dev/cpu/*/cpuid - CPU information support                                   │ │   
  │ │           [*] Numa Memory Allocation and Scheduler Support                                 │ │   
  │ │           [ ] Old style AMD Opteron NUMA detection                                         │ │   
  │ │           [*] ACPI NUMA detection                                                          │ │   
  │ │           [ ] NUMA emulation                                                               │ │   
  │ │           (6) Maximum NUMA Nodes (as a power of 2)                                         │ │   
  │ │               Memory model (Sparse Memory)  --->                                           │ │   
  │ │           [*] Sparse Memory virtual memmap                                                 │ │   
  │ │           [ ] Allow for memory hot-add                                                     │ │   
  │ │           [ ] Allow for memory compaction                                                  │ │   
  │ │           [*] Page migration                                                               │ │   
  │ │           [ ] Enable KSM for page merging                                                  │ │   
  │ │           (4096) Low address space to protect from user allocation                         │ │   
  │ │           [ ] Enable recovery from hardware memory errors                                  │ │   
  │ │           [ ] Transparent Hugepage Support                                                 │ │   
  │ │           [*] Enable cleancache driver to cache clean pages if tmem is present             │ │   
  │ │           [ ] Check for low memory corruption                                              │ │   
  │ │           (64) Amount of low memory, in kilobytes, to reserve for the BIOS                 │ │   
  │ │           -*- MTRR (Memory Type Range Register) support                                    │ │   
  │ │           [*]   MTRR cleanup support                                                       │ │   
  │ │           (0)     MTRR cleanup enable value (0-1)                                          │ │   
  │ │           (1)     MTRR cleanup spare reg num (0-7)                                         │ │   
  │ │           [ ] EFI runtime service support                                                  │ │   
  │ │           [*] Enable seccomp to safely compute untrusted bytecode
  │ │           [ ] Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)            │ │   
  │ │               Timer frequency (1000 HZ)  --->                                              │ │   
  │ │           [ ] kexec system call                                                            │ │   
  │ │           [ ] kernel crash dumps                                                           │ │   
  │ │           [ ] Build a relocatable kernel                                                   │ │   
  │ │           -*- Support for hot-pluggable CPUs                                               │ │   
  │ │           [ ] Compat VDSO support                                                          │ │   
  │ │           [ ] Built-in kernel command line


Any ideas?
Thanks.


Last edited by Sparkster on Sat Dec 24, 2011 9:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 501

PostPosted: Sat Dec 24, 2011 8:14 pm    Post subject: Reply with quote

Please disable NUMA support; unless you have a multi-socket Opteron/Xeon system
it's VERY unlikely you have NUMA :)

As for the missing memory: post the E820 map output (it's the first few lines
of dmesg, starting with "BIOS-provided physical RAM map:" followed by a
few " BIOS-e820" lines), it may give a hint if the BIOS does remap the last 1GB
above the 4G line (look if you can find a "memory remapping" option in the BIOS
and turn it on).
Back to top
View user's profile Send private message
Sparkster
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 205

PostPosted: Sat Dec 24, 2011 9:33 pm    Post subject: Reply with quote

Aham, I didn't know about NUMA. I'll unset it :P. Now, let's see dmesg:

Quote:

sparkster@fenix ~ $ dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.0.6-gentoo (root@fenix) (gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) ) #15 SMP PREEMPT Tue Dec 20 20:54:23 CET 2011
[ 0.000000] Command line: root=/dev/sda7 vga=791 splash=silent,fadein,theme:emergence console=tty1
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009e800 (usable)
[ 0.000000] BIOS-e820: 000000000009e800 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 00000000dfd70000 (usable)
[ 0.000000] BIOS-e820: 00000000dfd70000 - 00000000dfd88000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000dfd88000 - 00000000dfddc000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000dfddc000 - 00000000dfe00000 (reserved)
[ 0.000000] BIOS-e820: 00000000dff00000 - 00000000e0000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] BIOS-e820: 00000000ffe00000 - 0000000100000000 (reserved)
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI 2.6 present.
[ 0.000000] DMI: System manufacturer System Product Name/P7P55D DELUXE, BIOS 1702 05/21/2010
[ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
[ 0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
[ 0.000000] No AGP bridge found
[ 0.000000] last_pfn = 0xdfd70 max_arch_pfn = 0x400000000
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF write-back
[ 0.000000] A0000-BFFFF uncachable
[ 0.000000] C0000-CFFFF write-protect
[ 0.000000] D0000-DFFFF uncachable
[ 0.000000] E0000-E7FFF write-through
[ 0.000000] E8000-FFFFF write-protect
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 0E0000000 mask FE0000000 uncachable
[ 0.000000] 1 base 000000000 mask F00000000 write-back
[ 0.000000] 2 base 0DFF00000 mask FFFF00000 uncachable
[ 0.000000] 3 disabled
[ 0.000000] 4 disabled
[ 0.000000] 5 disabled
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[ 0.000000] initial memory mapped : 0 - 20000000
[ 0.000000] Base memory trampoline at [ffff880000099000] 99000 size 20480
[ 0.000000] init_memory_mapping: 0000000000000000-00000000dfd70000
[ 0.000000] 0000000000 - 00dfc00000 page 2M
[ 0.000000] 00dfc00000 - 00dfd70000 page 4k
[ 0.000000] kernel direct mapping tables up to dfd70000 @ dfd6a000-dfd70000
[ 0.000000] ACPI: RSDP 00000000000fb470 00024 (v02 ACPIAM)
[ 0.000000] ACPI: XSDT 00000000dfd70100 00064 (v01 052110 XSDT1207 20100521 MSFT 00000097)
[ 0.000000] ACPI: FACP 00000000dfd70290 000F4 (v03 052110 FACP1207 20100521 MSFT 00000097)
[ 0.000000] ACPI: DSDT 00000000dfd704a0 0F226 (v01 A1297 A1297001 00000001 INTL 20060113)
[ 0.000000] ACPI: FACS 00000000dfd88000 00040
[ 0.000000] ACPI: APIC 00000000dfd70390 000CC (v01 052110 APIC1207 20100521 MSFT 00000097)
[ 0.000000] ACPI: MCFG 00000000dfd70460 0003C (v01 052110 OEMMCFG 20100521 MSFT 00000097)
[ 0.000000] ACPI: OEMB 00000000dfd88040 00072 (v01 052110 OEMB1207 20100521 MSFT 00000097)
[ 0.000000] ACPI: HPET 00000000dfd7f6d0 00038 (v01 052110 OEMHPET 20100521 MSFT 00000097)
[ 0.000000] ACPI: DMAR 00000000dfd880c0 00090 (v01 AMI OEMDMAR 00000001 MSFT 00000097)
[ 0.000000] ACPI: ASPT 00000000dfd7f970 00034 (v06 052110 PerfTune 20100521 MSFT 00000097)
[ 0.000000] ACPI: OSFR 00000000dfd7f9b0 000B0 (v01 052110 OEMOSFR 20100521 MSFT 00000097)
[ 0.000000] ACPI: Local APIC address 0xfee00000


...and as you have just said: [ 0.000000] No NUMA configuration found :P

I'll reboot right now to check the BIOS.
Back to top
View user's profile Send private message
Sparkster
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 205

PostPosted: Sat Dec 24, 2011 9:55 pm    Post subject: Reply with quote

Yes, as you said, it was a BIOS problem. It's solved now. Thanks ;).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum