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 09-01-2011, 12:14 PM   #1
thelastblack
Member
 
Registered: Jun 2011
Distribution: Elementary OS beta 2
Posts: 48

Rep: Reputation: Disabled
how to use or enable PAE in 13.37 32bit?


hey
i dont know anything about PAE except that using it kernel can use more than 3gb ram in a 32bit system. but my slackware 13.37 32bit just tells that i have 2.9gb ram(but i have 4gb). so what should i do? or is it correct?
 
Old 09-01-2011, 12:23 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
check the kernel .config

Code:
CONFIG_HIGHMEM4G=y
CONFIG_HIGHMEM=y
you need the above
 
Old 09-01-2011, 12:55 PM   #3
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 538
Blog Entries: 7

Rep: Reputation: 54
It's not as easy as adding those options to the configuration... You need to recompile your own kernel with the option posted above.
 
Old 09-01-2011, 12:57 PM   #4
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
The kernel in /testing has PAE enabled:
http://slackware.osuosl.org/slackwar...ting/packages/
 
Old 09-01-2011, 03:33 PM   #5
thelastblack
Member
 
Registered: Jun 2011
Distribution: Elementary OS beta 2
Posts: 48

Original Poster
Rep: Reputation: Disabled
oh no! That testing kernel!
I tried that one before, i totally ruined my slack!
Can you tell me how to install new kernel? I dont use mbr for my bootloader but i use windows bootloader and easy bcd... The last time i used that kernel, i had to boot using slack dvd, because bootloader did not work. Because of that, now i know more but a guidance is indeed needed... How to add new kernel to lilo?
So what to do?
 
Old 09-01-2011, 08:56 PM   #6
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 538
Blog Entries: 7

Rep: Reputation: 54
Quote:
Originally Posted by thelastblack View Post
oh no! That testing kernel!
I tried that one before, i totally ruined my slack!
Can you tell me how to install new kernel? I dont use mbr for my bootloader but i use windows bootloader and easy bcd... The last time i used that kernel, i had to boot using slack dvd, because bootloader did not work. Because of that, now i know more but a guidance is indeed needed... How to add new kernel to lilo?
So what to do?
Best tutorial ever.

http://alien.slackbook.org/dokuwiki/...kernelbuilding
 
Old 09-01-2011, 09:25 PM   #7
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,845
Blog Entries: 15

Rep: Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188
Upgrading the kernel isn't that hard...

If you want to use the /testing kernel, install it with these options:

upgradepkg --install-new *.t?z

That will remove the old kernel and modules packages (and anything else not included) , and install the new one. Also make sure you run:

lilo

...afterwards (or whatever bootloader auto-configure you have) to reset the boot loader to the new kernel. Also, make sure you rebuild any packages you have that build kernel modules.
 
Old 09-01-2011, 09:28 PM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,622

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
I think it's safer to use installpkg rather than upgradepkg

when something goes wrong with the new kernel, you can still boot to the old kernel
 
1 members found this post helpful.
Old 09-01-2011, 09:54 PM   #9
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 538
Blog Entries: 7

Rep: Reputation: 54
Quote:
Originally Posted by willysr View Post
I think it's safer to use installpkg rather than upgradepkg

when something goes wrong with the new kernel, you can still boot to the old kernel
+1!
 
Old 09-02-2011, 01:01 AM   #10
thelastblack
Member
 
Registered: Jun 2011
Distribution: Elementary OS beta 2
Posts: 48

Original Poster
Rep: Reputation: Disabled
so i should use installpkg then run lilo, so what about having old kernel? Will it just add the new kernel or it will replace it in boot menu?
 
Old 09-02-2011, 11:22 AM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,622

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
if you use installpkg, it will install a new kernel alongside with the old one, so you basically have to add a new entry on your /etc/lilo.conf to point to the new kernel
 
Old 09-02-2011, 01:39 PM   #12
thelastblack
Member
 
Registered: Jun 2011
Distribution: Elementary OS beta 2
Posts: 48

Original Poster
Rep: Reputation: Disabled
thx all the guyz, the problem is solved.
using new kernel, i now have full ram.
marking thread as SOLVED.
 
  


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
Memory Problem - RHEL 5.5 32bit w/PAE - oom_killer nomb Linux - Server 24 12-01-2010 08:40 PM
java Xmx limitation on 32bit with PAE enabled michelangelo Programming 3 11-24-2009 08:24 PM
Suse 32bit PAE enabled. C program runs with 3.5Gb but java cannot use more than 1.8Gb michelangelo Suse/Novell 2 11-24-2009 06:27 PM
PAE enable pankaj.bhamare Linux - Newbie 7 04-15-2009 06:14 AM
Out of memory on 16gb ram, PAE 32bit 2.6.23 heson Linux - Server 4 11-04-2007 06:54 AM


All times are GMT -5. The time now is 10: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration