LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-24-2012, 09:45 PM   #1
4Paul4
Member
 
Registered: Jul 2011
Posts: 51

Rep: Reputation: Disabled
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.
 
Old 05-25-2012, 02:51 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

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

why is that an fc8 RPM too?
 
Old 05-28-2012, 12:34 AM   #3
4Paul4
Member
 
Registered: Jul 2011
Posts: 51

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Difference between centos and slackware" and "also how to install scratch on centos" vijayendra.uppalapati Slackware 4 07-13-2012 12:10 AM
"Difference between centos and slackware" and "also how to install scratch on centos" vijayendra.uppalapati Slackware 2 01-23-2011 04:14 AM
After installing XAMPP for linux i have seen the folder "htdocs" belongs to "nobody". tirengarfio Linux - General 6 03-17-2010 02:41 PM
What is the error "invalid module format" and "insert kernel module"? shayori Linux - Newbie 8 02-25-2010 04:48 AM
Install ati-drivers fails with "Failed to compile kernel module" erpe Debian 2 06-13-2006 06:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration