[CentOS] looking for kernel sources

Tue Mar 4 09:21:04 UTC 2008
Rudi Ahlers <Rudi at SoftDux.com>

Hi all

I'm looking for the linux source files for CentOS 5.1 2.6.18-53.el5. To 
install VirtualBox, I apparently need the kernel sources, and even after 
installing kernel-devel & kernel-headers via yum I still get an error 
saying I need the kernel-sources

[root at gimbli ~]# ll /usr/src/kernels/
total 4
drwxr-xr-x 18 root root 4096 Mar  4 10:57 2.6.18-53.1.13.el5-x86_64
lrwxrwxrwx  1 root root   43 Mar  4 10:57 linux -> 
/usr/src/kernels/2.6.18-53.1.13.el5-x86_64/
[root at gimbli ~]# ll /usr/src/kernels/linux/
total 716
drwxr-xr-x 26 root root   4096 Mar  4 10:57 arch
drwxr-xr-x  2 root root   4096 Mar  4 10:57 block
drwxr-xr-x  4 root root   4096 Mar  4 10:57 crypto
drwxr-xr-x 63 root root   4096 Mar  4 10:57 drivers
drwxr-xr-x 63 root root   4096 Mar  4 10:57 fs
drwxr-xr-x 20 root root   4096 Mar  4 10:57 include
drwxr-xr-x  2 root root   4096 Mar  4 10:57 init
drwxr-xr-x  2 root root   4096 Mar  4 10:57 ipc
-rw-r--r--  1 root root  56915 Feb 12 20:23 kabi_whitelist
drwxr-xr-x  5 root root   4096 Mar  4 10:57 kernel
drwxr-xr-x  5 root root   4096 Mar  4 10:57 lib
-rw-r--r--  1 root root  48120 Feb 12 20:24 Makefile
drwxr-xr-x  2 root root   4096 Mar  4 10:57 mm
-rw-r--r--  1 root root 167056 Feb 12 20:24 Module.kabi
-rw-r--r--  1 root root 328848 Feb 12 20:24 Module.symvers
drwxr-xr-x 40 root root   4096 Mar  4 10:57 net
drwxr-xr-x 10 root root   4096 Mar  4 10:57 scripts
drwxr-xr-x  4 root root   4096 Mar  4 10:57 security
drwxr-xr-x 18 root root   4096 Mar  4 10:57 sound
-rw-r--r--  1 root root  45633 Feb 12 20:24 
symsets-2.6.18-53.1.13.el5.tar.gz
drwxr-xr-x  2 root root   4096 Mar  4 10:57 usr

 From this list of files it seems like yum might have installed the 
wrong version? Do I simply run yum upgrade kernel, or how do I proceed?

-- 

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg