LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-15-2005, 04:15 PM   #1
superandrzej
Member
 
Registered: Nov 2003
Posts: 63

Rep: Reputation: 15
Question not all memory is detected by the system


I use 1024 MB RAM but my slackware 10.2 sees only 885 MB RAM. Any idea why?
 
Old 11-15-2005, 04:20 PM   #2
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,074

Rep: Reputation: 199Reputation: 199
Could be a couple of issues, you could have a bad memory stick, check to see also if your bios picks up all 1024MB of ram, I am also thinking you might need to recompile your kernel with high memory support, but that I am not sure about, because it starts from 4GB+ not 1GB....So I am thinking it could be a bad memory stick
 
Old 11-15-2005, 04:37 PM   #3
bird603568
Member
 
Registered: Aug 2004
Distribution: Slackware current
Posts: 250

Rep: Reputation: 30
no your problem is you need to emable highmem in your kernel
 
Old 11-15-2005, 06:18 PM   #4
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
bird603568 is right. If you want to use the rest of the memory, you need to enable HIGHMEM support in your kernel. This is not gauranteed to improve performance, though, as there is an associated overhead cost with running HIGHMEM (which tends to negate the gain of additional RAM). An alternative is to use a Con Kolivas patch for your kernel. The Con Kolivas patch enables LOWMEM support for up to 1Gig of RAM.
 
Old 11-15-2005, 06:51 PM   #5
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 46
the above posters are right. i had the same "problem" and used the ck patch. now linux recognizes all the ram.
 
Old 11-15-2005, 11:42 PM   #6
LiNuCe
Member
 
Registered: Apr 2004
Location: France
Distribution: Slackware Linux 10.2
Posts: 119

Rep: Reputation: 15
Quote:
shilo:The Con Kolivas patch enables LOWMEM support for up to 1Gig of RAM.
As we are talking about the Con Kolivas patchset, I add that it has many interesting features. It allows to keep a 2.4.x Linux kernel and to benefit from desktop performance features found in 2.6.x Linux kernel such as preemptible kernel and low latency. I use it on my Duron 800 and the difference between a Linux kernel with and without it are noticeable when compiling and packaging softwares from sources : with the CK patchset, I can listen musics and browse the web while softwares are compiling, whereas without it, sound playing gets "glitches". However, it seems that the benefits are not so noticeable if you have a more recent computer than I have. YMMV ...

--
LiNuCe

Last edited by LiNuCe; 11-15-2005 at 11:43 PM.
 
Old 11-16-2005, 03:26 AM   #7
superandrzej
Member
 
Registered: Nov 2003
Posts: 63

Original Poster
Rep: Reputation: 15
BIOS and... windows see all the 1GB, so apparently memory stick is OK.

From what I can see Con Kolivas patches are only for 2.4.x Linux kernels. I use 2.6.x series.

I was thinking of HIGHMEM but in the kernel option description it is stated that when you have this option OFF you can have up to 1 GB, so it is exactly my case and for me it seemed STRANGE that I would have to enable HIGHMEM.

Anyway I've enabled HIGHMEM (4GB) but the new kernel didn't wanted to boot. Maybe I have to change something in my lilo options (I use bootsplash). I'm not at my PC so I cannot quote any system messages.
 
Old 11-16-2005, 03:40 AM   #8
Razze
Member
 
Registered: Dec 2004
Location: Espoo, Finland
Distribution: Gentoo, 2.6.16-gentoo-r11
Posts: 108

Rep: Reputation: 15
Hello!

The CK-paches are also available for the 2.6-kernels. I f you don't want all the patches you can also just pick the 1g lowmem.

Take a look at http://members.optusnet.com.au/ckolivas/kernel/

I am using the full ck-patchset myself and have been very please with both performance and stability
 
Old 11-18-2005, 05:45 AM   #9
superandrzej
Member
 
Registered: Nov 2003
Posts: 63

Original Poster
Rep: Reputation: 15
Talking

Now it works.
Thank you.
 
Old 11-19-2005, 07:30 AM   #10
kaon
Member
 
Registered: Dec 2003
Location: Hong Kong SAR
Distribution: Slackware 9.1, 10.x, slackware-current
Posts: 186

Rep: Reputation: 30
just a bit curious.
any idea causes this limitation?

Thanks.
 
Old 11-19-2005, 08:11 AM   #11
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,445

Rep: Reputation: 94
Maybe this link could bring some informations :
http://kerneltrap.org/node/2450
 
  


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
glibc detected ; memory corruption pingu Linux - Software 3 10-12-2005 01:29 AM
system memory leark Moebius Linux - Hardware 1 06-11-2005 02:52 PM
malloc() and system memory spaceman27 Programming 8 04-25-2005 09:58 AM
Sound card not detected by system after upgrade dmaddogxjts Linux - Hardware 0 03-02-2004 08:46 PM
system memory juno Linux - General 2 12-19-2002 04:19 AM


All times are GMT -5. The time now is 01:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration