LinuxSupportFAQForm | |
---|---|
SupportProblem | I want to recompile the kernel to include my XYZ driver ? Where's the config ? |
SupportAnswer |
Kernel sources are installed from package kernel-source-VERSION-RELEASE.i386.rpm into /usr/src/linux-VERSION-RELEASE . For convenience, a symbolic link /usr/src/linux-2.4 is made; it points to most recently installed kernel source package - this has nothing to do with which kernel is currently running. The config file matching your running kernel can be found in /usr/src/linux-2.4/configs/ with name kernel-VERSION-ARCH-ADDON.config where:
uname -a ( A word of warning: athlon is reported as i686 by uname !)
Next proceed in the following way:
cd /usr/src/linux-2.4 make mrproper cp configs/YOUR.config .configmake your changes/patches etc. (Don't forget to adjust EXTRAVERSION in top level Makefile!) make oldconfig (then perhaps =make config/xconfig/menuconfig= if you need to enable different options) make dep; make ; make modulesThe obtained kernel will preserve all original kernel settings that you didn't explicitly override (this is done using make oldconfig ).
|
OsVersion | SLC3 |
HardwareArchitecture | any |
ApprovedBySupport | SupportApproved |