LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 09-09-2019, 07:58 AM   #1
hutcruchi
LQ Newbie
 
Registered: Sep 2019
Posts: 5

Rep: Reputation: Disabled
full RAM size not recognized after applying rt patch


I use 32bit powerpc with the linux 4.1.8 kernel and just applied the full rt patch which turned off the CONFIG_HIGHMEM configuration in menuconfig.

Following that my RAM size halved. the kernel recognizes only 766MB out of 1.5GB.

I saw there is a patch for restoring CONFIG_HIGHMEM configuration while still appliying the rt patch but its working for ARM only.

How can i change the settings in order the kernel to recognize the whole RAM without using high memory area. (maybe create more zone_normal? more nodes? or just extend the low memory area?) thanks!
 
Old 09-11-2019, 08:21 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
How many Address lines is there on your powerpc? There's various software bodges to get around lack of address Your limits (with all address lines at 1) are 256k, 512k, 1024k, so it's odd that your limits are at 766MB.
 
Old 09-14-2019, 08:14 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

Since the early PPC Mac is a RISC (32 bit) based system then you will need to use a distribution that will address that. Look at this to help you;Installing Linux on PowerPC Macs | Low End Mac
Hope this helps.
Have fun & enjoy!
 
Old 09-22-2019, 09:56 AM   #4
hutcruchi
LQ Newbie
 
Registered: Sep 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
thanks for the help.
After reading some articles and posts , the answer is that the linux 32bit OS supports only 1GB RAM size as long as CONFIG_HIGHMEM turned off and you use 3GB/1GB user/kernel virtual address space split.

In order to use more than 1GB you have to turn on the CONFIG_HIGHMEM or change the split (2GB/2GB for example) or use 64bit OS.
 
  


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
[SOLVED] Bitbake - applying patch to a recipe- No file to patch error phani222 Linux - Newbie 6 01-10-2018 05:14 AM
Why size of swap space is 2x of RAM??? Why not 1.5x of RAM or 2.5x of RAM??? Saurav Ghosh Linux - Newbie 7 11-01-2011 03:49 AM
[SOLVED] Slackware 13.1 x86_64 sound problem after applying kernel patch Maestro485 Slackware 6 12-31-2010 02:03 PM
Difference in the RAM's size and the size of the image of RAM (taken via dd), Why? Usmanaj Linux - Newbie 2 08-01-2009 12:17 AM
All RAM not being recognized on Linux RHEL after adding RAM manouche Linux - Enterprise 4 04-18-2008 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 01:00 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
Open Source Consulting | Domain Registration