Wednesday, December 9, 2009

A problem when insalling Xen kernel devel package on CentOS5

Problem: I want to compile kernel modules on Dom0 of xen. So I installed xen development package using following command:
yum install kernel-xen-devel
However, after that, I still cannot compile the module. It turns out that the version of kernel-xen-devel is the newest (2.6.18-164.6.1) one while my kernel is the old one (2.6.18-128). It seems that the yum just insalled the newest package regardless of my current kernel.

Solution: install the new xen kernel (or update, but it takes a lot of space)

yum update kernel-xen

No comments: