dna-2.6.32-71.7.1.el6.x86_64-v4.patch
dna-2.6.32-71.7.1.el6-ia32-v2.patch
dna-2.6.34-intel32.patch (new 2.6.34 32bit patch)
Get Intel's ICC Compiler (Free Non Commercial Version)
> Makefile > arch/x86/Makefile > arch/x86/boot/compressed/Makefile > arch/x86/include/asm/delay.h > arch/x86/include/asm/xor_32.h > arch/x86/kernel/acpi/realmode/Makefile > drivers/lguest/x86/core.c > drivers/net/wan/sbni.c > include/linux/compiler-intel.h > include/linux/kvm.h > include/linux/log2.h > include/linux/module.h > include/sound/soc-dai.h > mm/percpu.c > net/unix/Makefile > scripts/Makefile.build > scripts/Makefile.modpost 17 files changed, 33 insertions(+), 59 deletions(-) |
| 29++++++++--------------------- | 4 +--- | 4 +++- | 8 ++------ | 2 +- | 2 +- | 2 +- | 4 ++-- | 1 + | 1 - | 10 ---------- | 6 +++--- | 1 - | 10 +++++----- | 2 ++ | 2 +- | 4 ++-- |
intelwrapper-v4 (For aggressive optimization)
linux-dna-2.6.29.1.tar.lzma | MD5
linux-dna-2.6.22.tar.lzma | MD5
The Linux kernel source above has been lightly patched so that it will compile with the Intel C/C++ compiler - the correct Intel wrapper script must be used with ICC to make the kernel. Please make sure that you are using the correct version of ICC to compile with also. (The 2.6.22 source above works with 10.1.018 - the steps below assume you are using it) Also, you will need the free license for individuals installed before ICC will work. If you are just trying to compile the kernel to see what it's like we would suggest using the VMware appliance at the bottom of the page for an easy install.
Add the intel compiler to the list of packages where testing versions should be installed:
# echo "dev-lang/icc" >> /etc/package.keywords
Install it: (make sure this installs the right version - 10.1.018)
# emerge -av dev-lang/icc
Register and download the free license file from Intel and copy it to: /opt/intel/licenses
Then reload the shell environment:
# source /etc/profile
Now the command "icc" should be available
Install the compiler, when possible, with the package manager of your distribution. The stand-alone installer has an install.sh script that will guide you though the install process.
Load the icc specifics into the shell environment:
# source /opt/intel/Compiler/11.0/083/bin/iccvars.sh ia32
Replace ia32 at the end of the command with intel64 for the x86_64 architectures or use ia64 for the Itanium architectures. You can add the complete command above to your .bashrc file so you don't have to issue this command every time you reboot your system. If you have multiple versions of ICC installed make sure you reference the correct path to the version you want to use. The command above works for version 11.0.083. ICC on Red Hat style systems will complain at install about SELinux - you may disable it for installation and it will work fine with SELinux re-enabled afterwards.
Note: If you are using an older Gentoo ebuild that is a different
version ICC than
10.1.018 please refer to this how to
for the minor changes that need to be made to the source. The versions
that have been tested to work are 10.1.018, 10.1.021 & 11.0.081with
kernel 2.6.22
(you can select the ICC version number at the bottom of Intel's
download page). For newer kernel patches please use the ICC
versions that have been tested to work with those patches.
To use the wrapper move / copy it to the /usr/local/bin directory and change the permissions for execution.
Reload the shell environment:
# source /etc/profile
To make the kernel issue this command from /usr/src/linux after configuring your kernel source as normal (untar, link - or eselect, menuconfig... etc - it is best to configure the kernel from menuconfig manually - make oldconfig or Gentoo's eselect may fail if you are using a more recent kernel than 2.6.22):
# make HOSTCC=intelwrapper CC=intelwrapper AR=xiar LD=xild
For GCC linking simply:
make HOSTCC=intelwrapper CC=intelwrapper
Easily find the drivers for your kernel here
nVidia binary drivers howto
KillerNic Gaming Card howto
Creative Soundblaster X-Fi howto
VMware Project VM (root pw: password): devel_vmware_dna

