Intel NUC APL gets powered off when launching uos with gpu passthrough


shibi590268@...
 

Hello,
        The intel nuc apollo lake board NUC6CAYH gets powered off when launching the ubuntu uos script with gpu passthrough. I want to assign a display to the user vm which is ubuntu. This board has two display ports 1. VGA and 2. HDMI. User vm runs successfully when the gpu passthrough is removed. is it possible to assign a display to a pre-launched ubuntu-RT vm.

ACRN version: 2.6
Kernel Version: 2.6
SOS: Ubuntu 18.04


shibi590268@...
 

Could someone please help me get through this


Geoffroy Van Cutsem
 

Can you share more details about your set-up? More specifically:

- Hardware platform (inc. lspci output)

- ACRN version

- Launch script

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of shibi590268@...
Sent: Monday, January 10, 2022 2:30 pm
To: acrn-users@...
Subject: Re: [acrn-users] Intel NUC APL gets powered off when launching uos with gpu passthrough

 

Could someone please help me get through this


shibi590268@...
 
Edited


Hello Geoffroy,
   Please find the details
Intel NUC apollo lake: NUC6CAYH
ACRN Version 2.6
ACRN kernel: 2.6
Launch Script: Already attached



Geoffroy Van Cutsem
 

Could you be hitting something similar as this: https://github.com/projectacrn/acrn-hypervisor/issues/5811

 

Can you try to boot with with “uart=disabled” and see what happens? Add this to your /etc/grub.d/40_custom file:

multiboot2 /boot/acrn/acrn.bin  uart=disabled root=PARTUUID="PARTUUID"

 

Then run “sudo update-grub” and reboot.

 

Geoffroy

 

 

From: acrn-users@... <acrn-users@...> On Behalf Of shibi590268@...
Sent: Thursday, January 27, 2022 6:13 am
To: acrn-users@...
Subject: Re: [acrn-users] Intel NUC APL gets powered off when launching uos with gpu passthrough

 

[Edited Message Follows]


Hello Geoffroy,
   Please find the details

Intel NUC apollo lake: NUC6CAYH
ACRN Version 2.6
ACRN kernel: 2.6
Launch Script: Already attached


shibi590268@...
 

Thanks Geoffroy,
       This fix worked for the first time. Display was assigned to the user vm. But if i shutdown the VM and start again, device gets hanged and becomes unresponsive. This happens even if i hard reboot the device. 


Geoffroy Van Cutsem
 

Does that mean this system is completely unusable now?

Have you tried physically pulling the power cable from the device and waiting at least a few seconds before plugging it back in?

I'm not sure how to go about resolving this one to be honest with you, Apollo Lake is not a platform that we focus on anymore, we are not testing it at all at this point. A few pointers still, based on inspection of the launch script you attached in the first email:
- You can remove the "   --pm_notify_channel ioc \" line, you don't have the ioc device on the NUC
- I'm curious about this virtio-blk that is mapped to /mnt, what's the purpose of this?

Thanks,
Geoffroy


shibi590268@...
 
Edited

Geoffroy,
             I have attached the service VM kernel debug messages when launching the user vm with GPU passthrough. There is a kernel panic occurring and then the device reboots. I hope this will help identify the root cause. Please check the logs and reply.