← Back to team overview

ubuntuforums-unanswered team mailing list archive

[Question #76858]: Getting Ubuntu 9.04 (32-bit) to use 4 GB of memory?

 

New question #76858 on Ubuntu:
https://answers.launchpad.net/ubuntu/+question/76858

Hi,

I'm using Ubuntu 9.04 Desktop Edition (32-bit) on my laptop for software development. The laptop has 4 GB of memory installed and since the development environment and tools use a lot of memory I'd like to be able to fully utilize all of the physical memory.

There seems to be a few different methods for getting Ubuntu to use 4 GB of memory. I've chosen to take the build your own kernel path.

I followed the instructions found in the KernelCompile page to compile a PAE-enabled kernel but for some reason the configuration changes I make seem to get overwritten when I regenerate or update the configs.

Here's the procedure I'm using:

    sudo apt-get build-dep linux-image-2.6.28-13-generic
    apt-get source linux-image-2.6.28-13-generic

    # manually edit debian/config/i386/config.generic to add the following line:
    # CONFIG_X86_PAE=y

    chmod u+x debian/scripts/misc/*
    bash debian/scripts/misc/oldconfig i386

I've also tried creating my own config file (config.pae) and regenerating config files using:

    debian/rules updateconfigs

but the PAE setting always gets lost from the config files.
I've also installed the kernel that I've built but it doesn't seem to be PAE-enabled.

Is this the correct way to compile a kernel on Jaunty?
Why do the config changes get lost?

Since its quite common nowadays to have more than 3 GBs of memory why doesn't Ubuntu (32-bit) support 4 GB of memory out-of-the-box or provide an separate kernel for this?


-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.