LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   64-bit doesn't show 4GB RAM (https://www.linuxquestions.org/questions/linux-general-1/64-bit-doesnt-show-4gb-ram-884532/)

reed68 06-04-2011 01:47 PM

64-bit doesn't show 4GB RAM
 
1 Attachment(s)
Hi,

I'm using a 64-bit release. But, my PC doesn't seem to show the full 4GB of RAM that is installed. It shows about 3.4 to 3.6GB of RAM (please see attached picture).

I thought that if I could install a 64-bit OS that would mean that I have a 64-bit capable processor. I thought using a 64-bit release would show all 4GB or RAM on my PC.

What am I doing wrong? My CPU is a Pentium 4 Prescott DT 630.

More information on my system is below:
Code:

$ lsb_release -rd
Description:        Debian GNU/Linux 6.0.1 (squeeze)
Release:        6.0.1

$ uname -a       
Linux kub 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64 GNU/Linux

$ free
            total      used      free    shared    buffers    cached
Mem:      3610004    3541544      68460          0      32092    342816
-/+ buffers/cache:    3166636    443368
Swap:      1602552    745724    856828

$ cat /proc/cpuinfo
processor        : 0
vendor_id        : GenuineIntel
cpu family        : 15
model                : 4
model name        : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 3
cpu MHz                : 2800.000
cache size        : 2048 KB
physical id        : 0
siblings        : 2
core id                : 0
cpu cores        : 1
apicid                : 0
initial apicid        : 0
fpu                : yes
fpu_exception        : yes
cpuid level        : 5
wp                : yes
flags                : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl est cid cx16 xtpr
bogomips        : 5984.66
clflush size        : 64
cache_alignment        : 128
address sizes        : 36 bits physical, 48 bits virtual
power management:

processor        : 1
vendor_id        : GenuineIntel
cpu family        : 15
model                : 4
model name        : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 3
cpu MHz                : 3000.000
cache size        : 2048 KB
physical id        : 0
siblings        : 2
core id                : 0
cpu cores        : 1
apicid                : 1
initial apicid        : 1
fpu                : yes
fpu_exception        : yes
cpuid level        : 5
wp                : yes
flags                : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl est cid cx16 xtpr
bogomips        : 5984.96
clflush size        : 64
cache_alignment        : 128
address sizes        : 36 bits physical, 48 bits virtual
power management:

$ cat /proc/meminfo
MemTotal:        3610004 kB
MemFree:          82516 kB
Buffers:          32920 kB
Cached:          342044 kB
SwapCached:      219392 kB
Active:          2493808 kB
Inactive:        666620 kB
Active(anon):    2318380 kB
Inactive(anon):  489508 kB
Active(file):    175428 kB
Inactive(file):  177112 kB
Unevictable:          36 kB
Mlocked:              36 kB
SwapTotal:      1602552 kB
SwapFree:        857416 kB
Dirty:              1088 kB
Writeback:            0 kB
AnonPages:      2608940 kB
Mapped:          159508 kB
Shmem:            22416 kB
Slab:            259916 kB
SReclaimable:    232852 kB
SUnreclaim:        27064 kB
KernelStack:        4080 kB
PageTables:        55776 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    3407552 kB
Committed_AS:    6214836 kB
VmallocTotal:  34359738367 kB
VmallocUsed:      118812 kB
VmallocChunk:  34359610876 kB
HardwareCorrupted:    0 kB
HugePages_Total:      0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:      2048 kB
DirectMap4k:    1204784 kB
DirectMap2M:    2463744 kB

Thank you for your time and help.

johnsfine 06-04-2011 02:09 PM

The problem is in either the motherboard or the BIOS, not in the OS.

This is discussed in many other threads at LQ.

If it is not a motherboard issue, there is likely a BIOS setting that can be changed to fix the problem. But the details vary a lot by BIOS version, so it would be hard to guide you to the correct BIOS setting even if it exists.

Detailed motherboard info, or better yet a link to an online copy of the motherboard manual, would make it easier for someone to help you.

Some related threads:

Here the OP started by looking in many of the right places to verify that what is usually a BIOS or motherboard issue actually was. In the unusual case shown in that thread, the problem actually wasn't BIOS/Motherboard:
http://www.linuxquestions.org/questi...6/#post4313393

This thread touches on two of the common topics within this issue: Ram used by the integrated graphics, and motherboard specs claiming to support 4GiB when they really support slightly less. I don't see a clear final answer in this thread:
http://www.linuxquestions.org/questi...my-ram-867990/

Here is one of the (unfortunately unusual) cases in which someone I encouraged to look for the setting in his BIOS not only found it, but also reported back to the thread what he found:
http://www.linuxquestions.org/questi...2/#post3150066

John VV 06-04-2011 03:06 PM

may or may not help

you have a AMD 64 bit kernel for a INTEL cpu ???????

MrCode 06-04-2011 03:15 PM

Quote:

you have a AMD 64 bit kernel for a INTEL cpu ???????
"AMD64", in most cases, simply refers to the x86_64 architecture, whether the chip itself is made by AMD, Intel, or some other manufacturer…

Also, if this is the OP's CPU, then it indeed has 64-bit capability. It's doubtful the 32/64-bit difference has anything to do with this problem, though, as theoretically even a 32-bit kernel can address 4 GiB of memory.

reed68 06-04-2011 04:21 PM

Thanks.

I didn't know that the motherboard might be the issue. Below is the output of dmidecode and it indicates "Maximum Capacity: 4 GB"

Output from dmidecode:
Code:

$ sudo dmidecode -q
BIOS Information
        Vendor: Dell Inc.               
        Version: A07
        Release Date: 01/08/2007
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 512 kB
        Characteristics:
                PCI is supported
                PNP is supported
                APM is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
                Print screen service is supported (int 5h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                Printer services are supported (int 17h)
                ACPI is supported
                USB legacy is supported
                LS-120 boot is supported
                BIOS boot specification is supported
                Function key-initiated network boot is supported

System Information
        Manufacturer: Dell Inc.               
        Product Name: Dell DXP051                 
        Version: Not Specified
        Serial Number: CPM4Q81
        UUID: 44454C4C-5000-104D-8034-C3C04F513831
        Wake-up Type: APM Timer

Base Board Information
        Manufacturer: Dell Inc.         
        Product Name: 0YC523
        Version:   
        Serial Number: ..CN7082159AG0H8.

Chassis Information
        Manufacturer: Dell Inc.               
        Type: Tower
        Lock: Not Present
        Version: Not Specified
        Serial Number: CPM4Q81
        Asset Tag:         
        Boot-up State: Safe
        Power Supply State: Safe
        Thermal State: Safe
        Security Status: None

Processor Information
        Socket Designation: Microprocessor
        Type: Central Processor
        Family: Pentium 4
        Manufacturer: Intel
        ID: 43 0F 00 00 FF FB EB BF
        Signature: Type 0, Family 15, Model 4, Stepping 3
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)
                PAE (Physical address extension)
                MCE (Machine check exception)
                CX8 (CMPXCHG8 instruction supported)
                APIC (On-chip APIC hardware supported)
                SEP (Fast system call)
                MTRR (Memory type range registers)
                PGE (Page global enable)
                MCA (Machine check architecture)
                CMOV (Conditional move instruction supported)
                PAT (Page attribute table)
                PSE-36 (36-bit page size extension)
                CLFSH (CLFLUSH instruction supported)
                DS (Debug store)
                ACPI (ACPI supported)
                MMX (MMX technology supported)
                FXSR (Fast floating-point save and restore)
                SSE (Streaming SIMD extensions)
                SSE2 (Streaming SIMD extensions 2)
                SS (Self-snoop)
                HTT (Hyper-threading technology)
                TM (Thermal monitor supported)
                PBE (Pending break enabled)
        Version: Not Specified
        Voltage: 1.3 V
        External Clock: 800 MHz
        Max Speed: 4000 MHz
        Current Speed: 3000 MHz
        Status: Populated, Enabled
        Upgrade: ZIF Socket

Cache Information
        Socket Designation: Not Specified
        Configuration: Enabled, Not Socketed, Level 1
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 16 KB
        Maximum Size: 16 KB
        Supported SRAM Types:
                Other
        Installed SRAM Type: Other
        Speed: Unknown
        Error Correction Type: None
        System Type: Data
        Associativity: 8-way Set-associative

Cache Information
        Socket Designation: Not Specified
        Configuration: Enabled, Not Socketed, Level 2
        Operational Mode: Varies With Memory Address
        Location: Internal
        Installed Size: 2048 KB
        Maximum Size: 2048 KB
        Supported SRAM Types:
                Other
        Installed SRAM Type: Other
        Speed: Unknown
        Error Correction Type: Single-bit ECC
        System Type: Unified
        Associativity: 8-way Set-associative

Port Connector Information
        Internal Reference Designator: USB1
        Internal Connector Type: None
        External Reference Designator: Not Specified
        External Connector Type: Access Bus (USB)
        Port Type: USB

Port Connector Information
        Internal Reference Designator: USB2
        Internal Connector Type: None
        External Reference Designator: Not Specified
        External Connector Type: Access Bus (USB)
        Port Type: USB

Port Connector Information
        Internal Reference Designator: USB3
        Internal Connector Type: None
        External Reference Designator: Not Specified
        External Connector Type: Access Bus (USB)
        Port Type: USB

Port Connector Information
        Internal Reference Designator: USB4
        Internal Connector Type: None
        External Reference Designator: Not Specified
        External Connector Type: Access Bus (USB)
        Port Type: USB

Port Connector Information
        Internal Reference Designator: USB5
        Internal Connector Type: None
        External Reference Designator: Not Specified
        External Connector Type: Access Bus (USB)
        Port Type: USB

Port Connector Information
        Internal Reference Designator: USB6
        Internal Connector Type: None
        External Reference Designator: Not Specified
        External Connector Type: Access Bus (USB)
        Port Type: USB

Port Connector Information
        Internal Reference Designator: USB7
        Internal Connector Type: None
        External Reference Designator: Not Specified
        External Connector Type: Access Bus (USB)
        Port Type: USB

Port Connector Information
        Internal Reference Designator: USB8
        Internal Connector Type: None
        External Reference Designator: Not Specified
        External Connector Type: Access Bus (USB)
        Port Type: USB

Port Connector Information
        Internal Reference Designator: ENET
        Internal Connector Type: None
        External Reference Designator: Not Specified
        External Connector Type: RJ-45
        Port Type: Network Port

Port Connector Information
        Internal Reference Designator: MIC
        Internal Connector Type: None
        External Reference Designator: Not Specified
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port

Port Connector Information
        Internal Reference Designator: LINE-OUT
        Internal Connector Type: None
        External Reference Designator: Not Specified
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port

Port Connector Information
        Internal Reference Designator: LINE-IN
        Internal Connector Type: None
        External Reference Designator: Not Specified
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port

Port Connector Information
        Internal Reference Designator: HP-OUT
        Internal Connector Type: None
        External Reference Designator: Not Specified
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port

System Slot Information
        Designation: PEG
        Type: x16 PCI Express
        Current Usage: In Use
        Length: Long
        ID: 10
        Characteristics:
                3.3 V is provided
                PME signal is supported

System Slot Information
        Designation: SLOT1 
        Type: x1 PCI Express
        Current Usage: Available
        Length: Long
        ID: 1
        Characteristics:
                3.3 V is provided
                PME signal is supported

System Slot Information
        Designation: SLOT3 
        Type: 32-bit PCI
        Current Usage: In Use
        Length: Long
        ID: 3
        Characteristics:
                5.0 V is provided
                3.3 V is provided
                PME signal is supported

System Slot Information
        Designation: SLOT4 
        Type: x4 PCI Express
        Current Usage: Available
        Length: Long
        ID: 4
        Characteristics:
                3.3 V is provided
                PME signal is supported

System Slot Information
        Designation: SLOT5 
        Type: 32-bit PCI
        Current Usage: In Use
        Length: Long
        ID: 5
        Characteristics:
                5.0 V is provided
                3.3 V is provided
                PME signal is supported

System Slot Information
        Designation: SLOT6 
        Type: 32-bit PCI
        Current Usage: Available
        Length: Long
        ID: 6
        Characteristics:
                5.0 V is provided
                3.3 V is provided
                PME signal is supported

