Announcement

Collapse
No announcement yet.

Only 3GB out of 4GB RAM recognised on 64bit system!?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Only 3GB out of 4GB RAM recognised on 64bit system!?

    Hi,
    I just installed kubuntu 14.04 (64bit) on my old T60p Thinkpad, which has 4GB of RAM. I had several previouse versions of kubuntu on this machine before and as far as I can remember, the 4GB were always recognized.
    Now, after a clean install, top only sees KiB Mem: 3081024 total
    and the About System section in Systems Setting says 2.9GB, while the OS Type is shown as 64-bit (as it should be); which is confirmed by uname -m: x86_64.

    I am absolutely clueless as to why this might have happened.
    Here are some more diagnostics:

    Code:
    $ cat /proc/meminfo
    
    MemTotal:        3081024 kB
    MemFree:          115136 kB
    Buffers:           25448 kB
    Cached:          1436440 kB
    SwapCached:            0 kB
    Active:          1752744 kB
    Inactive:        1025196 kB
    Active(anon):    1036552 kB
    Inactive(anon):   305792 kB
    Active(file):     716192 kB
    Inactive(file):   719404 kB
    Unevictable:          96 kB
    Mlocked:              96 kB
    SwapTotal:       6291452 kB
    SwapFree:        6291352 kB
    Dirty:               120 kB
    Writeback:             0 kB
    AnonPages:       1316152 kB
    Mapped:           104928 kB
    Shmem:             26288 kB
    Slab:              91932 kB
    SReclaimable:      54612 kB
    SUnreclaim:        37320 kB
    KernelStack:        4168 kB
    PageTables:        43380 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:     7831964 kB
    Committed_AS:    3629220 kB
    VmallocTotal:   34359738367 kB
    VmallocUsed:       89580 kB
    VmallocChunk:   34359640648 kB
    HardwareCorrupted:     0 kB
    AnonHugePages:    301056 kB
    HugePages_Total:       0
    HugePages_Free:        0
    HugePages_Rsvd:        0
    HugePages_Surp:        0
    Hugepagesize:       2048 kB
    DirectMap4k:       66368 kB
    DirectMap2M:     3078144 kB
    Code:
    $ sudo dmidecode --type 17
    # dmidecode 2.12
    SMBIOS 2.4 present.
    
    Handle 0x002A, DMI type 17, 27 bytes
    Memory Device
            Array Handle: 0x0029
            Error Information Handle: No Error
            Total Width: 64 bits
            Data Width: 64 bits
            Size: 2048 MB
            Form Factor: SODIMM
            Set: None
            Locator: DIMM 1
            Bank Locator: Bank 0/1
            Type: DDR2
            Type Detail: Synchronous
            Speed: Unknown
            Manufacturer: Not Specified
            Serial Number: Not Specified
            Asset Tag: Not Specified
            Part Number: Not Specified
    
    Handle 0x002B, DMI type 17, 27 bytes
    Memory Device
            Array Handle: 0x0029
            Error Information Handle: No Error
            Total Width: 64 bits
            Data Width: 64 bits
            Size: 2048 MB
            Form Factor: SODIMM
            Set: None
            Locator: DIMM 2
            Bank Locator: Bank 2/3
            Type: DDR2
            Type Detail: Synchronous
            Speed: Unknown
            Manufacturer: Not Specified
            Serial Number: Not Specified
            Asset Tag: Not Specified
            Part Number: Not Specified
    So apparently the 2x2GB are recognized by the BIOS, but not by the OS?

    Any ideas? I really want to get this fixed, because memory is already the limiting factor when I am working on my laptop. Any help would be greatly appreciated!

    Otherwise I am quite happy with Trusty so far.

    Chopstick

    P/S I installed Trusty from the same USB key on my workstation, which has 20GB RAM and all RAM was immediately recognized and used by the OS, so it is unlikely that there is a problem with the ISO itself.
    Last edited by Chopstick; May 05, 2014, 01:50 PM.

    #2
    Does it use an Intel 945GM or 945PM chipset?

    From Lenovo's support page for the T60p:

    Intel Chipsets 945GM and 945PM do not support more than 3GB system memory (RAM), even when a 64-bit operating system is installed.
    http://support.lenovo.com/en_GB/deta...cID=MIGR-62487
    sigpic
    "Let us think the unthinkable, let us do the undoable, let us prepare to grapple with the ineffable itself, and see if we may not eff it after all."
    -- Douglas Adams

    Comment


      #3
      Originally posted by HalationEffect View Post
      Does it use an Intel 945GM or 945PM chipset?

      From Lenovo's support page for the T60p:



      http://support.lenovo.com/en_GB/deta...cID=MIGR-62487
      If it is a bug in the chipset then surely it would have affected previous versions but the OP says no such problem with previous versions.

      Comment


        #4
        Thanks for you comments.

        I don't know how to look up the chipset (and google doesn't tell me much), but it would be extremely odd if I had only 3GB out of 4GB and never noticed anything. Especially since I first had 2GB, the upgraded to 3GB and finally to 4GB, a few year ago, and everytime I was very satisfied with the upgrade.

        Below is some more diagnostic output from dmidecode that pertains to memory: it says the maximum capacity of the memory controller is 4096 MB.

        [CODE]

        Handle 0x0007, DMI type 5, 20 bytes
        Memory Controller Information
        Error Detecting Method: None
        Error Correcting Capabilities:
        None
        Supported Interleave: One-way Interleave
        Current Interleave: One-way Interleave
        Maximum Memory Module Size: 2048 MB
        Maximum Total Memory Size: 4096 MB
        Supported Speeds:
        Other
        Supported Memory Types:
        DIMM
        SDRAM
        Memory Module Voltage: 2.9 V
        Associated Memory Slots: 2
        0x0008
        0x0009
        Enabled Error Correcting Capabilities:
        Unknown

        Handle 0x0008, DMI type 6, 12 bytes
        Memory Module Information
        Socket Designation: DIMM Slot 1
        Bank Connections: 0 3
        Current Speed: Unknown
        Type: DIMM SDRAM
        Installed Size: 2048 MB (Double-bank Connection)
        Enabled Size: 2048 MB (Double-bank Connection)
        Error Status: OK

        Handle 0x0009, DMI type 6, 12 bytes
        Memory Module Information
        Socket Designation: DIMM Slot 2
        Bank Connections: 4 7
        Current Speed: Unknown
        Type: DIMM SDRAM
        Installed Size: 2048 MB (Double-bank Connection)
        Enabled Size: 2048 MB (Double-bank Connection)
        Error Status: OK

        [\CODE]

        Comment


          #5
          Try

          lspci -v | grep 945

          if it's blank, then not the 945 chipset

          Please Read Me

          Comment


            #6
            So, lspci did turn up something (output below), where the Intel chipsets are mentioned, along with some others. I am not sure what that means.
            I would guess, since I am pretty sure that I didn't have this problem before, and there are several chipsets mentioned, this just indicates compatibility. (And dmidecode suggests I shouldn't have this problem.)

            Here is another observation: I just rebooted the laptop and did the memory test from the Grub2 menu, and there is also only shows 3GB.

            Code:
            $ lspci -v     
            
            00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
                    Subsystem: Lenovo ThinkPad T60
                    Flags: bus master, fast devsel, latency 0
                    Capabilities: <access denied>
            
            00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03) (prog-if 00 [Normal decode])
                    Flags: bus master, fast devsel, latency 0
                    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
                    I/O behind bridge: 00002000-00002fff
                    Memory behind bridge: ee100000-ee1fffff
                    Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
                    Capabilities: <access denied>
                    Kernel driver in use: pcieport
            There is, of course, more ouput, but these are the only entries that appear to be relevant (i.e. have the chipset numbers).

            Comment


              #7
              OK, So I booted into an old 12.10 CD I still had around, and to my dismay, I found that it also only sees 3GB... then I ran the memory test from the boot CD and it also only sees 3GB.
              In addition, this time I noticed that the memory test actually tells you the chip set: 945GM/PM

              So I guess that means my system never actually used more than 3GB. I don't know how I could have missed that, but I guess I only ever looked ad dmidecode -t 17 and never used top very much.
              (To monitor memory usage I mostly used System Load Viewer, which only shows you the fractional use.)

              Now the question is: Can I do something about this?

              Comment


                #8
                And, HalationEffect, thanks for you comment - I don't think I would have found this myself.

                Comment


                  #9
                  Well no offense intended, but you said "and as far as I can remember" with regards to your available RAM being 4GB in the past. However, the manufacturer of that computer states that only 3GB will be available if you have the 945GM chipset - which it appears you do.

                  It seems illogical to conclude that your memory is more correct than Lenovo's documentation. Especially since all indicators agree with Lenovo.

                  Simple enough to disprove - boot to a liveCD or USB of the previous version where you thought you had 4GB available and check.

                  EDIT: Oops! You beat me to it!

                  Please Read Me

                  Comment


                    #10
                    See my previous comment, oshunluvr. ;-)
                    Obviously my memory was wrong, or rather, I probably only ever looked at dmidecode and not top.

                    Comment


                      #11
                      Yes, we were simultaneously typing and you beat me to the "Post" button! Sorry the answer wasn't what you hoped, but at least you have closure.

                      Please Read Me

                      Comment


                        #12
                        Originally posted by Chopstick View Post
                        Now the question is: Can I do something about this?
                        Alas, there isn't really anything you can do about a memory controller chip that only does 32bit memory addressing and doesn't support memory remapping. It has a hard limit of 4GB addressable, and reserves ~25% of that for system use (for things such as graphics memory mapping, etc).

                        Nothing short of replacing the motherboard will fix such an issue, and on laptops that generally means replacing the entire machine.
                        sigpic
                        "Let us think the unthinkable, let us do the undoable, let us prepare to grapple with the ineffable itself, and see if we may not eff it after all."
                        -- Douglas Adams

                        Comment


                          #13
                          Yes, I was afraid that would be the case... maybe I should just get a new laptop... this one has served me well for 7 years, but the memory is not the only thing that's causing problems now.

                          Thanks for your help guys!

                          I guess I should open a new thread about laptop recommendations, now ;-)

                          Comment


                            #14
                            Now one more thing: how can I add something like [Closed] to the title?

                            Comment


                              #15
                              Edit the first post. The pull down at the top has a "mark this post Solved" item in it.

                              Please Read Me

                              Comment

                              Working...
                              X