Re: [WHL] launch two UOSs in the same time


Geoffroy Van Cutsem
 

Thanks for trying these out and confirming the results. Do you have any more info from the ACRN hypervisor over the serial port?

 

As per my other email, I’m suspecting something wrong with the UUID being used in the background by the devicemodel, it would be interesting to try specify it in the launch script to see if it makes any difference.

 

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 4:29 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi Geoffory,

 

Do you have more logs to share when the second VM fails to start (acrn-dm console & serial port output)? Is that happening no matter which order you try to load them?

  • The output is attached. But it did not say anything.

 

A couple of remarks/questions:

* Your industry.xml file only ever assigns pCPU 0 and 1 to all User VMs, but your console_launch_uos3_4.sh tries to use pCPUs 2 and 3

 

àI fixed this problem by changing the industry.xml, thank you for pointing out. But the problem is still remained.

 

* Is gpu_launch_uos4.sh supposed to launch a Windows User VM? I see the ‘--windows’ parameter in it but it seems to want to use GVTg and picks up an image from a folder called “ubuntu_images”. The  “--windows” parameter makes acrn-dm use the Oracle Virtio block device.

 

à I remove the ---windows, but it also does not help. I can launch the gvt-g properly, if I launch the gpu_launch_uos3.sh.

 

 

 

Thanks,

Geoffroy

 

 

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Donnerstag, 2. September 2021 16:21
An: acrn-users@...
Betreff: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi Jianjie Lin,

 

Do you have more logs to share when the second VM fails to start (acrn-dm console & serial port output)? Is that happening no matter which order you try to load them?

 

A couple of remarks/questions:

* Your industry.xml file only ever assigns pCPU 0 and 1 to all User VMs, but your console_launch_uos3_4.sh tries to use pCPUs 2 and 3

* Is gpu_launch_uos4.sh supposed to launch a Windows User VM? I see the ‘--windows’ parameter in it but it seems to want to use GVTg and picks up an image from a folder called “ubuntu_images”. The  “--windows” parameter makes acrn-dm use the Oracle Virtio block device.

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 2:40 pm
To: acrn-users@...
Subject: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi ACRN Community,

 

We faced the problem of launching two UOSs at the same time. We deployed the whiskey lake board: whl-IPC-i7.xml, and we customize the scenario file with 4 Post-STD VM.

 

We can successfully launch one VM, but we can not create the second VM in the acrn kernel.

 

I attached the two launch file

gpu_launch_uos3.sh

console_launch_uos3_4.sh

 

Besides, I attach my board file and scenario file if it can help to find out the issue.

 

I add the following the command line in the file in the /etc/grub.d/40.cutsom for Gvt-g

“i915.nuclear_pageflip=1 i915.avail_planes_per_pipe=0x010101 i915.domain_plane_owners=0x011100001111 i915.enable_gvt=1 i915.enable_guc=0 i915.enable_conformance_check=0”

 

For each launch file, we can launch the VM without any problem. But If I launch them at the same time, only the first one is successful, the another one is failed to created.

 

I go through the issue from GitHub. However, no direct solution is founded based on those comments.

Do you have any idea how I can forward further?

 

Thank you very much firstly for your support.

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814

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