You are not logged in.

#1 2017-01-23 03:22:38

xer01ne
Member
Registered: 2011-02-28
Posts: 46

Only detecting half of my RAM

After running a few things, I realized that in htop, my system is only seeing about 3.2GB of RAM.  I 8GB (2X4Gb) installed.  I've pulled and reseated.  No change.  So, I booted a live CD and got the same results.  Interestingly though, he Memtest saw all of the memory and so does the bios.  No errors from either.  I tried adding mem=8G in the grub.cfg (at the end of the Linux line) but that didn't change either.  Here's a few things:

I know the Mobo can handle 8GB.  Also, it's a UEFI board that I'm booting in legacy.  Non 64bit OS. 

$ sudo lshw -short | grep 'System\ Memory'

/0/17                       memory         8GiB System Memory

$ free -m

              total        used        free      shared  buff/cache   available
Mem:           3268         737        1935          80         595        2146
Swap:          7812           0        7812

$ uname -a

Linux trinity 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:43:17 CET 2016 i686 GNU/Linux

$ dmesg |grep mem

[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000cef9ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000cefa0000-0x00000000cefa2fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000cefa3000-0x00000000cefdffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000cefe0000-0x00000000ceffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000f4000000-0x00000000f7ffffff] reserved      [    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000021fdfffff] usable
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: update [mem 0xcf800000-0xffffffff] usable ==> reserved         [    0.000000] found SMP MP-table at [mem 0x000f5740-0x000f574f] mapped at [c00f5740]
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] initial memory mapped: [mem 0x00000000-0x01bfffff]
[    0.000000] Base memory trampoline at [c009b000] 9b000 size 16384
[    0.000000] RAMDISK: [mem 0x37552000-0x37aa0fff]
[    0.000000] Allocated new RAMDISK: [mem 0x37003000-0x37551b03]
[    0.000000] Move RAMDISK from [mem 0x37552000-0x37aa0b03] to [mem 0x37003000-0x37551b03]
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   Normal   [mem 0x0000000001000000-0x00000000377fdfff]
[    0.000000]   HighMem  [mem 0x00000000377fe000-0x00000000cef9ffff]
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x00000000cef9ffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x00000000cef9ffff]
[    0.000000] free_area_init_node: node 0, pgdat c174fac0, node_mem_map f4fab028
[    0.000000]   DMA zone: 40 pages used for memmap
[    0.000000]   Normal zone: 2180 pages used for memmap
[    0.000000] Reserving Intel graphics memory at 0xcfa00000-0xdf9fffff
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.000000] e820: [mem 0xdfa00000-0xf3ffffff] available for PCI devices
[    0.000000] Memory: 3340868K/3390712K available (5451K kernel code, 576K rwdata, 1564K rodata, 652K init, 836K bss, 49844K reserved, 0K cma-reserved, 2481796K highmem)
[    0.000000] virtual kernel memory layout:
                   lowmem  : 0xc0000000 - 0xf77fe000   ( 887 MB)
