[CentOS] kernel source kernel-devel-smp-2.6.9-42.0.3.EL RPM

Fri Apr 27 15:08:50 UTC 2007
Phil Schaffner <Philip.R.Schaffner at NASA.gov>

On Fri, 2007-04-27 at 08:37 -0500, William Dinkel wrote:
> Sebastian,
> 
> On Apr 27, 2007, at 8:28 AM, Sebastian Walter wrote:
> 
> > Dear list,
> > 
> > 
> > for the purpose of installing a qlogic driver into my system, I need
> > the exact kernel source version mentioned above. The kernel version
> > is a dependency for the cluster suite (for centos4) package, which
> > has been installed using yum (yum install cman gfs [...]).
> > 
> > 
> > Where can I get the kernel source for this exact version? The only
> > one which is offered to me by yum is version 2.6.9-42.0.10, which I
> > could re-link of course with /usr/src/linux-2.6, but isn't there a
> > nicer way?
> 
> 
> http://mirrors.kernel.org/centos/4.4/updates/x86_64/RPMS/kernel-smp-devel-2.6.9-42.0.3.EL.x86_64.rpm
> 
> 
> Install manually with rpm.

The above (or possibly the i386 version) should suffice for building a
module.  If you really want the source you need
http://mirrors.kernel.org/centos/4.4/updates/SRPMS/kernel-2.6.9-42.0.3.EL.src.rpm

May want to see
http://wiki.centos.org/HowTos/BuildingKernelModules
http://wiki.centos.org/HowTos/Custom_Kernel
http://wiki.centos.org/I_need_the_Kernel_Source

Phil