On Board Device Information
        Type: Ethernet
        Status: Enabled
        Description: Intel PRO/100 VE Network Connections

On Board Device Information
        Type: Sound
        Status: Disabled
        Description: Intel(R) High Definition Audio Controller

OEM Strings
        String 1: www.dell.com

BIOS Language Information
        Installable Languages: 1
                en|US|iso8859-1
        Currently Installed Language: en|US|iso8859-1

System Event Log
        Area Length: 2049 bytes
        Header Start Offset: 0x0000
        Header Length: 16 bytes
        Data Start Offset: 0x0010
        Access Method: Memory-mapped physical 32-bit address
        Access Address: 0xFFF81000
        Status: Valid, Not Full
        Change Token: 0x0000000F
        Header Format: Type 1
        Supported Log Type Descriptors: 3
        Descriptor 1: POST error
        Data Format 1: POST results bitmap
        Descriptor 2: System limit exceeded
        Data Format 2: System management
        Descriptor 3: Log area reset/cleared
        Data Format 3: None

Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 4 GB
        Number Of Devices: 4

Memory Device
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 1024 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM_1
        Bank Locator: Not Specified
        Type: DDR
        Type Detail: Synchronous
        Speed: 667 MHz (1.5 ns)
        Manufacturer: 2C00000000000000
        Serial Number: E40F2DDF
        Asset Tag: Not Specified
        Part Number: 8HTF12864AY-667G2

Memory Device
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 1024 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM_3
        Bank Locator: Not Specified
        Type: DDR
        Type Detail: Synchronous
        Speed: 667 MHz (1.5 ns)
        Manufacturer: 2C00000000000000
        Serial Number: E40F2DAE
        Asset Tag: Not Specified
        Part Number: 8HTF12864AY-667G2

Memory Device
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 1024 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM_2
        Bank Locator: Not Specified
        Type: DDR
        Type Detail: Synchronous
        Speed: 667 MHz (1.5 ns)
        Manufacturer: 2C00000000000000
        Serial Number: E40F2D9A
        Asset Tag: Not Specified
        Part Number: 8HTF12864AY-667G2

Memory Device
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 1024 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM_4
        Bank Locator: Not Specified
        Type: DDR
        Type Detail: Synchronous
        Speed: 667 MHz (1.5 ns)
        Manufacturer: 2C00000000000000
        Serial Number: E40F2E52
        Asset Tag: Not Specified
        Part Number: 8HTF12864AY-667G2

Memory Array Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x000FFFFFFFF
        Range Size: 4 GB
        Partition Width: 0

Memory Device Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x0003FFFFFFF
        Range Size: 1 GB
        Partition Row Position: 1

Memory Device Mapped Address
        Starting Address: 0x00040000000
        Ending Address: 0x0007FFFFFFF
        Range Size: 1 GB
        Partition Row Position: 1

Memory Device Mapped Address
        Starting Address: 0x00080000000
        Ending Address: 0x000BFFFFFFF
        Range Size: 1 GB
        Partition Row Position: 1

Memory Device Mapped Address
        Starting Address: 0x000C0000000
        Ending Address: 0x000FFFFFFFF
        Range Size: 1 GB
        Partition Row Position: 1

Hardware Security
        Power-On Password Status: Enabled
        Keyboard Password Status: Not Implemented
        Administrator Password Status: Enabled
        Front Panel Reset Status: Not Implemented

        System Power Controls
        Next Scheduled Power-on: *-* 00:00:00

Cooling Device
        Type: Fan
        Status: OK
        OEM-specific Information: 0x0000DD00

Cooling Device
        Type: Fan
        Status: OK
        OEM-specific Information: 0x0000DD01

System Boot Information
        Status: No errors detected

Output from dmesg | grep BIOS:
Code:

$ dmesg | grep BIOS
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
[    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 00000000dfe8cc00 (usable)
[    0.000000]  BIOS-e820: 00000000dfe8cc00 - 00000000dfe8ec00 (ACPI NVS)
[    0.000000]  BIOS-e820: 00000000dfe8ec00 - 00000000dfe90c00 (ACPI data)
[    0.000000]  BIOS-e820: 00000000dfe90c00 - 00000000e0000000 (reserved)
[    0.000000]  BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fed00400 (reserved)
[    0.000000]  BIOS-e820: 00000000fed20000 - 00000000feda0000 (reserved)
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
[    0.000000]  BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
[    0.000000]  #0 [0000000000 - 0000001000]  BIOS data page ==> [0000000000 - 0000001000]
[    0.000000]  #4 [000009fc00 - 0000100000]    BIOS reserved ==> [000009fc00 - 0000100000]
[    0.000000] Calgary: detecting Calgary via BIOS EBDA area
[    0.262322] ACPI: BIOS _OSI(Linux) query ignored

Below is output from cat /proc/iomem:
Code:

$ cat /proc/iomem
00000000-0009ffff : System RAM
000c0000-000d3fff : pnp 00:06
000f0000-000fffff : reserved
00100000-dfe8cbff : System RAM
  01000000-01302474 : Kernel code
  01302475-014dceff : Kernel data
  0157b000-0168c453 : Kernel bss
dfe8cc00-dfe8ebff : ACPI Non-volatile Storage
dfe8ec00-dfe90bff : ACPI Tables
dfe90c00-dfffffff : reserved
e0000000-efffffff : PCI Bus 0000:01
  e0000000-efffffff : 0000:01:00.0
f0000000-f3ffffff : PCI MMCONFIG 0 [00-3f]
  f0000000-f3ffffff : reserved
    f0000000-f3ffffff : pnp 00:07
f4000000-f41fffff : PCI Bus 0000:02
f4200000-f43fffff : PCI Bus 0000:03
f4400000-f45fffff : PCI Bus 0000:03
f4600000-f47fffff : PCI Bus 0000:04
f9700000-f97fffff : PCI Bus 0000:05
  f97ff000-f97fffff : 0000:05:02.0
    f97ff000-f97fffff : firewire_ohci
f9800000-f9efffff : PCI Bus 0000:04
  f9800000-f9bfffff : 0000:04:00.0
    f9800000-f9bfffff : e1000e
  f9ee0000-f9efffff : 0000:04:00.0
    f9ee0000-f9efffff : e1000e
f9f00000-f9ffffff : PCI Bus 0000:02
fa000000-feafffff : PCI Bus 0000:01
  fa000000-fbffffff : 0000:01:00.0
  fd000000-fdffffff : 0000:01:00.0
    fd000000-fdffffff : nvidia
  fea00000-fea1ffff : 0000:01:00.0
febffc00-febfffff : 0000:00:1f.2
  febffc00-febfffff : ahci
fec00000-fed003ff : reserved
  fec00000-fec00fff : IOAPIC 0
  fed00000-fed003ff : HPET 0
fed20000-fed9ffff : reserved
  fed20000-fed9ffff : pnp 00:06
feda0000-fedacfff : pnp 00:07
fee00000-feefffff : reserved
  fee00000-feefffff : pnp 00:06
    fee00000-fee00fff : Local APIC
ffa80800-ffa80bff : 0000:00:1d.7
  ffa80800-ffa80bff : ehci_hcd
ffb00000-ffffffff : reserved
  ffb00000-ffbfffff : pnp 00:06
  ffc00000-ffffffff : pnp 00:06

I have no ability to alter RAM via BIOS on this PC.

johnsfine 06-04-2011 06:13 PM

Quote:

Originally Posted by reed68 (Post 4376417)
Below is the output of dmidecode and it indicates "Maximum Capacity: 4 GB"

That usually means the max usable ram is significantly lower than 4GB (typically around 3.5GB) and there is nothing the OS can do about it.

It is still possible there is some BIOS setting to let you use significantly closer to 4GB than is now usable. But it isn't very likely.

Quote:

Output from dmesg | grep BIOS:
That unambiguously shows the problem is either motherboard or BIOS and not Linux. I assumed that from the start in this thread, but this confirms that assumption.

Quote:

I have no ability to alter RAM via BIOS on this PC.
That setting would not be in the ram or memory section of the BIOS menu. If it exists, it would be confusingly located and named.

But more likely it isn't there and you can't enable more ram than you now have.

reed68 06-04-2011 07:04 PM

OK. Thanks for clearing that up for me.


All times are GMT -5. The time now is 06:05 PM.