public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Imre Gergely <gimre@narancs.net>
To: linux-kernel@vger.kernel.org
Subject: Finding lost memory + kernel messages explained
Date: Thu, 09 Apr 2009 11:47:05 +0300	[thread overview]
Message-ID: <49DDB609.8050405@narancs.net> (raw)


Hi

I've just upgraded my laptop RAM from 1x2GB to 2x2GB. The BIOS says 
4096MB, memtest says 4031MB (I'm not sure why, but let's assume it's right).

After Linux boots, Ubuntu 8.10 x86_64, with

Linux gimre-laptop 2.6.27-11-generic #1 SMP Wed Apr 1 20:53:41 UTC 2009 
x86_64 GNU/Linux

I look at /proc/meminfo, and I don't have 4031MB:

gimre@gimre-laptop:~$ cat /proc/meminfo
MemTotal:      3989844 kB
MemFree:       3157756 kB

That would be around 3896MB. My question is: where does the memory go? 
Is it normal to 'lose' that much (~130MB) ?

Here's the dmesg output

http://pastebin.com/m4f7d089a

Also I would like to know more about those kernel messages, what do all 
those numbers, and memory mappings and all that mean? Is there a 
comprehensive manual / howto / wiki which explains all the messages in 
more detail?

One thing I tried was appending iommu=off at boot, which gave me back 
some 50MB, but there were still 80MB missing and the USB mouse didn't 
work (among other things I'm sure).

Laptop is a HP Compaq 8510p.

Thanks.

-- 
Imre Gergely
Yahoo!: gergelyimre ICQ#: 101510959
MSN: gergely_imre GoogleTalk: gergelyimre
gpg --keyserver subkeys.pgp.net --recv-keys 0x34525305


             reply	other threads:[~2009-04-09  8:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09  8:47 Imre Gergely [this message]
2009-04-09 10:31 ` Finding lost memory + kernel messages explained Andi Kleen
     [not found]   ` <49DDF2FF.9030501@narancs.net>
2009-04-09 18:22     ` Andi Kleen
2009-04-10  0:57 ` Robert Hancock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49DDB609.8050405@narancs.net \
    --to=gimre@narancs.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox