LinuxQuestions.org
Visit Jeremy's Blog.
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 10-10-2003, 06:20 PM   #1
LooseCanon
Member
 
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128

Rep: Reputation: 15
large RAM support in Slack 9.1?


Hi

I've recently upgraded my system and now have 1.5 GB RAM. Does Slack 9.1 have large RAM amount support "out of the box" or will I have to re-compile the kernel? (if so, how would I do that?)

So far only RH9 saw all the RAM and made use of it - other distros would either stall at installation or just not accept the RAM in excess of 880MB. Right now I'm running RH9 but I want to run something leaner and meaner - maybe eventually run FreeBSD on the same machine.

Thanks!
 
Old 10-10-2003, 07:28 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
AFAIK it should support up to 2GB I think out of the box per se... if not, that's just a simple recompile afterwards.
 
Old 10-10-2003, 08:26 PM   #3
LooseCanon
Member
 
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128

Original Poster
Rep: Reputation: 15
Is this choice to limit the large amounts of RAM based on some practical purpose (smaller kernel..)? If not why wouldn't large RAM amount support be included in the distro kernels? Seems rather strange to me that considering growth in the computer industry and server capabilities/requirements that distro makers wouldn't "up the ante" so to speak and include large RAM support.


btw any pointers on what I should be looking for when recompiling the kernel? I've never done anything to touch a kernel and I'm kinda terrified to bust something - last thing I want is to hear a "snap-crackle-pop" and smell some noxious fumes of fried electronics... and so would be the end of my "precious".
 
Old 10-10-2003, 09:03 PM   #4
pesho_p
Member
 
Registered: Oct 2002
Location: 42° 42' N, 23° 19' E
Distribution: Slackware 8.1
Posts: 77

Rep: Reputation: 15
1. Copy linux-2.4.20.tar.bz2 (from the 2-nd CD or download it from here) to /usr/src.
2. tar jxvf linux-2.4.20.tar.bz2.
3. ln -sf linux-2.4.20 linux.
4. cd linux.
5. cp /boot/config .config.
6. make menuconfig ('make oldconfig' first if you decide to compile, say, 2.4.22 instead of 2.4.20).
7. Search (and enable) for large RAM support. Exit and save.
8. make dep && make clean && make bzImage.
9. On this stage you can save your current modules (in case something goes wrong). Or just gave different EXTRAVERSION to your new kernel in Makefile (/usr/src/linux).
10. make modules && make modules_install.
11. cp arch/i386/boot/bzImage /boot/vmlinuz-large_ram_support.
12. cp System.map /boot/System.map-large_ram_support.
13. cp .config /boot/config-large_ram_support.
14. ln -sf /boot/System.map-large_ram_support /boot/System.map.
15. ln -sf c/boot/config-large_ram_support /boot/config.
16. Edit /etc/lilo.conf to include your new kernel (if everything works with your new kernel you always can remove your current one afterwards):
Code:
boot=/dev/hda1
prompt
timeout=50
change-rules
  reset
vga=normal
default=Linux_LRS
image=/boot/vmlinuz 
  root=/dev/hda1
  label=Linux
  read-only
image=/boot/vmlinuz-large_ram_support
  root=/dev/hda1
  label=Linux_LRS
  read-only
17. lilo.
18. shutdown -r now (and pray ).
 
Old 10-10-2003, 10:36 PM   #5
LooseCanon
Member
 
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128

Original Poster
Rep: Reputation: 15
(talk about a pointer or two)

WoW! thanks mucho pesho_p!!!
 
  


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
Where can I get info about Large File Support on woody? MrinCodex Debian 3 05-19-2005 12:01 PM
Large file size support for linux merlin23 Linux - Newbie 11 01-11-2005 08:01 AM
How to enable large file support (LFS)? maddmike SUSE / openSUSE 0 12-27-2004 10:45 AM
Large File Support on a 32-bit machine JapanMtlExpat Linux - Software 3 11-26-2004 02:50 AM
large file support compiler with other tools!? chuanyung Programming 0 01-20-2004 03:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:49 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