LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2009, 10:36 PM   #16
Cybergeek
LQ Newbie
 
Registered: May 2006
Posts: 8

Rep: Reputation: 0
Fedora Core 10 not seeing 1.8gb


Every specsheet I see sayd that my laptop, an ACER Aspire 5100 can handle up to 4gb of memory. I installed all 4gb today and Linux is telling me I only have 2.2gb. This is my Mem read as posted above. Maybe somebody can tell me why Linux is not seeing all the mem. Tried to flash the bios with the latest upgrade but doesnt work with WINE

Code:
Linux version 2.6.27.15-170.2.24.fc10.i686 (mockbuild@x86-5.fedora.phx.redhat.co
m) (gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) ) #1 SMP Wed Feb 11 23:58
:12 EST 2009
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009dc00 (usable)
 BIOS-e820: 000000000009dc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000d0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000008fe90000 (usable)
 BIOS-e820: 000000008fe90000 - 000000008fe9a000 (ACPI data)
 BIOS-e820: 000000008fe9a000 - 000000008ff00000 (ACPI NVS)
 BIOS-e820: 000000008ff00000 - 00000000a0000000 (reserved)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000160000000 (usable)
DMI present.
last_pfn = 0x8fe90 max_arch_pfn = 0x100000
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
kernel direct mapping tables up to 38000000 @ 7000-c000
Using x86 segment limits to approximate NX protection
Thanks in advance
 
Old 02-23-2009, 10:55 PM   #17
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by Cybergeek View Post
Every specsheet I see sayd that my laptop, an ACER Aspire 5100 can handle up to 4gb of memory. I installed all 4gb today and Linux is telling me I only have 2.2gb. This is my Mem read as posted above. Maybe somebody can tell me why Linux is not seeing all the mem. Tried to flash the bios with the latest upgrade but doesnt work with WINE
The BIOS is OK. It is mapping the RAM correctly. The problem is probably the Linux kernel.

In a 32-bit x86 kernel, support for the extra ram is a build time option. I don't know the details for Fedora, but I expect there is a prebuilt binary of the kernel you can load from the repository that will give you access to the rest of the memory.

In selecting the right version of the kernel, or in configuring to recompile the kernel youself (if you decide to do it that way) be aware that a kernel supporting "up to 4GB" will miss 1.5GB with your BIOS memory map. To get that last 1.5GB (giving you nearly 4GB but not 100%) you need a kernel that has support for more than 4GB.
 
Old 02-23-2009, 11:05 PM   #18
Cybergeek
LQ Newbie
 
Registered: May 2006
Posts: 8

Rep: Reputation: 0
Well most of the info I keep reading on the x86 version of Fedora Core is saying it will support beyond 4gb, but apparently I am missing something
 
Old 02-23-2009, 11:09 PM   #19
Cybergeek
LQ Newbie
 
Registered: May 2006
Posts: 8

Rep: Reputation: 0
Upgrade?

So if I upgrade to X64 would I be gtg?

Edit:

Just looked into upgrading to x64 from x86 and not exactly thrilled by the iffyness of it all. I don't want to loose everything I have setup on here

Last edited by Cybergeek; 02-23-2009 at 11:53 PM.
 
Old 02-24-2009, 02:10 AM   #20
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by Cybergeek View Post
So if I upgrade to X64 would I be gtg?

Edit:

Just looked into upgrading to x64 from x86 and not exactly thrilled by the iffyness of it all. I don't want to loose everything I have setup on here
I used Fedora 10 X86_64 I do have 4 GB of RAM
650 MB is taken by the system mostly by the Nvidia Gforce 6200 Turbo
cache left about 3.3 GB and that Fedora tell me that amount of RAM is
And that is the same amount mark as free in the BIOS
 
Old 02-24-2009, 07:11 AM   #21
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by Cybergeek View Post
So if I upgrade to X64 would I be gtg?

Edit:

Just looked into upgrading to x64 from x86 and not exactly thrilled by the iffyness of it all. I don't want to loose everything I have setup on here
Even recompiling the kernel would be less effort than switching to 64 bit. But I'm pretty sure you don't need to recompile the kernel. I'm pretty sure you can download a (32 bit) kernel with support for over 4GB.

Hopefully someone who knows how kernels available for download are named in Fedora, will answer this soon.

Edit: I googled the question and found a little more info:

The Fedora "native kernel" for x86 only supports 4GB of address space, so on your system it will miss 1.5GB of ram.

The kernel you want is called "kernel-PAE". Look in you package manager. I expect there is a package with the binaries of that kernel.

Some of this info and related discussion is from
http://docs.fedoraproject.org/releas...sn-Kernel.html

Some ram and address space are lost together to various BIOS and motherboard overhead. Often that is just a few MB. On your system it is 257.8MB. When that is so large, it might be that the display system uses main memory rather than having its own. Otherwise something is wrong with the motherboard or BIOS to lose so much. Even if it is the display, 257.8MB seems a bit much (appropriate for gaming in Windows maybe). Linux can't get that ram back. Only a BIOS setting might get some of that back.

Additionally (and more importantly) some address space is lost without losing the associated ram. Typically that is 384MB to 768MB. On your system it is 1536MB. That memory can be used by Linux if you install a PAE kernel.

Last edited by johnsfine; 02-24-2009 at 09:41 AM.
 
