Cannot launch hart RT UOS when running Ubuntu as SOS


Alfonso Sanchez-Beato
 

Hi,

I have set-up Ubuntu as service OS by following the instructions in https://projectacrn.github.io/latest/tutorials/using_ubuntu_as_sos.html. ACRN is recognized as hypervisor and all looks good in principle. However, after that I followed the instructions on how to start an RT UOS and things fail:

$ sudo /usr/share/acrn/samples/nuc/launch_hard_rt_vm.sh
cpu1 online=1
cpu2 online=1
cpu3 online=1
pm by vuart node-index = 1
SW_LOAD: get ovmf path /usr/share/acrn/bios/OVMF.fd, size 0x200000
vm_create: hard_rtvm
VHM api version 1.0
failed to create VM hard_rtvm

The kernel output is:

[ 1530.397790] smpboot: CPU 1 is now offline
[ 1530.398653] vhm: try to offline cpu 1 with lapicid 2
[ 1530.409744] smpboot: CPU 2 is now offline
[ 1530.410476] vhm: try to offline cpu 2 with lapicid 4
[ 1530.429694] smpboot: CPU 3 is now offline
[ 1530.430509] vhm: try to offline cpu 3 with lapicid 6
[ 1530.575078] nvme nvme0: failed to set APST feature (-19)
[ 1530.579387] pci-stub 0000:02:00.0: claimed by stub
[ 1530.661794] vhm_dev_open: opening device node
[ 1530.663654] vhm: failed to create VM from Hypervisor !
[ 1531.163905] vhm: failed to create VM from Hypervisor !
[ 1531.664126] vhm: failed to create VM from Hypervisor !
[ 1532.164360] vhm: failed to create VM from Hypervisor !
[ 1532.664589] vhm: failed to create VM from Hypervisor !
[ 1533.164775] vhm: failed to create VM from Hypervisor !
[ 1533.664987] vhm: failed to create VM from Hypervisor !
[ 1534.165215] vhm: failed to create VM from Hypervisor !
[ 1534.665435] vhm: failed to create VM from Hypervisor !
[ 1535.165656] vhm: failed to create VM from Hypervisor !
[ 1535.682037] vhm: freed vm
 
Any hint on what might be going wrong and instructions on how to debug? I followed previously the tutorial for Clear Linux and was able to launch the RT image. I am using a NUC7i7DNH device.

Thanks!
Alfonso

Join acrn-users@lists.projectacrn.org to automatically receive all group messages.