|
Re: GPT ERROR when write preempt img to sata on NUC7i5BNB
Yes, It's my script error. The preempt is running.
Thank you very much.
在 2020-08-04 16:42:45,"Yin, Fengwei" <fengwei.yin@...> 写道:>Hi Siming,>>On 8/4/2020 4:35 PM, siming wrote:>> The
Yes, It's my script error. The preempt is running.
Thank you very much.
在 2020-08-04 16:42:45,"Yin, Fengwei" <fengwei.yin@...> 写道:>Hi Siming,>>On 8/4/2020 4:35 PM, siming wrote:>> The
|
By
siming
·
#732
·
|
|
Re: GPT ERROR when write preempt img to sata on NUC7i5BNB
Hi Siming,
You need to update your launch_hard_rt_vm2.sh:
echo ${passthru_vpid["sata"]} > /sys/bus/pci/drivers/pci-stub/new_id
echo ${passthru_bdf["sata"]} >
Hi Siming,
You need to update your launch_hard_rt_vm2.sh:
echo ${passthru_vpid["sata"]} > /sys/bus/pci/drivers/pci-stub/new_id
echo ${passthru_bdf["sata"]} >
|
By
Yin, Fengwei <fengwei.yin@...>
·
#731
·
|
|
Re: GPT ERROR when write preempt img to sata on NUC7i5BNB
The sda is available before run the script.
The launch script is launch_hard_rt_vm2.sh which atteched before.
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G
The sda is available before run the script.
The launch script is launch_hard_rt_vm2.sh which atteched before.
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G
|
By
siming
·
#730
·
|
|
Re: GPT ERROR when write preempt img to sata on NUC7i5BNB
Hi Siming
Please share your launch script and run “lsblk” in sos console to check if sda is available.
BR.
Fuzhong
Hi Siming
Please share your launch script and run “lsblk” in sos console to check if sda is available.
BR.
Fuzhong
|
By
Liu, Fuzhong
·
#729
·
|
|
Re: GPT ERROR when write preempt img to sata on NUC7i5BNB
Hi Fuzhong,
Thanks for the test.
I have update the Service VM with Acrn Hypervisor 2.0 release and Acrn Kernel 2.0 release
# uname -a
Linux nuc-acrn 5.4.43-PKT-200203T060100Z #3 SMP PREEMPT Tue Aug 4
Hi Fuzhong,
Thanks for the test.
I have update the Service VM with Acrn Hypervisor 2.0 release and Acrn Kernel 2.0 release
# uname -a
Linux nuc-acrn 5.4.43-PKT-200203T060100Z #3 SMP PREEMPT Tue Aug 4
|
By
siming
·
#728
·
|
|
Re: GPT ERROR when write preempt img to sata on NUC7i5BNB
Hi Siming
Narrow down your issue here:
As mentioned in below doc; pleasemodify the script to use the virtio
Hi Siming
Narrow down your issue here:
As mentioned in below doc; pleasemodify the script to use the virtio
|
By
Liu, Fuzhong
·
#727
·
|
|
Re: GPT ERROR when write preempt img to sata on NUC7i5BNB
My environment is build according to the doc https://projectacrn.github.io/1.6/getting-started/rt_industry.html
Board NUC7i5BNB, with two disks: an NVMe disk and a SATA disk
# uname -a
Linux
My environment is build according to the doc https://projectacrn.github.io/1.6/getting-started/rt_industry.html
Board NUC7i5BNB, with two disks: an NVMe disk and a SATA disk
# uname -a
Linux
|
By
siming
·
#726
·
|
|
Re: GPT ERROR when write preempt img to sata on NUC7i5BNB
Hi Siming,
So you saw "pci passthru fail" when you use your launch_hard_rt_vm1.sh?
Could you please share the whole launch_hard_rt_vm1.sh script?
Also the version of acrn hypervisor, acrn-dm and SOS
Hi Siming,
So you saw "pci passthru fail" when you use your launch_hard_rt_vm1.sh?
Could you please share the whole launch_hard_rt_vm1.sh script?
Also the version of acrn hypervisor, acrn-dm and SOS
|
By
Yin, Fengwei <fengwei.yin@...>
·
#725
·
|
|
Re: GPT ERROR when write preempt img to sata on NUC7i5BNB
Hi Fengwei,
I have tried two ways to boot preempt uos, but no success. There were error logs in the previous email.
Best Regards.
Hi Fengwei,
I have tried two ways to boot preempt uos, but no success. There were error logs in the previous email.
Best Regards.
|
By
siming
·
#724
·
|
|
Re: How to edit the launch script to launch the second VM?
I‘m sorry, I have chaged the UUID previously. Just change one number of that UUID.
Now I can boot one uos without '-U ' parameter and boot the second uos with the UUID in the sample
I‘m sorry, I have chaged the UUID previously. Just change one number of that UUID.
Now I can boot one uos without '-U ' parameter and boot the second uos with the UUID in the sample
|
By
siming
·
#723
·
|
|
Re: How to edit the launch script to launch the second VM?
Hi Siming
Please check this link forconfig-tool :
https://projectacrn.github.io/latest/tutorials/acrn_configuration_tool.html
Could you please share the UUID you added in script?
Is it the same
Hi Siming
Please check this link forconfig-tool :
https://projectacrn.github.io/latest/tutorials/acrn_configuration_tool.html
Could you please share the UUID you added in script?
Is it the same
|
By
Liu, Fuzhong
·
#722
·
|
|
Re: GPT ERROR when write preempt img to sata on NUC7i5BNB
Hi Siming,
I suppose you need passthru the SATA controller to your second VM. Not using virtio block
based /dev/sda.
RegardsYin,
Hi Siming,
I suppose you need passthru the SATA controller to your second VM. Not using virtio block
based /dev/sda.
RegardsYin,
|
By
Yin, Fengwei <fengwei.yin@...>
·
#721
·
|
|
Re: How to edit the launch script to launch the second VM?
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
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
|
By
siming
·
#720
·
|
|
Re: GPT ERROR when write preempt img to sata on NUC7i5BNB
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
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
|
By
siming
·
#719
·
|
|
Re: GPT ERROR when write preempt img to sata on NUC7i5BNB
Hi
Could you please double check if it can native boot from sda?
set boot order to Built-in shell;
type fs0: ENTER
cd EFI/BOOT ENTER
run BOOTX64.EFI
BR.
Fuzhong
Hi
Could you please double check if it can native boot from sda?
set boot order to Built-in shell;
type fs0: ENTER
cd EFI/BOOT ENTER
run BOOTX64.EFI
BR.
Fuzhong
|
By
Liu, Fuzhong
·
#718
·
|
|
Re: How to edit the launch script to launch the second VM?
Hi
There are two options:
Using config-tool to generate launch script
refer the sample launch script to add UUID for the second
Hi
There are two options:
Using config-tool to generate launch script
refer the sample launch script to add UUID for the second
|
By
Liu, Fuzhong
·
#717
·
|
|
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
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
|
By
siming
·
#716
·
|
|
How to edit the launch script to launch the second VM?
hi,
By
siming
·
#715
·
|
|
Re: 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.
#
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.
#
|
By
siming
·
#714
·
|
|
Re: GPT ERROR when write preempt img to sata on NUC7i5BNB
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
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
|
By
Liu, Fuzhong
·
#713
·
|