Article ID: 118174, created on Oct 24, 2013, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo
  • Virtuozzo containers for Linux 4.7
  • Virtuozzo hypervisor

Symptoms

  • It is impossible to start parallels-server service:

    [root@pcs ~]# /etc/init.d/parallels-server start
    Starting Parallels Cloud Server:                           [  OK  ]
    Load OOM groups                                            [  OK  ]
    Starting Parallels services
        Loading Parallels kernel modules:FATAL: Module prl_vtdhook not found.
    Cannot load module 'prl_vtdhook'
    
  • Node gets crashed shortly after parallels-server service is started, following error is logged in /var/log/messages:

    Loading Parallels kernel modules:[ 49.987469] /drv/ HypVtx.c:186 CPU is Intel
    [ 49.987542] /drv/ HypLowCache.c:199 Low cache initialized (0 kB for 0 VMs on 11835 MB)
    [ 49.987559] /drv/ HypApic.c:246 APIC host maping failed
    [ 49.987567] /drv/ HypModule.c:144 hypHostApicInit failed
    FATAL: Error inserting prl_vtdhook
    (/lib/modules/2.6.32-042stab092.2/extra/parallels/prl_vtdhook.ko): Operation not permitted
    Cannot load module 'prl_vtdhook'
    Module 'prl_vtdhook' has not been loaded
    [ 50.009639] /drv/ HypVtx.c:186 CPU is Intel
    [ 50.009727] /drv/ HypLowCache.c:199 Low cache initialized (0 kB for 0 VMs on 11835 MB)
    [ 50.009753] /drv/ HypApic.c:246 APIC host maping failed
    [ 50.009766] /drv/ HypModule.c:144 hypHostApicInit failed
    FATAL: Error inserting prl_netbridge
    (/lib/modules/2.6.32-042stab092.2/extra/parallels/prl_netbridge.ko): Operation not permitted
    Cannot load module 'prl_netbridge'
    Module 'prl_netbridge' has not been loaded
    [ 50.038195] /drv/ HypVtx.c:186 CPU is Intel
    [ 50.039784] /drv/ HypLowCache.c:199 Low cache initialized (0 kB for 0 VMs on 11835 MB)
    [ 50.039822] /drv/ HypApic.c:246 APIC host maping failed
    [ 50.039834] /drv/ HypModule.c:144 hypHostApicInit failed
    FATAL: Error inserting prl_hypervisor
    (/lib/modules/2.6.32-042stab092.2/extra/parallels/prl_hypervisor.ko): Operation not permitted
    Cannot load module 'prl_hypervisor'
    Module 'prl_hypervisor' has not been loaded
    

Cause

  1. Updates were installed, but the server was not rebooted yet.
  2. Node has been rebooted into an older kernel, while there's a newer kernel installed.
  3. vzkernel package was updated without updating parallels-kernel-modules and vzmodules package.

Resolution

  1. Verify that GRUB is configured to boot into the most recent kernel:

    [root@pcs ~]# egrep 'default|vmlinuz' /boot/grub/grub.conf
    default=0
            kernel /boot/vmlinuz-2.6.32-042stab081.5 ro root=UUID=02e46b24-0a8e-4d0c-9547-4027bc624592 rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 psbm rd_NO_MD pram_low=128M crashkernel=auto rd_NO_PLYMOUTH SYSFONT=latarcyrheb-sun16 rd_NO_LVM rd_NO_DM rhgb quiet
            kernel /boot/vmlinuz-2.6.32-042stab079.6 ro root=UUID=02e46b24-0a8e-4d0c-9547-4027bc624592 rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 psbm rd_NO_MD pram_low=128M crashkernel=auto rd_NO_PLYMOUTH SYSFONT=latarcyrheb-sun16 rd_NO_LVM rd_NO_DM rhgb quiet
            kernel /boot/vmlinuz-2.6.32-042stab076.5 ro root=UUID=02e46b24-0a8e-4d0c-9547-4027bc624592 rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 psbm rd_NO_MD pram_low=128M crashkernel=auto rd_NO_PLYMOUTH SYSFONT=latarcyrheb-sun16 rd_NO_LVM rd_NO_DM rhgb quiet
    

    In the example above default kernel is 2.6.32-042stab081.5 (count starts from 0, first kernel record is 0, second kernel record is 1, and so on...).

  2. Restart the hardware node after applying necessary changes to the GRUB configuration.

  3. In addition, make sure that all Parallels Cloud Server updates have been installed, follow these instructions in order to achieve that.

Search Words

prl_hypervisor

Module prl_vtdhook not found

all vms down

parallels-server

Cannot load module 'prl_vtdhook'

reboot

pcs services can't start

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f 0c05f0c76fec3dd785e9feafce1099a9

Email subscription for changes to this article
Save as PDF