LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-27-2009, 06:21 AM   #1
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Rep: Reputation: 32
4GB memory issue in Centos 5


I am using Centos 5.0 32bit system with simple kernel 2.6.18-53.el5 and have 4GB RAM in system.

I have some problems with system RAM detection, (I cant use kernel-PAE kernel)

This is system log

Code:
3200MB HIGHMEM available.
896MB LOWMEM available.
Memory for crash kernel (0x0 to 0x0) notwithin permissible range
  HighMem zone: 819200 pages, LIFO batch:31
Memory: 3103732k/4194304k available (2080k kernel code, 40104k reserved, 869k data, 220k init, 2227584k highmem)
Freeing initrd memory: 2345k freed
but free command shows only 3GB

Quote:
free -m
total used free shared buffers cached
Mem: 3034 2911 123 0 50 2566
-/+ buffers/cache: 293 2740

I have read that 32 bit linux support 4GB RAM then why free showing only 3GB.



Second what is

3200MB HIGHMEM available.
896MB LOWMEM available.


mean in above code.

I have also check

Quote:
cat config-2.6.18-53.el5 |grep -i MEM4
CONFIG_HIGHMEM4G=y
4GB support is enable in kernel.
 
Old 02-27-2009, 07:50 AM   #2
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
I don't know for Redhat, but with Mandriva the most compatible kernel (hence the default one) is named “kernel-desktop586” and can't handle over 880MB RAM (up to version 2008.1), or over 4GB (since version 2009.0). So people with more RAM need to install the non-586 kernel, namely “kernel-desktop”, instead. Maybe there's something similar with Redhat.

Apart from that, some of your RAM could be taken by the graphics chipset if it has no RAM of its own.

Yves.
 
Old 02-27-2009, 08:18 AM   #3
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by LinuxLover View Post
I have some problems with system RAM detection, (I cant use kernel-PAE kernel)
If you can't use PAE then you can't use the full 4GB.

Why can't you use kernel-PAE?

Quote:
3200MB HIGHMEM available.
896MB LOWMEM available.
I'm not 100% certain, but I think that 3200MB HIGHMEM is the total available to Linux without PAE and the 896 LOWMEM is included in the 3200.

Quote:
I have read that 32 bit linux support 4GB RAM then why free showing only 3GB.
Without PAE an OS can support 4GB of physical address space not 4GB of ram. The motherboard and BIOS use parts of the first 4GB of address space for things other than ram, so part of the first 4GB of ram must be outside the first 4GB of physical address space, and cannot be used without PAE.

Quote:
what is

3200MB HIGHMEM available.
896MB LOWMEM available.


mean in above code.
Part of ram (LOWMEM) is permanently mapped into the Kernel virtual address space. Certain direct uses of ram by the kernel are limited to that section of ram (I don't know the details of exactly what things can only be stored in LOWMEM).
There is no such limitation for ram used by processes.

Quote:
4GB support is enable in kernel.
That just means you have support for ram beyond the first 896MB. It does not mean you have support for a full 4GB of ram.
 
  


Reply



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
32 bit OS and 4GB memory limit the_gripmaster Linux - General 51 03-02-2017 07:22 PM
CentOS - Kernel Memory Recognition Issue atlastc Linux - Software 19 05-02-2008 09:29 AM
CentOS 4.5: Advice on upgrading memory beyond 4GB with VMWare involved harry edwards Linux - Server 2 01-26-2008 07:48 AM
Intel 945 chipset and 4GB of memory danielsbrewer Linux - Hardware 2 08-23-2007 03:25 AM
What's the Max XP memory ( 4GB ? ) deft General 3 01-20-2004 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:50 AM.

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
Open Source Consulting | Domain Registration