LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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: 3

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 & Android
Posts: 10,579

Rep: Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174
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: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,432
Blog Entries: 31

Rep: Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605
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: 3

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


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
[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 04:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration