Wrong amount of RAM detected

Bug #150248 reported by Jean-Denis
6
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

I have a brand new machine and ordered 4 GB of ram.

before removing windows vista, i checked adn confirmed i had 4 GB of ram. now i just installed ubuntu gutsy beta and the system monitor displays that it only has 3 GB of ram. so, 1 GB was not detected.

Revision history for this message
Basilio Kublik (sourcercito) wrote :

Hi Jean
Does just the system monitor detect the wrong amount of RAM, or the system in general?, could you check with the following command

user@machine:~$ free -l

Revision history for this message
xtknight (xt-knight) wrote :

Are you using i386? If so, then only 3 GB of RAM might exist since the rest is used by addresses.

Revision history for this message
Jean-Denis (jdboudreault) wrote :

Hi, thanks for your very quick answers!

Basilio: here is what free -l returns me:

$ free -l
             total used free shared buffers cached
Mem: 3106360 466160 2640200 0 10508 265832
Low: 879852 35272 844580
High: 2226508 430888 1795620
-/+ buffers/cache: 189820 2916540
Swap: 9100780 0 9100780
if i read this, it has 3 gigs right?

and, for cat /proc/meminfo:

MemTotal: 3106360 kB
MemFree: 2640148 kB
Buffers: 10548 kB
Cached: 265940 kB
SwapCached: 0 kB
Active: 211512 kB
Inactive: 212032 kB
HighTotal: 2226508 kB
HighFree: 1795560 kB
LowTotal: 879852 kB
LowFree: 844588 kB
SwapTotal: 9100780 kB
SwapFree: 9100780 kB
Dirty: 296 kB
Writeback: 0 kB
AnonPages: 147104 kB
Mapped: 54608 kB
Slab: 16876 kB
SReclaimable: 8080 kB
SUnreclaim: 8796 kB
PageTables: 1700 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 10653960 kB
Committed_AS: 456144 kB
VmallocTotal: 114680 kB
VmallocUsed: 47292 kB
VmallocChunk: 65524 kB

xtknight: yes, i have a core 2 quad and the i386 version of ubuntu. Why would i lose 1 GBG of ram with the 386 version? if so, is there anything we can do to get back the gig?

thanks guys! (besides from that, gutsy really rocks, best distro ive seen yet)

Revision history for this message
xtknight (xt-knight) wrote :

Jean-Denis: You would lose around a gig with Vista 32 as well. I don't think it has PAE (which allows 32-bit to have 4 GB). Apparently Ubuntu i386 doesn't either. PAE is a bit unstable so it's preferable just to use 64-bit to get full memory support.

It happens because the upper portion of the 4 GB virtual address limit needs to be reserved. There needs to be space for devices to read/write info to the bus. I don't know all the specifics although it is a well-documented issue that you can only see 2.5-3.0 GB with a 32-bit system (depending on how much RAM is on your graphics card, etc).

Revision history for this message
Jean-Denis (jdboudreault) wrote :

well, thanks a lot guys for the explanations, i really didnt know about this. well, all good if tis not a bug :)

i apologize for the false positive, ubuntu is amazing

thanks!

Revision history for this message
Jean-Denis (jdboudreault) wrote :

was not a bug. seems to work as it should according to explanations.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.