Date   

Re: How to edit the launch script to launch the second VM?

siming
 

hi,
1.where can I get the  config-tool ?
2.I haved add the "-U xxxx" in the script, but it cannot creat the VM anymore. When I remove the "-U xxx", it can creat one VM.
I'm use the clr-linux as the uos by the way. my script is changed from launch_uos.sh.


在 2020-08-03 07:06:55,"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Hi

There are two options:

  1. Using config-tool to generate launch script
  2. refer the sample launch script to add UUID for the second VM:

https://github.com/projectacrn/acrn-hypervisor/blob/release_2.0/devicemodel/samples/nuc/launch_hard_rt_vm.sh#L51

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Saturday, August 1, 2020 5:23 PM
To: acrn-users@...
Subject: [acrn-users] How to edit the launch script to launch the second VM?

 

hi,

    I launch a uos by the script, and changed the vm_name and offline_cpu to launch another VM.

    It's shown the errors like this:

vhm: failed to create VM from Hypervisor!

vhm: failed to create VM from Hypervisor!

faild to create VM vm2

  How should I edit the script to launch another one?

 

Thanks and sorry for the last email.

 

 


Re: GPT ERROR when write preempt img to sata on NUC7i5BNB

siming
 

I have boot from sata by choose sata in the boot menu:
UEFI:SATA PORT 0 : OS Bootloader
the systen works well, system info :
root@clr-preempt-rt~#: uname -a
Linux clr-preempt-rt 4.19.94-20.iot-lts2018-preempt-rt #1 SMP PREEMPT RT Thu Jan 23 15:05:47 PST 2020 x86_64 GNU/Linux




在 2020-08-03 07:10:44,"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Hi

Could you please double check if it can native boot from sda?

  1. set boot order to Built-in shell;
  2. type fs0: ENTER
  3. cd EFI/BOOT ENTER
  4. run BOOTX64.EFI

BR.

Fuzhong

 

 

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Saturday, August 1, 2020 9:50 AM
To: acrn-users@...
Subject: Re: [acrn-users] GPT ERROR when write preempt img to sata on NUC7i5BNB

 

thanks for the direction, the dd commond works fine in the native boot, but the launch rt vm still failed (in acrn boot).

I tried two way to launch the vm, the difference is "-s 2 " of the acrn-dm.

# diff launch_hard_rt_vm1.sh launch_hard_rt_vm2.sh 

<    -s 2,passthru,00/17/0 \

---

>    -s 2,virtio-blk,/dev/sda \

 

launch_hard_rt_vm1.sh error log:

modify_bar_registration: bypass for pci-passthru 0:2.0

[   41.557774] Unknown IOCTL 0x43000055

pci passthru init failed

mngr_client_new: Failed to accept from fd 35, err: Invalid argument

Stop listening 35...

Stop polling 35...

Unable to init vdev (22)

 

launch_hard_rt_vm2.sh error log:

polling 35...

pci init hostbridge

pci init virtio-blk

acrn-dm: Could not open backing file: /dev/sdaListening 35...

: No such file or directory

Could not open backing filepci virtio-blk init failed

mngr_client_new: Failed to accept from fd 35, err: Invalid argument

Stop listening 35...

 

my sata info:

$ lsblk

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT

sda           8:0    0 111.8G  0 disk 

├─sda1        8:1    0   510M  0 part 

├─sda2        8:2    0    33M  0 part 

└─sda3        8:3    0     8G  0 part 

nvme0n1     259:0    0 238.5G  0 disk 

├─nvme0n1p1 259:1    0   142M  0 part 

├─nvme0n1p2 259:2    0   244M  0 part [SWAP]

└─nvme0n1p3 259:3    0 238.1G  0 part /

$ lspci -nn | grep SATA

00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)

 

The attachment is the error logs and the launch script. 

 

Best Regards

 

2020-07-31 15:47:15"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Please set boot order to Built-in shell;

then type fs1: ENTER

cd EFI/BOOT ENTER

run BOOTX64.EFI

It will boot from native.

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Friday, July 31, 2020 2:10 PM
To: acrn-users@...
Subject: Re: [acrn-users] GPT ERROR when write preempt img to sata on NUC7i5BNB

 

thanks for the responds.I did the dd comond in the acrn boot. 

After I install the service VM with./acrn_quick_setup.sh ,I cannot boot into Clear-linux-native-5.5.11-922. The HDMI is nothing out when I choose this.

    Clear Linux OS(acrn)

    Clear Linux OS(Clear-linux-iot-lts2018-sos-4.19.97-104)

    Clear Linux OS(Clear-linux-native-5.5.11-922)

Did I miss something in the set up of the service vm?

thanks

 

2020-07-31 12:58:21"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Hi

The dd issue is for acrn boot or native boot?

Please  boot into native and try it again.

Thanks!

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Friday, July 31, 2020 11:34 AM
To: acrn-users@...
Subject: [acrn-users] GPT ERROR when write preempt img to sata on NUC7i5BNB

 

Hi,

    My board is NUC7i5BNB, with two disks: an NVMe disk for the Clear Linux-based Service VM and a SATA disk for the RTVM.Accoring to https://projectacrn.github.io/1.6/getting-started/rt_industry.html#install-and-launch-the-preempt-rt-vmwhen I write preempt img to sata, there is always have gpt errors. I have chaged another sata disk, but it's the same error.

root@nuc-acrn /home/acrn # dd if=./preempt-rt-32680.img of=/dev/sda bs=4M oflag=sync status=progress iflag=fullblock seek=0 conv=notrunc
9122611200 bytes (9.1 GB, 8.5 GiB) copied, 124 s, 73.5 MB/s
2186+1 records in
2186+1 records out 
9169755648 bytes (9.2 GB, 8.5 GiB) copied, 126.281 s, 72.6 MB/s
[  171.967643] GPT:Primary header thinks Alt. header is not at the end of the disk.
[  171.967982] GPT:17909678 != 234441647
[  171.968146] GPT:Alternate GPT header not at the end of the disk.
[  171.968406] GPT:17909678 != 234441647
[  171.968616] GPT: Use GNU Parted to correct GPT errors.
[  171.968864]  sda: sda1 sda2 sda3

then I run the launch_hard_rt_vm.sh, it cannot create VM from Hypervisor.

