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

Akemi Yagi amyagi at gmail.com
Fri Jun 29 01:58:31 UTC 2007


On 6/28/07, Richard Chapman <rchapman at aardvark.com.au> wrote:
>
>  Thanks Peter and Akemi.
>
>  All working. Amazing really. I now have my Centos 5 on the Internet.
>  I wonder whether it is worth re-installing Cebtos 5 and trying to get my
> new driver (.ko file presumably) to load off a USB drive at install time. Do
> you think this would be straight forward. Is there anything to gain?
>
>  Richard.

No need to re-install the OS.  Copy your new .ko file to:

/lib/modules/<kernel-version>/updates/

Then run:

depmod -a

Akemi



More information about the CentOS mailing list