Gentoo Wiki


This page is a candidate for deletion 
Reason given: This is about kernel 2.6.9-rc1 -> obsolete
If you disagree with its deletion, please explain why on its discussion page.
If you intend to fix it, please remove this notice, but do not remove this notice from articles that you have created yourself.
Make sure no other pages link here and check the page's history before deleting.

For Intel Chips (865, 875) you may need to use the 2.6.9-rc1 development sources to get ACPI running. The kernel mailing list displays the recent patches from intel to the kernel.

Read the Bob Moore patchlog for more information.

Update: 16.10.2004 : The new Kernel 2.6.9-rc4 has additional fixes for the ACPI kernel module working with the 865/875 Chipsets, so probably you want to try this one out anyways, there are also updated ebuilds availabe for the nvidia kernel module, which are in portage, so you probably like to try them out and post your results in the discussion are of this howto ?-- 14:15, 16 Oct 2004 (GMT)

You need ACPI to get Hyperthreading support into your Kernel. (Besides the power management and the irq routing you like to have as most modern mainboards are full with addon components like audio processors, sata raid chips, multiple usb ports, network interface cards, firewire and so on.)

The 2.6.9-rc1 kernel breaks nvidia & ati drivers. You have to copy a patch to your overlay directory to get the nvidia kernel module to run. Something like pci get class gets scrubbed with the new kernel. this is the link to the ebuild which fixes the nvidia kernel module for 2.6.9 rc1. this is the link to the ebuild which fixes the ati kernel module.

Copy the to the overlay directory, unpack the ebuild to this folder.

Overlay Directory:


In our case we override the standard ebuild with the one placed in our overlay directory. Everytime we emerge the nvidia kernel, the ebuild from the overlay directory is used. This works only for the new 6111 kernel. You have to add accept keywords "~x86" for this driver.

Feel free to add you valuable comments and hints to this HOWTO. Feel free to verify grammar and spelling in this article to improve the readability

Prepare your enviroment:

mkdir /etc/portage
cd /etc/portage/
nano -w package.keywords

Copy /Paste the following lines into the package.keywords file

media-video/nvidia-kernel ~x86
media-video/nvidia-glx ~x86
media-video/nvidia-settings ~x86
sys-kernel/development-sources ~x86

Ctrl + o to write the file.

add this to your /etc/make.conf:

nano -w /etc/make.conf

Save the make.conf again with the str + o shortcut.

Then you can create a directory structure similar to the one in /usr/portage under that directory. (Could be used for any ebuilds you like.)

mkdir /usr/local/portage
mkdir /usr/local/portage/media-video/nvidia-kernel/

Download into this new created directory the changed ebuild for the nvidia driver.

cd /usr/local/portage/media-video/nvidia-kernel/
tar -xvjpf nvidia-kernel-1.0.6111.tar.bz2

This unpacks the actualized ebuild for the nvidia driver into the so called overlay directory. If you like to revert to a previous kernel for some reason, you have to remove the files from this directory.

Ok, your enviroment is now prepared, now check your kernel configuration in the next section.

Prepare your Kernel for ACPI and Hyperthreading:

Check the installation guide for important Kernel settings or use one of your old kernel configurations and modify the appropriate sections to your pleasure.

[*] MTRR (Memory Type Range Register) support
CONFIG_NR_CPUS=8 (2 will be aswell perfectly ok)
CONFIG_SCHED_SMT=y (This is the important switch for Hyperthreading Support)
CONFIG_PREEMPT=y    (This switch generall improves performance on Desktop Systems, i would recommend it)

I recommend to compile all ACPI settings into your basic kernel, choose a star in menuconfig.

CONFIG_ACPI_BOOT=y            (Activate ACPI already at Boot, important)    
# CONFIG_ACPI_SLEEP is not set
# CONFIG_ACPI_BATTERY is not set  (have a laptop, turn this switch on)
CONFIG_ACPI_BUTTON=y         (you could power off the computer with init 0 finally)  
CONFIG_ACPI_FAN=y            (like to have a silen computer, choose this one) 
CONFIG_ACPI_THERMAL=y        (I would recommend this safty switch it might save your expensive CPU)
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_DEBUG is not set
# CONFIG_X86_PM_TIMER is not set

Disable APM, you don`t need it, as ACPI gets things going for you

# CONFIG_APM is not set

To enable the AGP support from your mainboard which is most often faster than the nvidia agp driver choose:

I dont find currently the switch, choose the one which says 865 support, this suits also the 875 chipset. (Both chips are basically the same, just the 875 performs better with RAM interface) I will edit this later into this howto.


Refer to the installation manual howto compile the kernel.

cd /usr/src/linux
make menuconfig
make && make modules_install
cp the bzImage to your boot directory (eventually need to mount boot before copy ?)
cp the .conf to the boot dir
cp the to the boot dir
modify grub.conf to your new kernel

Boot the new kernel, be sure to have a old working kernel, that you could boot as well and do not comment out at this point.

Finally we are well prepared so this step is just a breeze

Checkout the original guide, which has some more details, and I may have missed some things.

emerge nvidia-kernel
emerge nvidia-glx
emerge opengl-update
modprobe nvidia

Should give you no errors now.

Check your pci bus, this should also deliver no errors.

lspci -v

Put the nvidia driver into your /etc/modules.autoload.d/kernel-2.6 file

nano -w /etc/modules.autoload.d/kernel-2.6 add there just one line:

now run:

opengl-update nvidia

Ok, you are now set to run your X server.

Retrieved from ""

Last modified: Sat, 30 Aug 2008 06:06:00 +0000 Hits: 26,390