root@nuc-acrn /home/acrn # ./launch_hard_rt_vm.sh
cpu1 online=1 
[ 1525.901370] smpboot: CPU 1 is now offline
[ 1525.902204] vhm: try to offline cpu 1 with lapicid 2
cpu2 online=1 
[ 1525.916019] smpboot: CPU 2 is now offline
[ 1525.917264] vhm: try to offline cpu 2 with lapicid 1
cpu3 online=1 
[ 1525.929538] smpboot: CPU 3 is now offline
[ 1525.930969] vhm: try to offline cpu 3 with lapicid 3
[ 1525.935378] ata1.00: disabled
[ 1525.938524] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1525.939206] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.941643] sd 0:0:0:0: [sda] Stopping disk
[ 1525.941888] sd 0:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.956762] pci-stub 0000:00:17.0: claimed by stub
pm by vuart node-index = 1 
SW_LOAD: get ovmf path /usr/share/acrn/bios/OVMF.fd, size 0x200000 
vm_create: hard_rtvm 
[ 1525.981345] vhm_dev_open: opening device node
VHM api version 1.0 
[ 1525.982333] vhm: failed to create VM from Hypervisor !
[ 1526.483047] vhm: failed to create VM from Hypervisor !
[ 1526.983377] vhm: failed to create VM from Hypervisor !
[ 1527.483702] vhm: failed to create VM from Hypervisor !
[ 1527.984028] vhm: failed to create VM from Hypervisor !
[ 1528.484363] vhm: failed to create VM from Hypervisor !
[ 1528.984686] vhm: failed to create VM from Hypervisor !
[ 1529.485021] vhm: failed to create VM from Hypervisor !
[ 1529.985346] vhm: failed to create VM from Hypervisor !
[ 1530.485672] vhm: failed to create VM from Hypervisor !
failed to create VM hard_rtvm 
vm_create failed
[ 1530.994415] vhm: freed vm

Thanks!

ZS

 

 

 

 

 

 



 


Re: GPT ERROR when write preempt img to sata on NUC7i5BNB

Liu, Fuzhong
 

Hi

Could you please double check if it can native boot from sda?

  1. set boot order to Built-in shell;
  2. type fs0: ENTER
  3. cd EFI/BOOT ENTER
  4. run BOOTX64.EFI

BR.

Fuzhong

 

 

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Saturday, August 1, 2020 9:50 AM
To: acrn-users@...
Subject: Re: [acrn-users] GPT ERROR when write preempt img to sata on NUC7i5BNB

 

thanks for the direction, the dd commond works fine in the native boot, but the launch rt vm still failed (in acrn boot).

I tried two way to launch the vm, the difference is "-s 2 " of the acrn-dm.

# diff launch_hard_rt_vm1.sh launch_hard_rt_vm2.sh 

<    -s 2,passthru,00/17/0 \

---

>    -s 2,virtio-blk,/dev/sda \

 

launch_hard_rt_vm1.sh error log:

modify_bar_registration: bypass for pci-passthru 0:2.0

[   41.557774] Unknown IOCTL 0x43000055

pci passthru init failed

mngr_client_new: Failed to accept from fd 35, err: Invalid argument

Stop listening 35...

Stop polling 35...

Unable to init vdev (22)

 

launch_hard_rt_vm2.sh error log:

polling 35...

pci init hostbridge

pci init virtio-blk

acrn-dm: Could not open backing file: /dev/sdaListening 35...

: No such file or directory

Could not open backing filepci virtio-blk init failed

mngr_client_new: Failed to accept from fd 35, err: Invalid argument

Stop listening 35...

 

my sata info:

$ lsblk

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT

sda           8:0    0 111.8G  0 disk 

├─sda1        8:1    0   510M  0 part 

├─sda2        8:2    0    33M  0 part 

└─sda3        8:3    0     8G  0 part 

nvme0n1     259:0    0 238.5G  0 disk 

├─nvme0n1p1 259:1    0   142M  0 part 

├─nvme0n1p2 259:2    0   244M  0 part [SWAP]

└─nvme0n1p3 259:3    0 238.1G  0 part /

$ lspci -nn | grep SATA

00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)

 

The attachment is the error logs and the launch script. 

 

Best Regards

 

2020-07-31 15:47:15"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Please set boot order to Built-in shell;

then type fs1: ENTER

cd EFI/BOOT ENTER

run BOOTX64.EFI

It will boot from native.

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Friday, July 31, 2020 2:10 PM
To: acrn-users@...
Subject: Re: [acrn-users] GPT ERROR when write preempt img to sata on NUC7i5BNB

 

thanks for the responds.I did the dd comond in the acrn boot. 

After I install the service VM with./acrn_quick_setup.sh ,I cannot boot into Clear-linux-native-5.5.11-922. The HDMI is nothing out when I choose this.

    Clear Linux OS(acrn)

    Clear Linux OS(Clear-linux-iot-lts2018-sos-4.19.97-104)

    Clear Linux OS(Clear-linux-native-5.5.11-922)

Did I miss something in the set up of the service vm?

thanks

 

2020-07-31 12:58:21"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Hi

The dd issue is for acrn boot or native boot?

Please  boot into native and try it again.

Thanks!

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Friday, July 31, 2020 11:34 AM
To: acrn-users@...
Subject: [acrn-users] GPT ERROR when write preempt img to sata on NUC7i5BNB

 

Hi,

    My board is NUC7i5BNB, with two disks: an NVMe disk for the Clear Linux-based Service VM and a SATA disk for the RTVM.Accoring to https://projectacrn.github.io/1.6/getting-started/rt_industry.html#install-and-launch-the-preempt-rt-vmwhen I write preempt img to sata, there is always have gpt errors. I have chaged another sata disk, but it's the same error.

root@nuc-acrn /home/acrn # dd if=./preempt-rt-32680.img of=/dev/sda bs=4M oflag=sync status=progress iflag=fullblock seek=0 conv=notrunc
9122611200 bytes (9.1 GB, 8.5 GiB) copied, 124 s, 73.5 MB/s
2186+1 records in
2186+1 records out 
9169755648 bytes (9.2 GB, 8.5 GiB) copied, 126.281 s, 72.6 MB/s
[  171.967643] GPT:Primary header thinks Alt. header is not at the end of the disk.
[  171.967982] GPT:17909678 != 234441647
[  171.968146] GPT:Alternate GPT header not at the end of the disk.
[  171.968406] GPT:17909678 != 234441647
[  171.968616] GPT: Use GNU Parted to correct GPT errors.
[  171.968864]  sda: sda1 sda2 sda3

then I run the launch_hard_rt_vm.sh, it cannot create VM from Hypervisor.

