I'm having trouble installing a kernel module on CentOS 5.4 in Amazon's EC2.
I have tried adding the vendor's repository and installing through yum and also installing directly from the .rpm file.
Yum output:
Code:
Total download size: 83 k
Is this ok [y/N]: y
Downloading Packages:
thepackage-x.x.x_rhel5-3.noarch.rpm | 83 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : thepackage 1/1
Loading new thepackage-x.x.x_rhel5 DKMS files...
First Installation: checking all kernels...
It is likely that 2.6.21.7-2.fc8xen belongs to a chroot's host
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Installed:
thepackage.noarch 0:x.x.x_rhel5-3
Complete!
I have installed the kernel headers from here:
Code:
ftp://ftp.pbone.net/mirror/dl.central.org/dl/linuxdev/fedora8/x86_64/kernel-xen-devel-2.6.21.7-2.fc8.x86_64.rpm
Is there any way I can force the module to build?
And what does this mean:
It is likely that 2.6.21.7-2.fc8xen belongs to a chroot's host
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed. ?
Useful info:
Code:
[root@ip-10-0-1-4 ~]# uname -a
Linux ip-10-0-1-4 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
Thanks.