Problem with kernel sources
When compiling software I get the following notice :
Quote:
Yum says : Quote:
Code:
-bash-3.2# ls /usr/src/kernels/ Quote:
How can I get the right sources ?? RPMforge repo ?? |
Your mixing up the kernel version. The one that the software ones has a "domU" inside its name. The source you have installed does not.
Take a close look at the uname -a output of yours and you'll see Code:
uname -a | awk '{print $3}' |
Quote:
My question : Where do I get the right sources ?? |
Quote:
Obviously not a CentOS kernel .... .. and Googling .. 2.6.31.5xls-domU .. Or .. linux-2.6.31.5xls-domU .. .. kernel-2.6.31.5xls-domU .. provides zero hits ! ..... |
You can do either of these:
|
Quote:
I have contacted my hosting company and asked for another kernel to run or to install the sources of the current running kernel version. |
This is the file /boot/grub/menu.lst :
Quote:
Code:
-bash-3.2# ls Code:
-bash-3.2# uname -a |
How do you explain this :
Code:
You do not appear to have the sources for the 2.6.18-164.11.1.el5xen kernel installed. Code:
Package kernel-devel-2.6.18-164.11.1.el5.x86_64 already installed and latest version |
Quote:
Quote:
Quote:
|
dunno if you know but a Xen domU does not need to have the kernel inside it's own realm. It only is needed for the dom0 to start it up..
I doubt in this case that you could easily create your own kernel and start it up. Like TBone sad get the hosting company to provide you the source. Or check out your yum repository. (also i dunno how to query yum for available packages) |
Quote:
Got my custom kernel now. Got the right sources by doing "yum install kernel-xen-devel". All works ok. Thanks for the reply. |
All times are GMT -5. The time now is 11:51 AM. |