Old 04-30-2009, 03:04 AM   #22
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 422

Rep: Reputation: 86
ok, dmesg showed me this

BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009e000 (usable)
BIOS-e820: 000000000009e000 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000bfc6c000 (usable)
BIOS-e820: 00000000bfc6c000 - 00000000bfcbf000 (reserved)
BIOS-e820: 00000000bfcbf000 - 00000000bfd83000 (usable)
BIOS-e820: 00000000bfd83000 - 00000000bfdbf000 (ACPI NVS)
BIOS-e820: 00000000bfdbf000 - 00000000bfde8000 (usable)
BIOS-e820: 00000000bfde8000 - 00000000bfdff000 (ACPI data)
BIOS-e820: 00000000bfdff000 - 00000000bfe00000 (usable)
BIOS-e820: 00000000bfe00000 - 00000000c0000000 (reserved)
BIOS-e820: 00000000f8000000 - 00000000fc000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fed10000 - 00000000fed14000 (reserved)
BIOS-e820: 00000000fed18000 - 00000000fed1a000 (reserved)
BIOS-e820: 00000000fed1c000 - 00000000fed20000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
BIOS-e820: 0000000100000000 - 0000000140000000 (usable)
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#3 [000009e000 - 0000100000] BIOS reserved ==> [000009e000 - 0000100000]
ACPI: BIOS _OSI(Linux) query ignored
pci 0000:00:1a.7: EHCI: BIOS handoff failed (BIOS bug?) 01010001
pci 0000:00:1d.7: EHCI: BIOS handoff failed (BIOS bug?) 01010001
last_pfn = 0xbfe00 max_arch_pfn = 0x100000
kernel direct mapping tables up to 377fe000 @ 7000-c000

###########################################################
and
# grep HIGHMEM /boot/config-2.6.29.1
showed me this

# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_HIGHMEM=y

###########################################################
I bought my hp pavilion dv4 laptop in March 2009
 
Old 04-30-2009, 07:06 AM   #23
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
It would have been clearer to post that info in your own thread at
http://www.linuxquestions.org/questi....6.29.-722430/

Quote:
Originally Posted by vonbiber View Post
BIOS-e820: 00000000bfdff000 - 00000000bfe00000 (usable)
Various lines up to and including that one, show you have nearly 3GB of ram mapped (by the memory controller) within the first 4GB of address space. Without PAE, that is the amount usable.

Quote:
BIOS-e820: 0000000100000000 - 0000000140000000 (usable)
That line says you have another 1GB of ram outside the first 4GB of address space. You need PAE to use that (in a 32 bit kernel).

Quote:
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_HIGHMEM=y
Sorry, I still don't know what config choices you should use to turn on PAE, especially how to turn it on efficiently (without also turning on the option to split the process 4GB space from the kernel 4GB space).

I'm pretty sure CONFIG_HIGHMEM64G includes turning on PAE. I suspect it also turns on other things you likely don't want. But despite a few google searches and other attempts at finding the right documentation I'm still quite confused about which config options go with which exact features (I don't have time to look into the source code for the real answer).

I do know the 4G in CONFIG_HIGHMEM4G refers to 4GB of physical address space, not 4GB of actual ram. A full 4GB of ram requires more than 4GB of physical address space and CONFIG_HIGHMEM4G does not give you that.

Anyway, you have answered syg00's concern from your thread. Your missing 1GB of memory is definitely a problem in configuring the Linux kernel. It is definitely not a problem in your BIOS or motherboard. (Having been in a bunch of these threads, I think syg00 made a good guess. It is more often a motherboard problem. But not this time.)

Last edited by johnsfine; 04-30-2009 at 07:14 AM.
 
Old 05-02-2009, 03:26 AM   #24
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 422

Rep: Reputation: 86
Actually I found out why the PAE string didn't
appear in my config.
Yesterday I downloaded the latest kernel (2.6.29.2)
and when I
make menuconfig
I paid particular attention to the area about
processor, memory
The first time I checked the up to 4GB because
that's what I have. And I didn't see any PAE.
So I went back and tried the 64GB instead and this
time bingo, it was there.
When I rebooted with my new kernel
# free
displayed a 4GB total amount of memory and not
3GB as previously
I shouldn't have paid attention to the help text
that said 'if you have up to 4GB of RAM' check the
4GB option

Here's an excerpt of my current config

# Linux kernel version: 2.6.29.2
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
#
CONFIG_MCORE2=y
# CONFIG_GENERIC_CPU is not set
CONFIG_X86_GENERIC=y
CONFIG_X86_CPU=y
...
#
CONFIG_X86_CMPXCHG64=y
...
# CONFIG_NOHIGHMEM is not set
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_HIGHMEM=y
CONFIG_X86_PAE=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
...
CONFIG_PHYS_ADDR_T_64BIT=y
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 5 97% memory usage? impulse() Linux - Distributions 4 06-06-2006 05:27 AM
Fedora Core 5 Memory Usage dudeman41465 Linux - Software 1 04-10-2006 03:06 PM
Fedora Memory Usage Devyn Linux - Software 7 06-13-2005 09:37 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 05:45 AM
Memory Usage in X (Fedora Core 2) Chebyshev Linux - Software 4 07-31-2004 02:11 PM


All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration