LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't install kernel module on CentOS. "...likely that xx belongs to a chroot's host" (https://www.linuxquestions.org/questions/linux-software-2/cant-install-kernel-module-on-centos-likely-that-xx-belongs-to-a-chroots-host-946725/)

4Paul4 05-24-2012 08:45 PM

Can't install kernel module on CentOS. "...likely that xx belongs to a chroot's host"
 
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.

acid_kewpie 05-25-2012 01:51 PM

you can't run Xen on a virtual machine. stop trying to install a Xen kernel.

why is that an fc8 RPM too?

4Paul4 05-27-2012 11:34 PM

Quote:

Originally Posted by acid_kewpie (Post 4687608)
you can't run Xen on a virtual machine. stop trying to install a Xen kernel.

why is that an fc8 RPM too?

The software vendor and I are having trouble locating the appropriate kernel headers.
All the links appear to be dead or link to 2.6.21.7-5.fc8xen instead.

I don't understand the significance of it being an fc8 RPM.


All times are GMT -5. The time now is 05:46 PM.