[CentOS-virt] What kernel source and how to download it
mauro.list at yahoo.com
Thu Nov 26 12:44:52 UTC 2009
I am running CentOS 5.3 under xen on a VPS machine (so I have a limited control on the machine)
I am playing with openswan and KLIPS and I need to build the ipsec.ko kernel module.
I would need to download kernel source but I am really confused about what source I have to get.
uname -r tells:
ls /lib/modules tells:
2.6.18-128.7.1.el5xen 2.6.18-164.2.1.el5 2.6.18-164.6.1.el5 2.6.18-53.1.13.el5xen
I have no sources in /usr/src/kernels
Is there a source code named "2.6.18-128.7.1.el5xen" which I can download or should I install kernel-devel source using yum?
If I used yum I would download 22.214.171.124...
yum info kernel-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Name : kernel-devel
Arch : i686
Version : 2.6.18
Release : 164.6.1.el5
Size : 5.2 M
Repo : updates
Summary : Development package for building kernel modules to match the kernel.
URL : http://www.kernel.org/
License : GPLv2
Description: This package provides kernel headers and makefiles sufficient to build modules
: against the kernel package.
and kernel.org has only source code from 126.96.36.199 to 188.8.131.52
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS-virt