[    0.002945] Freeing SMP alternatives memory: 24K (c1811000 - c1817000)
[    0.373356] PM: Registering ACPI NVS region [mem 0xcefa0000-0xcefa2fff] (12288 bytes)
[    0.396513] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf4000000-0xf7ffffff] (base 0xf4000000)
[    0.396514] PCI: MMCONFIG at [mem 0xf4000000-0xf7ffffff] reserved in E820
[    0.419693] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window][    0.419694] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000dffff window][    0.419695] pci_bus 0000:00: root bus resource [mem 0xdfa00000-0xfebfffff window][    0.419790] pci 0000:00:02.0: reg 0x10: [mem 0xfb800000-0xfbbfffff 64bit]
[    0.419795] pci 0000:00:02.0: reg 0x18: [mem 0xe0000000-0xefffffff 64bit pref]
[    0.419913] pci 0000:00:16.0: reg 0x10: [mem 0xfbfff000-0xfbfff00f 64bit]
[    0.420078] pci 0000:00:1a.0: reg 0x10: [mem 0xfbffe000-0xfbffe3ff]
[    0.420253] pci 0000:00:1b.0: reg 0x10: [mem 0xfbff8000-0xfbffbfff 64bit]
[    0.420722] pci 0000:00:1d.0: reg 0x10: [mem 0xfbffd000-0xfbffd3ff]
[    0.421293] pci 0000:00:1f.3: reg 0x10: [mem 0xfbffc000-0xfbffc0ff 64bit]
[    0.421635] pci 0000:01:00.0: reg 0x18: [mem 0xfbeff000-0xfbefffff 64bit pref]
[    0.421656] pci 0000:01:00.0: reg 0x20: [mem 0xfbef8000-0xfbefbfff 64bit pref]
[    0.429189] pci 0000:00:1c.0:   bridge window [mem 0xfbe00000-0xfbefffff 64bit pref]
[    0.429319] pci 0000:02:00.0: reg 0x10: [mem 0xfbdfe000-0xfbdfffff 64bit]
[    0.439184] pci 0000:00:1c.1:   bridge window [mem 0xfbd00000-0xfbdfffff]
[    0.439292] pci 0000:00:1e.0:   bridge window [mem 0x000a0000-0x000bffff window] (subtractive decode)
[    0.439294] pci 0000:00:1e.0:   bridge window [mem 0x000c0000-0x000dffff window] (subtractive decode)
[    0.439296] pci 0000:00:1e.0:   bridge window [mem 0xdfa00000-0xfebfffff window] (subtractive decode)
[    0.440094] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[    0.441679] e820: reserve RAM buffer [mem 0x0009f800-0x0009ffff]
[    0.441680] e820: reserve RAM buffer [mem 0xcefa0000-0xcfffffff]
[    0.449616] system 00:05: [mem 0xf4000000-0xf7ffffff] has been reserved
[    0.449769] system 00:06: [mem 0x000ce000-0x000cffff] has been reserved
[    0.449771] system 00:06: [mem 0x000f0000-0x000f7fff] could not be reserved
[    0.449772] system 00:06: [mem 0x000f8000-0x000fbfff] could not be reserved
[    0.449773] system 00:06: [mem 0x000fc000-0x000fffff] could not be reserved
[    0.449774] system 00:06: [mem 0xcefa0000-0xcefaffff] could not be reserved
[    0.449775] system 00:06: [mem 0x00000000-0x0009ffff] could not be reserved
[    0.449777] system 00:06: [mem 0x00100000-0xcef9ffff] could not be reserved
[    0.449778] system 00:06: [mem 0xcefb0000-0xcefcffff] could not be reserved
[    0.449779] system 00:06: [mem 0xfec00000-0xfec00fff] could not be reserved
[    0.449780] system 00:06: [mem 0xfed10000-0xfed1dfff] has been reserved
[    0.449781] system 00:06: [mem 0xfed20000-0xfed8ffff] has been reserved
[    0.449782] system 00:06: [mem 0xfee00000-0xfee00fff] has been reserved
[    0.449784] system 00:06: [mem 0xffb00000-0xffb7ffff] has been reserved
[    0.449785] system 00:06: [mem 0xfff00000-0xffffffff] has been reserved
[    0.449786] system 00:06: [mem 0x000e0000-0x000effff] has been reserved
[    0.449787] system 00:06: [mem 0x20000000-0x201fffff] could not be reserved
[    0.449788] system 00:06: [mem 0x40000000-0x400fffff] could not be reserved
[    0.449789] system 00:06: [mem 0xcf000000-0xdf9fffff] could not be reserved
[    0.486037] pci 0000:00:1c.0:   bridge window [mem 0xfbe00000-0xfbefffff 64bit pref]
[    0.486046] pci 0000:00:1c.1:   bridge window [mem 0xfbd00000-0xfbdfffff]
[    0.486065] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.486066] pci_bus 0000:00: resource 7 [mem 0x000c0000-0x000dffff window]
[    0.486068] pci_bus 0000:00: resource 8 [mem 0xdfa00000-0xfebfffff window]
[    0.486070] pci_bus 0000:01: resource 2 [mem 0xfbe00000-0xfbefffff 64bit pref]
[    0.486071] pci_bus 0000:02: resource 1 [mem 0xfbd00000-0xfbdfffff]
[    0.486074] pci_bus 0000:03: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.486075] pci_bus 0000:03: resource 7 [mem 0x000c0000-0x000dffff window]
[    0.486076] pci_bus 0000:03: resource 8 [mem 0xdfa00000-0xfebfffff window]
[    0.486322] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.601798] Freeing initrd memory: 5436K (f7003000 - f7552000)
[    0.602014] Scanning for low memory corruption every 60 seconds
[    1.175323] Freeing unused kernel memory: 652K (c176e000 - c1811000)
[    1.266299] ehci-pci 0000:00:1a.0: irq 18, io mem 0xfbffe000
[    1.281587] ehci-pci 0000:00:1d.0: irq 23, io mem 0xfbffd000
[    5.028234] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem

If you need a thing else, please ask. And any help is greatly appreciated.

Last edited by xer01ne (2017-01-23 03:24:46)

Offline

#2 2017-01-23 03:38:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Only detecting half of my RAM

xer01ne wrote:

Non 64bit OS.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-01-23 03:39:21

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: Only detecting half of my RAM

Your system cannot see that much ram if you are booting into 32 bit mode.  You need to boot to 64 bit mode to see all the ram.

Offline

#4 2017-01-23 12:42:40

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Only detecting half of my RAM

Mod note: Moving to NC.

Offline

Board footer

Powered by FluxBB