Enable PAE on SMP kernel

Discussion in 'Kernel Questions' started by domino, Nov 23, 2005.

  1. domino

    domino New Member

    I hope someone can answer. I have Debi kernel 2.6 SMP. Is there a way to enable PAE and how can I prove that PAE is in fact enabled. procinfo flag says my P4 HT is capable and my board can in fact support 4gig of ram. Here is the question. How can I enable PAE in the kernel without acually having 4gig of memory? :p
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's PAE?
     
  3. heyp

    heyp New Member

    Physical Address Extension
     
  4. domino

    domino New Member

    Never mind. We just wanted to see if we could do the same thing as you can add the /PAE switch in boot.ini in windows.

    Thanks
     
  5. fbg00

    fbg00 New Member

    You might want to rebuild the kernel

    AFAIK, you have to rebuild the kernel if PAE support isn't there and you want it. Rebuilding the kernel is generally easy if you start from a working config file, but it takes a while (10's of minutes). For example, if you're using Debian Sarge and a 2.6.x kernel, see this link: http://www.howtoforge.com/forums/showthread.php?t=21 but of course change the kernel version to match the one you have. Copy your /boot/config<your-version> to /usr/src/linux-<your-version>/.config. Assuming you do this and the config file is in the right place, and that you need no other changes, when you run "make menuconfig" all you need to do is turn on the appropriate option for PAE (for me this was "Processor type and features ---> High Memory Support ---> 64GB" but you may want only 4GB, and/or YMMV depending on the kernel version you've got). Good luck. :cool:
     

Share This Page