[CentOS] Where do I get Centos 5 Kernel sources for compiling drivers?

Peter Kjellstrom cap at nsc.liu.se
Thu Jun 28 08:54:53 UTC 2007


On Thursday 28 June 2007, Richard Chapman wrote:
> I have a problem with Centos 5 not detecting my realtek 8111b lan chip
> on a Gigabyte GA-945GM-S2 motherboard.
> I have found a reference to a new driver from realtek and/or redhat -
> which has instructions on building the driver.
> When I go to "make clean modules" I get errors - and it appears to be
> looking in /usr/src/kernels/... for source files which I don't seem to
> have in my centos 5 installation.
>
> Presumably I need to install some kernel source package. If so - where
> do I find it?

kernel-devel is the package you want (unless the module build thingy is really 
broken..).

/Peter

> Thanks.
>
> Richard.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070628/6e3d3ff6/attachment.sig>


More information about the CentOS mailing list