how to match kernel src with running kernel

Axel Thimm Axel.Thimm at ATrpms.net
Fri Oct 15 14:54:28 UTC 2004


On Thu, Oct 14, 2004 at 07:28:39PM -0700, V Krish wrote:
> How do I ensure that the kernel source has exactly the same config/header files as the running kernel? This is required by a module I am trying to build and load.
>  
> yum install kernel-sourcecode gives "2.6.8-1.521"
> yum update kernel also gives "2.6.8-1.521"
> Does that mean the former corresponds to the exact code that was used to build the latter?

No, the ocnfig files have been munged. Get them from the src.rpm ...

> The 'gm' module documentation indicates that FC2 may have a mismatch between the running kernel and the source kernel tree(in terms of config file, include directories etc.)
>  
> Thank you,
> Krish
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041015/debcfaa2/attachment-0001.sig>


More information about the fedora-list mailing list