root@nuc-acrn /home/acrn # ./launch_hard_rt_vm.sh
cpu1 online=1 
[ 1525.901370] smpboot: CPU 1 is now offline
[ 1525.902204] vhm: try to offline cpu 1 with lapicid 2
cpu2 online=1 
[ 1525.916019] smpboot: CPU 2 is now offline
[ 1525.917264] vhm: try to offline cpu 2 with lapicid 1
cpu3 online=1 
[ 1525.929538] smpboot: CPU 3 is now offline
[ 1525.930969] vhm: try to offline cpu 3 with lapicid 3
[ 1525.935378] ata1.00: disabled
[ 1525.938524] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1525.939206] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.941643] sd 0:0:0:0: [sda] Stopping disk
[ 1525.941888] sd 0:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.956762] pci-stub 0000:00:17.0: claimed by stub
pm by vuart node-index = 1 
SW_LOAD: get ovmf path /usr/share/acrn/bios/OVMF.fd, size 0x200000 
vm_create: hard_rtvm 
[ 1525.981345] vhm_dev_open: opening device node
VHM api version 1.0 
[ 1525.982333] vhm: failed to create VM from Hypervisor !
[ 1526.483047] vhm: failed to create VM from Hypervisor !
[ 1526.983377] vhm: failed to create VM from Hypervisor !
[ 1527.483702] vhm: failed to create VM from Hypervisor !
[ 1527.984028] vhm: failed to create VM from Hypervisor !
[ 1528.484363] vhm: failed to create VM from Hypervisor !
[ 1528.984686] vhm: failed to create VM from Hypervisor !
[ 1529.485021] vhm: failed to create VM from Hypervisor !
[ 1529.985346] vhm: failed to create VM from Hypervisor !
[ 1530.485672] vhm: failed to create VM from Hypervisor !
failed to create VM hard_rtvm 
vm_create failed
[ 1530.994415] vhm: freed vm

Thanks!

ZS

 

 

 

 

 

 


Re: How to edit the launch script to launch the second VM?

Liu, Fuzhong
 

Hi

There are two options:

  1. Using config-tool to generate launch script
  2. refer the sample launch script to add UUID for the second VM:

https://github.com/projectacrn/acrn-hypervisor/blob/release_2.0/devicemodel/samples/nuc/launch_hard_rt_vm.sh#L51

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Saturday, August 1, 2020 5:23 PM
To: acrn-users@...
Subject: [acrn-users] How to edit the launch script to launch the second VM?

 

hi,

    I launch a uos by the script, and changed the vm_name and offline_cpu to launch another VM.

    It's shown the errors like this:

vhm: failed to create VM from Hypervisor!

vhm: failed to create VM from Hypervisor!

faild to create VM vm2

  How should I edit the script to launch another one?

 

Thanks and sorry for the last email.

 

 


How to edit the launch script to launch the second VM?

siming
 

hi,
    I launch a uos by the script, and changed the vm_name and offline_cpu to launch another VM.
    It's shown the errors like this:
vhm: failed to create VM from Hypervisor!
vhm: failed to create VM from Hypervisor!
faild to create VM vm2
  How should I edit the script to launch another one?

Thanks and sorry for the last email.


 


How to edit the launch script to launch the second VM?

siming
 

hi,



 


Re: GPT ERROR when write preempt img to sata on NUC7i5BNB

siming
 

thanks for the direction, the dd commond works fine in the native boot, but the launch rt vm still failed (in acrn boot).

I tried two way to launch the vm, the difference is "-s 2 " of the acrn-dm.
# diff launch_hard_rt_vm1.sh launch_hard_rt_vm2.sh 
<    -s 2,passthru,00/17/0 \
---
>    -s 2,virtio-blk,/dev/sda \

launch_hard_rt_vm1.sh error log:
modify_bar_registration: bypass for pci-passthru 0:2.0
[   41.557774] Unknown IOCTL 0x43000055
pci passthru init failed
mngr_client_new: Failed to accept from fd 35, err: Invalid argument
Stop listening 35...
Stop polling 35...
Unable to init vdev (22)

launch_hard_rt_vm2.sh error log:
polling 35...
pci init hostbridge
pci init virtio-blk
acrn-dm: Could not open backing file: /dev/sdaListening 35...
: No such file or directory
Could not open backing filepci virtio-blk init failed
mngr_client_new: Failed to accept from fd 35, err: Invalid argument
Stop listening 35...

my sata info:
$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda           8:0    0 111.8G  0 disk 
├─sda1        8:1    0   510M  0 part 
├─sda2        8:2    0    33M  0 part 
└─sda3        8:3    0     8G  0 part 
nvme0n1     259:0    0 238.5G  0 disk 
├─nvme0n1p1 259:1    0   142M  0 part 
├─nvme0n1p2 259:2    0   244M  0 part [SWAP]
└─nvme0n1p3 259:3    0 238.1G  0 part /
$ lspci -nn | grep SATA

00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)


The attachment is the error logs and the launch script. 


Best Regards


在 2020-07-31 15:47:15,"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Please set boot order to Built-in shell;

then type fs1: ENTER

cd EFI/BOOT ENTER

run BOOTX64.EFI

It will boot from native.

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Friday, July 31, 2020 2:10 PM
To: acrn-users@...
Subject: Re: [acrn-users] GPT ERROR when write preempt img to sata on NUC7i5BNB

 

thanks for the responds.I did the dd comond in the acrn boot. 

After I install the service VM with./acrn_quick_setup.sh ,I cannot boot into Clear-linux-native-5.5.11-922. The HDMI is nothing out when I choose this.

    Clear Linux OS(acrn)

    Clear Linux OS(Clear-linux-iot-lts2018-sos-4.19.97-104)

    Clear Linux OS(Clear-linux-native-5.5.11-922)

Did I miss something in the set up of the service vm?

thanks

 

2020-07-31 12:58:21"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Hi

The dd issue is for acrn boot or native boot?

Please  boot into native and try it again.

Thanks!

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Friday, July 31, 2020 11:34 AM
To: acrn-users@...
Subject: [acrn-users] GPT ERROR when write preempt img to sata on NUC7i5BNB

 

Hi,

    My board is NUC7i5BNB, with two disks: an NVMe disk for the Clear Linux-based Service VM and a SATA disk for the RTVM.Accoring to https://projectacrn.github.io/1.6/getting-started/rt_industry.html#install-and-launch-the-preempt-rt-vmwhen I write preempt img to sata, there is always have gpt errors. I have chaged another sata disk, but it's the same error.

root@nuc-acrn /home/acrn # dd if=./preempt-rt-32680.img of=/dev/sda bs=4M oflag=sync status=progress iflag=fullblock seek=0 conv=notrunc
9122611200 bytes (9.1 GB, 8.5 GiB) copied, 124 s, 73.5 MB/s
2186+1 records in
2186+1 records out 
9169755648 bytes (9.2 GB, 8.5 GiB) copied, 126.281 s, 72.6 MB/s
[  171.967643] GPT:Primary header thinks Alt. header is not at the end of the disk.
[  171.967982] GPT:17909678 != 234441647
[  171.968146] GPT:Alternate GPT header not at the end of the disk.
[  171.968406] GPT:17909678 != 234441647
[  171.968616] GPT: Use GNU Parted to correct GPT errors.
[  171.968864]  sda: sda1 sda2 sda3

then I run the launch_hard_rt_vm.sh, it cannot create VM from Hypervisor.

root@nuc-acrn /home/acrn # ./launch_hard_rt_vm.sh
cpu1 online=1 
[ 1525.901370] smpboot: CPU 1 is now offline
[ 1525.902204] vhm: try to offline cpu 1 with lapicid 2
cpu2 online=1 
[ 1525.916019] smpboot: CPU 2 is now offline
[ 1525.917264] vhm: try to offline cpu 2 with lapicid 1
cpu3 online=1 
[ 1525.929538] smpboot: CPU 3 is now offline
[ 1525.930969] vhm: try to offline cpu 3 with lapicid 3
[ 1525.935378] ata1.00: disabled
[ 1525.938524] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1525.939206] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.941643] sd 0:0:0:0: [sda] Stopping disk
[ 1525.941888] sd 0:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.956762] pci-stub 0000:00:17.0: claimed by stub
pm by vuart node-index = 1 
SW_LOAD: get ovmf path /usr/share/acrn/bios/OVMF.fd, size 0x200000 
vm_create: hard_rtvm 
[ 1525.981345] vhm_dev_open: opening device node
VHM api version 1.0 
[ 1525.982333] vhm: failed to create VM from Hypervisor !
[ 1526.483047] vhm: failed to create VM from Hypervisor !
[ 1526.983377] vhm: failed to create VM from Hypervisor !
[ 1527.483702] vhm: failed to create VM from Hypervisor !
[ 1527.984028] vhm: failed to create VM from Hypervisor !
[ 1528.484363] vhm: failed to create VM from Hypervisor !
[ 1528.984686] vhm: failed to create VM from Hypervisor !
[ 1529.485021] vhm: failed to create VM from Hypervisor !
[ 1529.985346] vhm: failed to create VM from Hypervisor !
[ 1530.485672] vhm: failed to create VM from Hypervisor !
failed to create VM hard_rtvm 
vm_create failed
[ 1530.994415] vhm: freed vm

Thanks!

ZS

 

 

 

 



 


Re: GPT ERROR when write preempt img to sata on NUC7i5BNB

Liu, Fuzhong
 

Please set boot order to Built-in shell;

then type fs1: ENTER

cd EFI/BOOT ENTER

run BOOTX64.EFI

It will boot from native.

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Friday, July 31, 2020 2:10 PM
To: acrn-users@...
Subject: Re: [acrn-users] GPT ERROR when write preempt img to sata on NUC7i5BNB

 

thanks for the responds.I did the dd comond in the acrn boot. 

After I install the service VM with./acrn_quick_setup.sh ,I cannot boot into Clear-linux-native-5.5.11-922. The HDMI is nothing out when I choose this.

    Clear Linux OS(acrn)

    Clear Linux OS(Clear-linux-iot-lts2018-sos-4.19.97-104)

    Clear Linux OS(Clear-linux-native-5.5.11-922)

Did I miss something in the set up of the service vm?

thanks

 

2020-07-31 12:58:21"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Hi

The dd issue is for acrn boot or native boot?

Please  boot into native and try it again.

Thanks!

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Friday, July 31, 2020 11:34 AM
To: acrn-users@...
Subject: [acrn-users] GPT ERROR when write preempt img to sata on NUC7i5BNB

 

Hi,

    My board is NUC7i5BNB, with two disks: an NVMe disk for the Clear Linux-based Service VM and a SATA disk for the RTVM.Accoring to https://projectacrn.github.io/1.6/getting-started/rt_industry.html#install-and-launch-the-preempt-rt-vmwhen I write preempt img to sata, there is always have gpt errors. I have chaged another sata disk, but it's the same error.

root@nuc-acrn /home/acrn # dd if=./preempt-rt-32680.img of=/dev/sda bs=4M oflag=sync status=progress iflag=fullblock seek=0 conv=notrunc
9122611200 bytes (9.1 GB, 8.5 GiB) copied, 124 s, 73.5 MB/s
2186+1 records in
2186+1 records out 
9169755648 bytes (9.2 GB, 8.5 GiB) copied, 126.281 s, 72.6 MB/s
[  171.967643] GPT:Primary header thinks Alt. header is not at the end of the disk.
[  171.967982] GPT:17909678 != 234441647
[  171.968146] GPT:Alternate GPT header not at the end of the disk.
[  171.968406] GPT:17909678 != 234441647
[  171.968616] GPT: Use GNU Parted to correct GPT errors.
[  171.968864]  sda: sda1 sda2 sda3

then I run the launch_hard_rt_vm.sh, it cannot create VM from Hypervisor.

root@nuc-acrn /home/acrn # ./launch_hard_rt_vm.sh
cpu1 online=1 
[ 1525.901370] smpboot: CPU 1 is now offline
[ 1525.902204] vhm: try to offline cpu 1 with lapicid 2
cpu2 online=1 
[ 1525.916019] smpboot: CPU 2 is now offline
[ 1525.917264] vhm: try to offline cpu 2 with lapicid 1
cpu3 online=1 
[ 1525.929538] smpboot: CPU 3 is now offline
[ 1525.930969] vhm: try to offline cpu 3 with lapicid 3
[ 1525.935378] ata1.00: disabled
[ 1525.938524] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1525.939206] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.941643] sd 0:0:0:0: [sda] Stopping disk
[ 1525.941888] sd 0:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.956762] pci-stub 0000:00:17.0: claimed by stub
pm by vuart node-index = 1 
SW_LOAD: get ovmf path /usr/share/acrn/bios/OVMF.fd, size 0x200000 
vm_create: hard_rtvm 
[ 1525.981345] vhm_dev_open: opening device node
VHM api version 1.0 
[ 1525.982333] vhm: failed to create VM from Hypervisor !
[ 1526.483047] vhm: failed to create VM from Hypervisor !
[ 1526.983377] vhm: failed to create VM from Hypervisor !
[ 1527.483702] vhm: failed to create VM from Hypervisor !
[ 1527.984028] vhm: failed to create VM from Hypervisor !
[ 1528.484363] vhm: failed to create VM from Hypervisor !
[ 1528.984686] vhm: failed to create VM from Hypervisor !
[ 1529.485021] vhm: failed to create VM from Hypervisor !
[ 1529.985346] vhm: failed to create VM from Hypervisor !
[ 1530.485672] vhm: failed to create VM from Hypervisor !
failed to create VM hard_rtvm 
vm_create failed
[ 1530.994415] vhm: freed vm

Thanks!

ZS

 

 

 

 


Re: GPT ERROR when write preempt img to sata on NUC7i5BNB

siming
 

thanks for the responds.I did the dd comond in the acrn boot. 
After I install the service VM with./acrn_quick_setup.sh ,I cannot boot into Clear-linux-native-5.5.11-922. The HDMI is nothing out when I choose this.
    Clear Linux OS(acrn)
    Clear Linux OS(Clear-linux-iot-lts2018-sos-4.19.97-104)
    Clear Linux OS(Clear-linux-native-5.5.11-922)
Did I miss something in the set up of the service vm?
thanks

在 2020-07-31 12:58:21,"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Hi

The dd issue is for acrn boot or native boot?

Please  boot into native and try it again.

Thanks!

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Friday, July 31, 2020 11:34 AM
To: acrn-users@...
Subject: [acrn-users] GPT ERROR when write preempt img to sata on NUC7i5BNB

 

Hi,

    My board is NUC7i5BNB, with two disks: an NVMe disk for the Clear Linux-based Service VM and a SATA disk for the RTVM.Accoring to https://projectacrn.github.io/1.6/getting-started/rt_industry.html#install-and-launch-the-preempt-rt-vmwhen I write preempt img to sata, there is always have gpt errors. I have chaged another sata disk, but it's the same error.

root@nuc-acrn /home/acrn # dd if=./preempt-rt-32680.img of=/dev/sda bs=4M oflag=sync status=progress iflag=fullblock seek=0 conv=notrunc
9122611200 bytes (9.1 GB, 8.5 GiB) copied, 124 s, 73.5 MB/s
2186+1 records in
2186+1 records out 
9169755648 bytes (9.2 GB, 8.5 GiB) copied, 126.281 s, 72.6 MB/s
[  171.967643] GPT:Primary header thinks Alt. header is not at the end of the disk.
[  171.967982] GPT:17909678 != 234441647
[  171.968146] GPT:Alternate GPT header not at the end of the disk.
[  171.968406] GPT:17909678 != 234441647
[  171.968616] GPT: Use GNU Parted to correct GPT errors.
[  171.968864]  sda: sda1 sda2 sda3

then I run the launch_hard_rt_vm.sh, it cannot create VM from Hypervisor.

root@nuc-acrn /home/acrn # ./launch_hard_rt_vm.sh
cpu1 online=1 
[ 1525.901370] smpboot: CPU 1 is now offline
[ 1525.902204] vhm: try to offline cpu 1 with lapicid 2
cpu2 online=1 
[ 1525.916019] smpboot: CPU 2 is now offline
[ 1525.917264] vhm: try to offline cpu 2 with lapicid 1
cpu3 online=1 
[ 1525.929538] smpboot: CPU 3 is now offline
[ 1525.930969] vhm: try to offline cpu 3 with lapicid 3
[ 1525.935378] ata1.00: disabled
[ 1525.938524] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1525.939206] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.941643] sd 0:0:0:0: [sda] Stopping disk
[ 1525.941888] sd 0:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.956762] pci-stub 0000:00:17.0: claimed by stub
pm by vuart node-index = 1 
SW_LOAD: get ovmf path /usr/share/acrn/bios/OVMF.fd, size 0x200000 
vm_create: hard_rtvm 
[ 1525.981345] vhm_dev_open: opening device node
VHM api version 1.0 
[ 1525.982333] vhm: failed to create VM from Hypervisor !
[ 1526.483047] vhm: failed to create VM from Hypervisor !
[ 1526.983377] vhm: failed to create VM from Hypervisor !
[ 1527.483702] vhm: failed to create VM from Hypervisor !
[ 1527.984028] vhm: failed to create VM from Hypervisor !
[ 1528.484363] vhm: failed to create VM from Hypervisor !
[ 1528.984686] vhm: failed to create VM from Hypervisor !
[ 1529.485021] vhm: failed to create VM from Hypervisor !
[ 1529.985346] vhm: failed to create VM from Hypervisor !
[ 1530.485672] vhm: failed to create VM from Hypervisor !
failed to create VM hard_rtvm 
vm_create failed
[ 1530.994415] vhm: freed vm

Thanks!

ZS

 

 



 


Re: GPT ERROR when write preempt img to sata on NUC7i5BNB

Liu, Fuzhong
 

Hi

The dd issue is for acrn boot or native boot?

Please  boot into native and try it again.

Thanks!

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Friday, July 31, 2020 11:34 AM
To: acrn-users@...
Subject: [acrn-users] GPT ERROR when write preempt img to sata on NUC7i5BNB

 

Hi,

    My board is NUC7i5BNB, with two disks: an NVMe disk for the Clear Linux-based Service VM and a SATA disk for the RTVM.Accoring to https://projectacrn.github.io/1.6/getting-started/rt_industry.html#install-and-launch-the-preempt-rt-vmwhen I write preempt img to sata, there is always have gpt errors. I have chaged another sata disk, but it's the same error.

root@nuc-acrn /home/acrn # dd if=./preempt-rt-32680.img of=/dev/sda bs=4M oflag=sync status=progress iflag=fullblock seek=0 conv=notrunc
9122611200 bytes (9.1 GB, 8.5 GiB) copied, 124 s, 73.5 MB/s
2186+1 records in
2186+1 records out 
9169755648 bytes (9.2 GB, 8.5 GiB) copied, 126.281 s, 72.6 MB/s
[  171.967643] GPT:Primary header thinks Alt. header is not at the end of the disk.
[  171.967982] GPT:17909678 != 234441647
[  171.968146] GPT:Alternate GPT header not at the end of the disk.
[  171.968406] GPT:17909678 != 234441647
[  171.968616] GPT: Use GNU Parted to correct GPT errors.
[  171.968864]  sda: sda1 sda2 sda3

then I run the launch_hard_rt_vm.sh, it cannot create VM from Hypervisor.

root@nuc-acrn /home/acrn # ./launch_hard_rt_vm.sh
cpu1 online=1 
[ 1525.901370] smpboot: CPU 1 is now offline
[ 1525.902204] vhm: try to offline cpu 1 with lapicid 2
cpu2 online=1 
[ 1525.916019] smpboot: CPU 2 is now offline
[ 1525.917264] vhm: try to offline cpu 2 with lapicid 1
cpu3 online=1 
[ 1525.929538] smpboot: CPU 3 is now offline
[ 1525.930969] vhm: try to offline cpu 3 with lapicid 3
[ 1525.935378] ata1.00: disabled
[ 1525.938524] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1525.939206] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.941643] sd 0:0:0:0: [sda] Stopping disk
[ 1525.941888] sd 0:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.956762] pci-stub 0000:00:17.0: claimed by stub
pm by vuart node-index = 1 
SW_LOAD: get ovmf path /usr/share/acrn/bios/OVMF.fd, size 0x200000 
vm_create: hard_rtvm 
[ 1525.981345] vhm_dev_open: opening device node
VHM api version 1.0 
[ 1525.982333] vhm: failed to create VM from Hypervisor !
[ 1526.483047] vhm: failed to create VM from Hypervisor !
[ 1526.983377] vhm: failed to create VM from Hypervisor !
[ 1527.483702] vhm: failed to create VM from Hypervisor !
[ 1527.984028] vhm: failed to create VM from Hypervisor !
[ 1528.484363] vhm: failed to create VM from Hypervisor !
[ 1528.984686] vhm: failed to create VM from Hypervisor !
[ 1529.485021] vhm: failed to create VM from Hypervisor !
[ 1529.985346] vhm: failed to create VM from Hypervisor !
[ 1530.485672] vhm: failed to create VM from Hypervisor !
failed to create VM hard_rtvm 
vm_create failed
[ 1530.994415] vhm: freed vm

