Installing windows enterprise 1803 as Guest OS on 18.04 Service VM


AshKay
 

Hello Hongbo,
Was thinking if we can leave my coffelake setup for further debugging of GVT related issues. That said I also have access to following intel NUC of course different processor family than coffelake
https://ark.intel.com/content/www/us/en/ark/products/130393/intel-nuc-kit-nuc7i7dnhe.html
Can we setup following configuration on intel NUC (NUC7i7DNHE)
1. SOS (Ubuntu 18.04) + Windows (Win10 LTS)
2. GVT-d (GPU passthrough) to Guest Windows.

Let me know if you need further details for the Intel NUC that I have..


Thanks again for helping ..

 


AshKay
 

Thanks Geoffroy,
Am wondering if we have list of CPUs tested anywhere, My first steps was to setup SVM on Xeon platform, found that it was not tested/supported as well. I understand we have listed supported hardware on the page but wondering if it helps any to capture these non working cases somewhere..

Would be interesting to find the root cause of this Coffeelake setup. I have attached the dmesg output after I enabled drm.debug=0x06, nothing stands out, but am not a GVT expert either. I have also attached install_win.sh script that I slightly modified to map to correct keyboard and mouse events. Both mouse and keyboard seems to be frozen, after I execute install_win.sh script. may be that's another issue.. But just as a temporary work around I have used another set of keyboard and mouse so I can interact with service VM.

Regards..


Wang, Hongbo
 

Yes, it’s easier to support 2 VMs than 4. Your configuration is doable.

May I know your machine module, brand, CPU type?

 

 

Best regards.

Hongbo

Tel: +86-21-6116 7445

MP: +86-1364 1793 689

Mail: hongbo.wang@...

 

 

From: acrn-users@... <acrn-users@...> On Behalf Of AshKay via lists.projectacrn.org
Sent: 20201111 12:21
To: acrn-users@...
Subject: Re: [acrn-users] Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

 

Hello Hongbo,
Yes we would certainly be looking for Real-Time performance, am wondering if I can slightly modify and use following configuration:
1. SOS (Ubuntu 18.04) + Windows (Win10 LTS)
2. GVT-d (GPU passthrough) to Guest Windows.


Please advise..


Wang, Hongbo
 

Yes, it’s easier to support than 4 guest VM.

Your configuration is doable.

 

May I know your machine module, brand, CPU type?

 

 

Best regards.

Hongbo

Tel: +86-21-6116 7445

MP: +86-1364 1793 689

Mail: hongbo.wang@...

 

 

From: acrn-users@... <acrn-users@...> On Behalf Of AshKay via lists.projectacrn.org
Sent: 20201111 12:21
To: acrn-users@...
Subject: Re: [acrn-users] Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

 

Hello Hongbo,
Yes we would certainly be looking for Real-Time performance, am wondering if I can slightly modify and use following configuration:
1. SOS (Ubuntu 18.04) + Windows (Win10 LTS)
2. GVT-d (GPU passthrough) to Guest Windows.


Please advise..


AshKay
 

Hello Hongbo,
Yes we would certainly be looking for Real-Time performance, am wondering if I can slightly modify and use following configuration:
1. SOS (Ubuntu 18.04) + Windows (Win10 LTS)
2. GVT-d (GPU passthrough) to Guest Windows.


Please advise..


Wang, Hongbo
 

In our lab, we’re trying ACRN on a Coffee Lake-Refresh system, which has 8 CPU cores.
Our configuration setting is:
1. SOS (Yocto) + Windows (Win10 LTS) + Preempt Linux + Yocto Linux
2. GVT-d (GPU passthrough) to Guest Windows.
The reason to use GVT-d is that it can achieve better Real-time performance for RTVM (Preempt Linux), which is critical for industrial scenario.

Do you want to try GVT-d on Coffee Lake?


Best regards.
Hongbo
Tel: +86-21-6116 7445
MP: +86-1364 1793 689
Mail: mailto:hongbo.wang@...


From: acrn-users@... <acrn-users@...> On Behalf Of Geoffroy Van Cutsem
Sent: 2020年11月11日 7:16
To: acrn-users@...; Xie, Nanlin <nanlin.xie@...>
Subject: Re: [acrn-users] Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

Thanks AshKay! You’re running a Coffee Lake system, I don’t believe we validate those. mailto:Nanlin.Xie@..., can a GVT expert take a look a this?

It may be interesting to take enable more debugging options for the DRM subsystem, use drm.debug=0x6 as an additional kernel command-line parameter in the Service VM for this.

Thanks,
Geoffroy

