On 17/02/11 16:55, Kai Schaetzl wrote:
I installed kmod-coretemp-xen-1.1-8.el5.elrepo.x86_64 on a machine with
two L5320 CPUs. Unfortunately, it can't get inserted. It throws an error

kernel: coretemp: Unknown symbol rdmsr_safe_on_cpu


Hi Kai,

I looked into this a little further and confirmed the bug.

Unfortunately, later versions of kmod-coretemp are not compatible with xen kernels. In this instance it appears Red Hat have not backported certain interfaces into the xen kernel variants which coretemp uses (but have backported them to the regular (non-xen) kernel). In fact one can see this first hand as Red Hat backported the coretemp module into RHEL-5.5 (kernel-2.6.18-194.el5), but *only* for non-xen variants! I wasn't aware the differences between xen and non-xen kernel variants were so wide reaching.

With the absence of such interfaces it is becoming increasingly difficult to continue to backport certain drivers to the xen kernel platform, and as such we will probably just drop support for xen kernels where that happens.

To this end I have removed kmod-coretemp-xen-1.1-8.el5.elrepo from the repository (as it's clearly broken) and have confirmed that the latest version to support the xen kernel is kmod-coretemp-xen-1.1-6.el5.elrepo. If you uninstall your current version and reinstall, yum should now pull in kmod-coretemp-xen-1.1-6.el5.elrepo that does support xen kernels. If this version fails to support future CPU revisions then we might be able to backport support for that but it will likely mean maintaining a separate branch for xen kernels. As there is no native coretemp driver in the xen kernel it's probably worthwhile, but I'd also be tempted to file an RFE/patch upstream with Red Hat for native support in xen kernels.

I hope that helps.

_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to