LinuxSupportFAQForm | |
---|---|
SupportProblem | /usr/src/linux-2.6 is gone, there is no kernel-sources RPM. /usr/src/kernels/2.6.9-34.EL.cern is available, but contains only a few header files. Where is the source code, and how do I recompile a custom kernel for SLC4? |
SupportAnswer |
T.U.V decided not to ship binary kernel-sources RPMS anymore in RHEL4, this is documented in the Release notes for both RHEL4 and SL(C)4. Instead, a new kernel-devel package contains just the header files required to compile new kernel modules. If this is what you need to do, kernel-devel ought to be enough, please have a look at the Linux Kernel Module Programming Guide for 2.6-kernels.
For full kernel recompilations (i.e. other options, add-on patches, non-modular code), the source RPM (SRPM) is required. Proceed as follows:
..../SOURCES/ (wherever you have configured RPM, default would be /usr/src/redhat/SOURCES but you are not doing this as "root", right??)
i686 in the above with x86_64 or ia64 as required).
Please remember that you may have to redo standalone modules (such as OpenAFS) against your new kernel.
|
OsVersion | SLC4 |
HardwareArchitecture | any |
ApprovedBySupport | SupportApproved |