From: mailto:acrn-users@... <mailto:acrn-users@...> On Behalf Of AshKay via lists.projectacrn.org
Sent: Monday, November 9, 2020 5:54 PM
To: mailto:acrn-users@...
Subject: Re: [acrn-users] Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

Hello Geoffroy,
Am using release 2.2 for ACRN loading Ubuntu 18.04 as SOS.

Following all the steps listed here with the only exception is that I am using different hardware.
https://projectacrn.github.io/latest/getting-started/rt_industry_ubuntu.html

I have attached my hardware specific board.xml file, CPUid.txt and 40_custom file indicating my boot parameters.
I have also uploaded output from lshw detailing hardware information for my platform.

Please let me know if any additional details are required.

I also do not have serial port so can't interact with ACRN hypervisor.

Thanks in advance for helping..


Geoffroy Van Cutsem
 

Thanks AshKay! You’re running a Coffee Lake system, I don’t believe we validate those. @Xie, Nanlin, can a GVT expert take a look a this?

 

It may be interesting to take enable more debugging options for the DRM subsystem, use drm.debug=0x6 as an additional kernel command-line parameter in the Service VM for this.

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of AshKay via lists.projectacrn.org
Sent: Monday, November 9, 2020 5:54 PM
To: acrn-users@...
Subject: Re: [acrn-users] Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

 

Hello Geoffroy,
Am using release 2.2 for ACRN loading Ubuntu 18.04 as SOS.

Following all the steps listed here with the only exception is that I am using different hardware.
https://projectacrn.github.io/latest/getting-started/rt_industry_ubuntu.html

I have attached my hardware specific board.xml file, CPUid.txt and 40_custom file indicating my boot parameters.
I have also uploaded output from lshw detailing hardware information for my platform.

Please let me know if any additional details are required.

I also do not have serial port so can't interact with ACRN hypervisor.

Thanks in advance for helping..


AshKay
 

Hello Geoffroy,
Am using release 2.2 for ACRN loading Ubuntu 18.04 as SOS.

Following all the steps listed here with the only exception is that I am using different hardware.
https://projectacrn.github.io/latest/getting-started/rt_industry_ubuntu.html

I have attached my hardware specific board.xml file, CPUid.txt and 40_custom file indicating my boot parameters.
I have also uploaded output from lshw detailing hardware information for my platform.

Please let me know if any additional details are required.

I also do not have serial port so can't interact with ACRN hypervisor.

Thanks in advance for helping..


Geoffroy Van Cutsem
 

Can you tell us more about your environment? E.g. HW, ACRN version, etc.?

Are you able to interact with the ACRN hypervisor through that serial port?


AshKay
 

Here are some kernel logs I was able to retrieve I do not see any errors.. I also don't know what's normal..

[ 1442.618120] smpboot: CPU 1 is now offline
[ 1443.628104] vhm: try to offline cpu 1 with lapicid 2
[ 1443.663881] smpboot: CPU 2 is now offline
[ 1444.670536] vhm: try to offline cpu 2 with lapicid 4
[ 1444.704379] smpboot: CPU 3 is now offline
[ 1445.711836] vhm: try to offline cpu 3 with lapicid 6
[ 1445.734663] smpboot: CPU 4 is now offline
[ 1446.751176] vhm: try to offline cpu 4 with lapicid 8
[ 1446.781149] smpboot: CPU 5 is now offline
[ 1447.793178] vhm: try to offline cpu 5 with lapicid 10
[ 1447.847289] vhm_dev_open: opening device node
[ 1447.847788] vhm-ioreq: init request buffer @ 00000000cbb633c3!
[ 1447.847792] vhm-ioreq: created ioreq client 1 for ioeventfd-1
[ 1447.854199] ACRN vhm ioeventfd init done!
[ 1447.854463] ACRN vhm irqfd init done!
[ 1447.854466] vhm: VM 1 created
[ 1448.094343] vhm-ioreq: created ioreq client 2 for ioreq gvt-g
[ 1448.095772] IPv6: ADDRCONF(NETDEV_CHANGE): tap0: link becomes ready
[ 1448.095803] acrn-br0: port 1(tap0) entered blocking state
[ 1448.095805] acrn-br0: port 1(tap0) entered forwarding state
[ 1448.163094] vhm-ioreq: created ioreq client 3 for acrndm
[ 1448.238023] [drm] prepare GOP fb: 8100KB for 1920X1080@32
[ 1448.243622] [drm] Set up display w:1920 h:1080 for GOP
[ 1448.243641] gvt: vgpu 1: pvinfo read gop: [78860:4] = df000000
[ 1448.243655] gvt: vgpu 1: pvinfo read gop: [78864:4] = 780
[ 1448.243667] gvt: vgpu 1: pvinfo read gop: [78868:4] = 438
[ 1448.243679] gvt: vgpu 1: pvinfo read gop: [7886c:4] = 780
[ 1448.243692] gvt: vgpu 1: pvinfo read gop: [78870:4] = 4
[ 1448.243703] gvt: vgpu 1: pvinfo read gop: [78874:4] = 7e9000


