RedHat 7.x (and Enterprise Edition) Installation Notes for the Intel (R) PRO/100 and PRO/1000 family of network adapters. This README applies to RedHat* 7.0 only and addresses 2 areas: Basic compiling of all 3 Intel nic drivers on the RedHat 7 distribution and Enterprise Edition kernel source matching. I. For RedHat 7 (only) installation of Intel's e100, e1000, and iANS drivers, please ensure the following are installed: - C libraries - Kernel source package (REQUIRED) - Specific symlinks (due to RedHat directory structure changes) - kgcc (because in the make file you should use cc=kgcc (instead of cc=gcc) Here is a step by step method for insuring a compile ready system: Install kgcc. Steps: Mount the install CD-Rom and change to /Redhat/RPMS/ Type rpm -i kgcc-1.1.2-40.i386.rpm To make sure kgcc is installed, you can use the commands rpm -q kgcc and rpm -q kernel-source Save the old include files: mv /usr/include/linux /usr/include/linux.original mv /usr/include/asm /usr/include/asm.original Link the new include files ln -s /usr/src/include/linux /usr/include/linux ln -s /usr/src/include/asm /usr/include/asm Link the man pages to their former location ln -s /usr/share/man /usr/man Then change to the Linux source directory: cd /usr/src/linux Confirm that the kernel you are running was compiled using the source in /usr/src/linux. Your kernel source should be in a directory /usr/src/ Ensure two symlinks /usr/src/linux pointing to /usr/include/linux pointing to ../src/linux/include/linux Clean up version.h make mrproper Match running kernel make oldconfig Create good version.h file make dep Build the driver using kgcc II. The Enterprise Version - this version was built using extra patches and hence doesn't match the kernel-RPM installed source. You must install the patches from the kernel SRPM and apply them to the source to recreate the proper source tree. The procedure to recreate the 2.2.16-22enterprise kernel source is as follows: 1) install kernel-2.2.16-22.src.rpm and kernel-source-2.2.16-22.i386.rpm 2) make a copy of the source tree installed from kernel-source-2.2.16-22.i386.rpm 3) apply the following patches from the kernel SRPM to the new kernel source tree /usr/src/redhat/SOURCES/linux-2.2.16-lfs.patch /usr/src/redhat/SOURCES/linux-2.2.16-lfs-bigmem.patch The patches will not install cleanly, but you can ignore the failures. 4) clean out the kernel source tree and reconfigure for the enterprise kernel make mrproper cp configs/kernel-2.2.16-i686-enterprise.config .config make oldconfig make dep Ensure /usr/src/linux is a symlink pointing to the new enterprise kernel source, and in the Makefile change "CC=gcc" to "CC=kgcc"