Thanks!

ZS

 

 


GPT ERROR when write preempt img to sata on NUC7i5BNB

siming
 

Hi,
    My board is NUC7i5BNB, with two disks: an NVMe disk for the Clear Linux-based Service VM and a SATA disk for the RTVM.Accoring to https://projectacrn.github.io/1.6/getting-started/rt_industry.html#install-and-launch-the-preempt-rt-vmwhen I write preempt img to sata, there is always have gpt errors. I have chaged another sata disk, but it's the same error.
root@nuc-acrn /home/acrn # dd if=./preempt-rt-32680.img of=/dev/sda bs=4M oflag=sync status=progress iflag=fullblock seek=0 conv=notrunc
9122611200 bytes (9.1 GB, 8.5 GiB) copied, 124 s, 73.5 MB/s
2186+1 records in
2186+1 records out 
9169755648 bytes (9.2 GB, 8.5 GiB) copied, 126.281 s, 72.6 MB/s
[  171.967643] GPT:Primary header thinks Alt. header is not at the end of the disk.
[  171.967982] GPT:17909678 != 234441647
[  171.968146] GPT:Alternate GPT header not at the end of the disk.
[  171.968406] GPT:17909678 != 234441647
[  171.968616] GPT: Use GNU Parted to correct GPT errors.
[  171.968864]  sda: sda1 sda2 sda3
then I run the launch_hard_rt_vm.sh, it cannot create VM from Hypervisor.
root@nuc-acrn /home/acrn # ./launch_hard_rt_vm.sh
cpu1 online=1 
[ 1525.901370] smpboot: CPU 1 is now offline
[ 1525.902204] vhm: try to offline cpu 1 with lapicid 2
cpu2 online=1 
[ 1525.916019] smpboot: CPU 2 is now offline
[ 1525.917264] vhm: try to offline cpu 2 with lapicid 1
cpu3 online=1 
[ 1525.929538] smpboot: CPU 3 is now offline
[ 1525.930969] vhm: try to offline cpu 3 with lapicid 3
[ 1525.935378] ata1.00: disabled
[ 1525.938524] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1525.939206] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.941643] sd 0:0:0:0: [sda] Stopping disk
[ 1525.941888] sd 0:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 1525.956762] pci-stub 0000:00:17.0: claimed by stub
pm by vuart node-index = 1 
SW_LOAD: get ovmf path /usr/share/acrn/bios/OVMF.fd, size 0x200000 
vm_create: hard_rtvm 
[ 1525.981345] vhm_dev_open: opening device node
VHM api version 1.0 
[ 1525.982333] vhm: failed to create VM from Hypervisor !
[ 1526.483047] vhm: failed to create VM from Hypervisor !
[ 1526.983377] vhm: failed to create VM from Hypervisor !
[ 1527.483702] vhm: failed to create VM from Hypervisor !
[ 1527.984028] vhm: failed to create VM from Hypervisor !
[ 1528.484363] vhm: failed to create VM from Hypervisor !
[ 1528.984686] vhm: failed to create VM from Hypervisor !
[ 1529.485021] vhm: failed to create VM from Hypervisor !
[ 1529.985346] vhm: failed to create VM from Hypervisor !
[ 1530.485672] vhm: failed to create VM from Hypervisor !
failed to create VM hard_rtvm 
vm_create failed
[ 1530.994415] vhm: freed vm
Thanks!
ZS


 


2020 ACRN Project Technical Community Meeting Minutes - WW30'20

Zou, Terry
 

ACRN Project TCM - 22th Jul 2020
Location
  1. Online by Zoom: https://zoom.com.cn/j/320664063   
Attendees (Total 21, 23/7)
 
Note: If you need to edit this document, please ask for access. We disabled anonymous editing to keep track of changes and identify who are the owners of the opens and agenda items.
Opens
Note: When adding opens or agenda items, please provide details (not only links), add your name next to the item you have added and specify your expectation from the TCM 
Agenda
  1. ACRN project update:
Online Experience of “2020 ACRN & StarlingX Online Summit (7-30/31)” Asia-Session. We will introduce key features and architecture of ACRN v2.0 release, and demonstrate real user scenarios of Workload Consolidation with ACRN hypervisor.
You can also find latest software features in StarlingX v4.0 release, and how to build a flexible and stable Edge cloud software stack based on StarlingX, to support Edge computing, industrial and telecom Edge cloud infrastructure.
Looking forward to your participation and build-up ACRN & StarlingX community together!
You can scan below QR-code or below link to join the online experience directly:
 
  1. “WW30’20 MSI-X Emulation on MSI in ACRN” by Wu, Binbin
Download foil from ACRN Presentation->WW30’20
Description: We will introduce MSI-X Emulation on MSI overview, detailed design of MSI-X Table BAR and change in guest side. We will also summarize other works related to TSN device passthrough.
 
  1. All: Community open discussion.
Q&A: 
Q1: If any other device that needs Multi-MSI/MSI-X support, besides TSN? 
A1: Ethernet/TSN is the current key scenario.
 
  1. Next meeting agenda proposal:
 
WW Topic Presenter Status
WW28 Inter-VM communication Introduction (DM land) Liu, Yuan1 7/8/2020
WW30 MSI-X Emulation on MSI in ACRN Wu, Binbin 7/22/2020
WW32 PTM virtualization Introduction Wang, Qian 8/5/2020
WW34 Safety VM introduction Mao Junjie 8/19/2020
WW36 TCC feature introduction-split lock Li Fei/Tao Yuhong 9/2/2020
WW38 Inter-VM communication Introduction (HV land) Liu, Yuan1 9/16/2020
Marketing/Events
  1. N/A
Resources
  1. Project URL: 
  1. Portal: https://projectacrn.org   
  2. Source code: https://github.com/projectacrn   
  3. email: info@... 
  4. Technical Mailing list: acrn-dev@... 
 
 


Invitation of 2020 ACRN & StarlingX Online Summit(7-30/31)Asia-Session

Zou, Terry
 

Hi all, we are very glad to invite you to join “2020 ACRN & StarlingX Online Summit (7-30/31)” Asia-Session.
 
We will introduce key features and architecture of ACRN v2.0 release, and demonstrate real user scenarios of Workload Consolidation with ACRN hypervisor.
You can also find latest software features in StarlingX v4.0 release, and how to build a flexible and stable Edge cloud software stack based on StarlingX, to support Edge computing, industrial and telecom Edge cloud infrastructure.
 
Looking forward to your participation and build-up ACRN & StarlingX community together!
You can scan below QR-code to join online experience directly, thanks!
您好:
2020 7 30 -31 日,以开源推动互联-从设备到边缘为主题的首届中国物联网开源项目研讨会将于线上举行,我们诚挚的邀请您参加此次活动!
本次研讨会将重点介绍 ACRN v2.0 版本的软件功能以及系统结构,并展示如何通过 ACRN 在实际应用场景中推动工业负载整合。您将在此次研讨会上看到来自 ACRN 及其合作伙伴的大量演示,更重要的是,您将可以通过这个机会与社区成员互相沟通与了解,并为社区提供反馈和建议。
StarlingX 是本次研讨会的另外一个重要部分。在本次研讨会上,您将了解到 StarlingX v4.0 的创新软件功能,以及如何通过 StarlingX 这样一个完整、高可靠、可扩展的边缘云软件堆栈,为边缘计算、工业物联网和电信应用构建弹性的边缘云基础设施。
会议时间:2020 7 30 -31
 
 
 
您好:
2020 7 30 -31 日,以开源推动互联-从设备到边缘为主题的首届中国物联网开源项目研讨会将于线上举行,我们诚挚的邀请您参加此次活动!
本次研讨会将重点介绍 ACRN v2.0 版本的软件功能以及系统结构,并展示如何通过 ACRN 在实际应用场景中推动工业负载整合。您将在此次研讨会上看到来自 ACRN 及其合作伙伴的大量演示,更重要的是,您将可以通过这个机会与社区成员互相沟通与了解,并为社区提供反馈和建议。
StarlingX 是本次研讨会的另外一个重要部分。在本次研讨会上,您将了解到 StarlingX v4.0 的创新软件功能,以及如何通过 StarlingX 这样一个完整、高可靠、可扩展的边缘云软件堆栈,为边缘计算、工业物联网和电信应用构建弹性的边缘云基础设施。
会议时间:2020 7 30 -31
 
 
第一天     开幕、开源工业论坛、ACRN 项目议程
时间 时长 演讲主题 演讲嘉宾
09:00~09:20 20min 变革时代的开源软件 吴健渊
英特尔开源软件总监
09:20~09:50 30min 开源和工业互联网 杜玉河
工业 4.0 俱乐部秘书长
09:50~10:20 30min ACRN 推动工业负载整合及 V2.0 版本发布 王洪波
英特尔高级软件经理
10:20~10:40 20min StarlingX 分布式边缘计算平台及 V4.0 版本发布 胡勇
英特尔高级软件经理
10:40~11:00 20min 英特尔工业边缘平台共筑智能制造 沈溢
英特尔物联网事业部
高级产品经理
11:00~11:30 30min 基于开放软件架构的控制系统 陈常筠
沈阳机床软件经理
11:30~12:00 30min 基于软件定义控制与流程的工业互联网解决方案 张学兵
东土科技集团副总经理
12:00~13:30 90min 午休:ACRN & StarlingX 方案演示,项目代码文档介绍,GSG 快速上手演示
13:30~14:00 30min ACRN 技术演进及下一代架构展望 陈杰
英特尔高级软件架构师
14:00~14:30 30min ACRN 异构应用整合及编排 王禹
英特尔软件开发经理
14:30~15:00 30min ACRN 面向功能安全的方法与设计 茅俊杰
英特尔软件架构师
15:00~15:30 30min ACRN 'CPU 共享' 特性架构及使用场景介绍 刘硕
英特尔软件工程师
15:30~16:00 30min ACRN 实时虚拟机支持及性能优化介绍 吴斌斌
英特尔高级软件工程师
 
第二天     StarlingX 项目议程
时间 时长 演讲主题 演讲嘉宾
13:00~13:30 30min StarlingX 项目技术演进 胡勇
英特尔高级软件经理
13:30~14:00 30min 中国铁塔网络中基于 StarlingX CDN 服务应用 蒋暕青
九州云信息科技技术经理
14:00~14:30 30min IT-OT 融合:边缘计算助力从云端到终端 戚明渊
英特尔高级软件工程师
14:30~15:00 30min 边缘技术平台的确定性时延介绍 杨斌
英特尔高级软件工程师
15:00~15:30 30min 时间敏感网络在 StarlingX 的集成方案介绍 王毅
英特尔高级软件工程师
 
 
 
 
英特尔、英特尔标识以及其他英特尔商标是英特尔公司或其子公司在美国和/或其他国家的商标。
© 英特尔公司版权所有
 
 
 


Re: QEMU base image/config for reference?

Xie, Nanlin
 

Hi, Matt,

 

              We have Qemu BKM https://projectacrn.github.io/latest/tutorials/acrn_on_qemu.html, please let us know if you have more questions.

 

Best wishes!

Nanlin

 

From: acrn-users@... <acrn-users@...> On Behalf Of Hiltner, Matthew E
Sent: Friday, July 17, 2020 1:15 AM
To: acrn-users@...
Subject: Re: [acrn-users] QEMU base image/config for reference?

 

Hello list... anybody there?

 


From: Hiltner, Matthew E
Sent: Tuesday, July 14, 2020 2:16 PM
To: acrn-users@... <acrn-users@...>
Subject: QEMU base image/config for reference?

 

Hello -

 

I notice in the 2.0 release notes that QEMU support is improved. Does the project periodically maintain a QCOW2+config that can be used for reference or regression? Not finding anything, but forgive if I've missed a pointer somewhere...

 

if not, is there a BKM for QEMU bringup?

 

-Matt


Re: QEMU base image/config for reference?

Hiltner, Matthew E <matthew.e.hiltner@...>
 

Hello list... anybody there?


From: Hiltner, Matthew E
Sent: Tuesday, July 14, 2020 2:16 PM
To: acrn-users@... <acrn-users@...>
Subject: QEMU base image/config for reference?
 
Hello -

I notice in the 2.0 release notes that QEMU support is improved. Does the project periodically maintain a QCOW2+config that can be used for reference or regression? Not finding anything, but forgive if I've missed a pointer somewhere...

if not, is there a BKM for QEMU bringup?

-Matt


QEMU base image/config for reference?

matthew.e.hiltner@...
 

Hello -

I notice in the 2.0 release notes that QEMU support is improved. Does the project periodically maintain a QCOW2+config that can be used for reference or regression? Not finding anything, but forgive if I've missed a pointer somewhere...

if not, is there a BKM for QEMU bringup?

-Matt


2020 ACRN Project Technical Community Meeting Minutes - WW28'20

Zou, Terry
 

ACRN Project TCM - 8th Jul 2020
Location
  1. Online by Zoom: https://zoom.com.cn/j/320664063   
Attendees (Total 20, 8/7)
 
Note: If you need to edit this document, please ask for access. We disabled anonymous editing to keep track of changes and identify who are the owners of the opens and agenda items.
Opens
Note: When adding opens or agenda items, please provide details (not only links), add your name next to the item you have added and specify your expectation from the TCM 
Agenda
  1. ACRN project update
 
  1. “WW28’20 Inter-VM communication Introduction (DM land)“ by LIU, Yuan
Download foil from ACRN Presentation->WW28’20
Description: Inter-VM communication Introduction (DM land), we will talk about shared memory based inter-vm communication solution on ACRN to meet high throughput and low latency requirements.
 
  1. All: Community open discussion.
Q&A: Q1 could Ivshmen solution support windows guest communication: Yes.
 
  1. Next meeting agenda proposal:
WW Topic Presenter Status
WW28 Inter-VM communication Introduction (DM land) Liu, Yuan1 7/8/2020
WW30 PTM virtualization Introduction Wang, Qian 7/22/2020
WW32 TSN pass through Introduction Wu, Binbin 8/5/2020
WW34 Safety VM introduction Mao Junjie 8/19/2020
WW36 TCC feature introduction-split lock Li Fei/Tao Yuhong 9/2/2020
WW38 Inter-VM communication Introduction (HV land) Liu, Yuan1 9/16/2020
Marketing/Events
  1. N/A
Resources
  1. Project URL: 
  1. Portal: https://projectacrn.org   
  2. Source code: https://github.com/projectacrn   
  3. email: info@... 
  4. Technical Mailing list: acrn-dev@... 
 
========================
 
 


Re: ACRN + Kata Containers (and 'acrnctl')

Geoffroy Van Cutsem
 

Thanks for your explanation Vijay. It would make a lot of sense to me to build and install `acrnctl` even for a RELEASE=1 build. I'd like to hear from the engineering team if they have any objection to that. If not, I can prepare a patch to remove the conditional statements in the Makefiles.

[note: also adding the acrn-dev mailing list to make sure the developers see this thread]

Thanks,
Geoffroy

-----Original Message-----
From: Dhanraj, Vijay <vijay.dhanraj@...>
Sent: Tuesday, June 30, 2020 6:55 PM
To: VanCutsem, Geoffroy <geoffroy.vancutsem@...>; acrn-
users@...
Subject: RE: ACRN + Kata Containers (and 'acrnctl')

Hi Geoffroy,

Thanks for bring up this issue.

"acrnctl" binary is critical for kata containers when using ACRN hypervisor.
Kata uses this binary to add container rootfs. Using acrnctl blkrescan feature,
kata can add virtio-blk devices with dummy backend during VM launch and
later replace the dummy backend with the actual file (the container rootfs).

My suggestion would be to build and install acrnctl for RELEASE=1 build as
well.

Thanks,
-Vijay

-----Original Message-----
From: VanCutsem, Geoffroy <geoffroy.vancutsem@...>
Sent: Tuesday, June 30, 2020 2:29 AM
To: acrn-users@...; Dhanraj, Vijay
<vijay.dhanraj@...>
Subject: ACRN + Kata Containers (and 'acrnctl')

Hi folks, Vijay,

The ACRN + Kata Containers configuration (described here [1]) includes a
definition for 'ctlpath' that points at the 'acrnctl' binary. That binary is only
built and installed for the debug version of ACRN (see also [2] for more
details), which means you cannot run Kata Containers with a released version
of ACRN today. I think we need to solve this and I can see two ways:
* Kata Containers does not really use that binary (and we can get rid of its
definition) OR
* We make sure 'acrnctl' is also built and installed for a RELEASE=1 build

What would be the right way to fix this?

[1] https://projectacrn.github.io/latest/tutorials/run_kata_containers.html
[2] https://github.com/projectacrn/acrn-hypervisor/issues/4940

Thanks!
Geoffroy

Senior Technical Marketing Engineer
IAGS - System Software Products
Tel: +32 (0)3 450 0851

-----------------------------------------------
Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718.
Citibank, Brussels, account 570/1031255/09


Re: Debugging the UOS

Geoffroy Van Cutsem
 

Thanks Tomasz, I think such feature makes sense so thanks for filing the request!!

Geoffroy

-----Original Message-----
From: acrn-users@... <acrn-users@...>
On Behalf Of Tomasz Bursztyka
Sent: Tuesday, June 30, 2020 11:09 AM
To: acrn-users@...
Subject: Re: [acrn-users] Debugging the UOS

Hello,

About this gdb server missing feature, I just opened a github issue:
https://github.com/projectacrn/acrn-hypervisor/issues/4997


Tomasz


1. Currently, Zephyr does not support kgdb.
2. If you want to debug UOS with gdb server, I guess that support for
gdb server has to ben added in ACRN.
- Gdb server can be used to debug zephyr running with qemu. It is
because qemu supports gdb server. So, similarly, gdb server support
needs to be enabled in ACRN.


Re: ACRN + Kata Containers (and 'acrnctl')

Vijay Dhanraj
 

Hi Geoffroy,

Thanks for bring up this issue.

"acrnctl" binary is critical for kata containers when using ACRN hypervisor. Kata uses this binary to add container rootfs. Using acrnctl blkrescan feature, kata can add virtio-blk devices with dummy backend during VM launch and later replace the dummy backend with the actual file (the container rootfs).

My suggestion would be to build and install acrnctl for RELEASE=1 build as well.

Thanks,
-Vijay

-----Original Message-----
From: VanCutsem, Geoffroy <geoffroy.vancutsem@...>
Sent: Tuesday, June 30, 2020 2:29 AM
To: acrn-users@...; Dhanraj, Vijay <vijay.dhanraj@...>
Subject: ACRN + Kata Containers (and 'acrnctl')

Hi folks, Vijay,

The ACRN + Kata Containers configuration (described here [1]) includes a definition for 'ctlpath' that points at the 'acrnctl' binary. That binary is only built and installed for the debug version of ACRN (see also [2] for more details), which means you cannot run Kata Containers with a released version of ACRN today. I think we need to solve this and I can see two ways:
* Kata Containers does not really use that binary (and we can get rid of its definition) OR
* We make sure 'acrnctl' is also built and installed for a RELEASE=1 build

What would be the right way to fix this?

[1] https://projectacrn.github.io/latest/tutorials/run_kata_containers.html
[2] https://github.com/projectacrn/acrn-hypervisor/issues/4940

Thanks!
Geoffroy

Senior Technical Marketing Engineer
IAGS - System Software Products
Tel: +32 (0)3 450 0851

-----------------------------------------------
Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718.
Citibank, Brussels, account 570/1031255/09

481 - 500 of 1200