siming
 

hi Fengwei,
     I'm not clear about the setting of the monitor and display before install windows.  If I use the Ubuntu instead of Weston, how should I set the monitor?  thanks.
     



At 2020-11-05 11:01:45, "Yin, Fengwei" <fenwgei.yin@...> wrote: > > >On Thu, 5 Nov 2020 10:49:28 +0800 (CST) >"siming" <siming89@...> wrote: > >> hi sunp76, >> I don't know how to solve the probem about the tmp init fault. >> But if the windows is not installed , you can try to check the dmesg >> for more infomation. >> >> >> Bset regards. >> SIMING >> >> >> >> >> At 2020-11-05 06:43:29, "sunp76 via lists.projectacrn.org" >> <sunp76=yahoo.com@...> wrote: >> >> Thanks SIMING >> >> So I added following boot arguments >> i915.enable_gvt=1 i915.nuclear_pageflip=1 >> i915.avail_planes_per_pipe=0x010101 >> i915.domain_plane_owners=0x011100001111 i915.enable_guc=0 >> >> I do not get any GVT initialization failures but now am getting TPM >> initialization errors.. I have attached TPM_InitFailed and output >> from lshw for your reference. Wondering how can I debug this further.. > >TPM errors is only log there. > >Which platform are you using? For waag, we suggest to use gvt-d (gpu >passthru) instead of gvt-g. > >Regards >Yin, Fengwei > >> >> Thanks >> >> >> >> >>


siming
 

hi sunp76,
    I don't know how to solve the probem about the tmp init fault. But if the windows is not installed , you can try to check the dmesg for more infomation.

  Bset regards.
  SIMING


At 2020-11-05 06:43:29, "sunp76 via lists.projectacrn.org" <sunp76=yahoo.com@...> wrote:

Thanks SIMING

So I added following boot arguments
i915.enable_gvt=1 i915.nuclear_pageflip=1 i915.avail_planes_per_pipe=0x010101 i915.domain_plane_owners=0x011100001111 i915.enable_guc=0

I do not get any GVT initialization failures but now am getting TPM initialization errors..
I have attached TPM_InitFailed and output from lshw for your reference. Wondering how can I debug this further..

Thanks


AshKay
 

Thanks SIMING

So I added following boot arguments
i915.enable_gvt=1 i915.nuclear_pageflip=1 i915.avail_planes_per_pipe=0x010101 i915.domain_plane_owners=0x011100001111 i915.enable_guc=0

I do not get any GVT initialization failures but now am getting TPM initialization errors..
I have attached TPM_InitFailed and output from lshw for your reference. Wondering how can I debug this further..

Thanks


siming
 

hi sunp76,
    Try add i915.enable_gvt=1 in the boot arguments.

   Best regards.

   SIMING


At 2020-11-04 04:05:37, "sunp76 via lists.projectacrn.org" <sunp76=yahoo.com@...> wrote:

Hello,
On my custom platform I installed Ubunutu 18.04 as service VM following instructions located here ..
https://projectacrn.github.io/1.6.1/getting-started/rt_industry.html

After I boot in my service vm am trying to installing windows as a Guest OS on 18.04 Ubuntu service VM.

Followed instructions located here..
https://projectacrn.github.io/1.6.1/tutorials/using_windows_as_uos.html

I believe I configured shell script correctly as per instructions and now am getting GVT: init failed error. 
I have attached logs and install_win.sh script for the reference. 
Wondering if I need to boot with any special flags for service VMs or am I missing something very basic.

Thanks..


AshKay
 

Hello,
On my custom platform I installed Ubunutu 18.04 as service VM following instructions located here ..
https://projectacrn.github.io/1.6.1/getting-started/rt_industry.html

After I boot in my service vm am trying to installing windows as a Guest OS on 18.04 Ubuntu service VM.

Followed instructions located here..
https://projectacrn.github.io/1.6.1/tutorials/using_windows_as_uos.html

I believe I configured shell script correctly as per instructions and now am getting GVT: init failed error. 
I have attached logs and install_win.sh script for the reference. 
Wondering if I need to boot with any special flags for service VMs or am I missing something very basic.

Thanks..