WARNING: No Module Xenblk Found For Kernel

Home » CentOS » WARNING: No Module Xenblk Found For Kernel
CentOS 9 Comments

ran routine updates on the lernel this morning and got this:

WARNING: No module xenblk found for kernel 2.6.18-400.1.1.el5,
continuing anyway

The only references I can find are a year or so old. Anyone able to
comment? or refer me? Have not rebooted.

uname -a Linux bulkley.bvserver.ca 2.6.18-400.el5xen #1 SMP Thu Dec 4 13:29:23
EST 2014 x86_64 x86_64 x86_64 GNU/Linux

Thanks,

Dave

9 thoughts on - WARNING: No Module Xenblk Found For Kernel

  • i’m not sure that i can help you, i have currently no CentOS5 vm on xen.

    But i guess the warning is from the normal, not xen enabled kernel.

    Does /boot/vmlinuz-2.6.18-400.1.1.el5xen exists?

    And is kernel-xen installed and the default kernel in the grub- config?

    regards Ulf

  • You’ve installed kernel instead of kernel-xen. In CentOS 5 you must install kernel-xen for Xen dom0 or pv domu support.

    This is kernel-xen, note the “el5xen” in the name as opposed to “el5” in the one you installed above.

    Peter

  • You never mentioned if this is for a dom0 or domu, if it’s a domu is it a pv or hvm domain and does it use pvgrub, pygrub or does it boot directly to a kernel on the dom0?

    Also paste the output of this command from the affected domain:
    rpm -q kernel kernel-xen

    Peter

  • It is as I suspected, you’ve been installing both kernel and kernel-sen the entire time.

    paste the contents of /etc/grub.conf and then I can give you a proper answer about what to do.

    Peter

  • Check your /etc/modprobe.conf and see if you have a line that specifies xenblk, such as ‘alias scsi_hostadapter xenblk’.

    I converted a xen vm to kvm and got that error for the above reason.

    Bill

  • Yes, that is what causes the error message, but removing the lines is not the solution here. Those are required for Xen pv domains as well as HVM domains that run the pv drivers.

    Yes you would remove those when converting to a KVM vm but please do not remove them if you are running a Xen vm.

    Peter

  • Quoting Ulf Volmer :

    yes, exists and first option in grub.conf

    is the error likely to affect my storage on reboot?

    Dave

  • If you boot the xen- kernel, you storage is not affected.

    And after the reboot you can remove the standart kernel.

    regards Ulf