Re: launch_ubuntu in Ubuntu Service VM will automatically reboot
Liu, Fuzhong
Hi Jianjie If you still have sos reboot issue after following setting, please help to raise git issue @https://github.com/projectacrn/acrn-hypervisor/issues/ sudo systemctl set-default multi-user.target
BR. Fuzhong
From: acrn-users@... <acrn-users@...>
On Behalf Of Liu, Fuzhong
Sent: Saturday, July 3, 2021 10:23 AM To: acrn-users@... Subject: Re: [acrn-users] launch_ubuntu in Ubuntu Service VM will automatically reboot
Hi Jianjie Which platform are you using? You are using GVT-d for UOS, right? Please have a try with following command in SOS and reboot: sudo systemctl set-default multi-user.target
BR. Fuzhong From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Hi, I am News to ACRN Hypervisor. After installing the ACRN hypervisor and a Ubuntu user image according to the instruction from
https://projectacrn.github.io/latest/getting-started/getting-started.html, I try to launch the ubuntu user in Ubuntu Service VM. Mein launch_ubuntu.sh is modified based on the launch_win.sh by changing the name of image file. Thank you very much for your reply in advanced. Cheers, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Re: Android on ACRN on QEMU
Kishore Kanala
Thanks David and Terry. It will be very helpful if doc was available for AaaG on ACRN on QEMU. Is it possible for someone to help me with this? On Sat, Jul 3, 2021 at 7:51 AM Zou, Terry <terry.zou@...> wrote: Thanks David, 'Using Celadon as UOS' is the right AaaG doc in my mind :) https://projectacrn.github.io/1.5/tutorials/using_celadon_as_uos.html |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Re: launch_ubuntu in Ubuntu Service VM will automatically reboot
Jianjie Lin
Hi Terry,
Thank you for your reply. My system is stable and “dmesg |grep ACRN” also shows the correct message. After I launch the guest Ubuntu in the acrn kernel, the acrn kernel (service VM) is directly reboot, and nothing happens (Here means the system just restart, and go the service VM again, but guest VM did not launch)
I follow the instruction in https://projectacrn.github.io/latest/getting-started/getting-started.html to install the ACRN hypervisor, and follow the tutorial in https://projectacrn.github.io/latest/getting-started/roscube/roscube-gsg.html for installing the User VM, but without installing ROS environment.
Therefore the launch_ubuntu.sh is almost the same as in the https://raw.githubusercontent.com/Adlink-ROS/ROScube_ACRN_guide/v2.1/scripts/launch_ubuntu_uos.sh
By the way, I try the ACRN hypervisor in a dell pc with x86 cpu, I am not sure if this the NUC platform or not? Or Can we use an PC for deploying the ACRN hypervisor?
Thank you very much again for your help, and support.
Cheers, Jianjie Lin
Von: acrn-users@... <acrn-users@...>
Im Auftrag von Zou, Terry
Hi Jianjie, welcome to ACRN world : ) $ dmesg | grep ACRN
[ 0.000000] Hypervisor detected: ACRN
[ 0.862942] ACRN HVLog: acrn_hvlog_init
Then, you just run launch_ubuntu.sh to launch guest VM, could you login Ubuntu for first time or just reboot and never succeed ? BTW, which platform are you trying on, a NUC platform, e.g., NUC11 ? |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Re: launch_ubuntu in Ubuntu Service VM will automatically reboot
Liu, Fuzhong
Hi Jianjie Which platform are you using? You are using GVT-d for UOS, right? Please have a try with following command in SOS and reboot: sudo systemctl set-default multi-user.target
BR. Fuzhong From: acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Sent: Saturday, July 3, 2021 12:49 AM To: acrn-users@... Subject: [acrn-users] launch_ubuntu in Ubuntu Service VM will automatically reboot
Hi, I am News to ACRN Hypervisor. After installing the ACRN hypervisor and a Ubuntu user image according to the instruction from
https://projectacrn.github.io/latest/getting-started/getting-started.html, I try to launch the ubuntu user in Ubuntu Service VM. Mein launch_ubuntu.sh is modified based on the launch_win.sh by changing the name of image file. Thank you very much for your reply in advanced. Cheers, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Re: Android on ACRN on QEMU
Zou, Terry
Thanks David, 'Using Celadon as UOS' is the right AaaG doc in my mind :) https://projectacrn.github.io/1.5/tutorials/using_celadon_as_uos.html
Best & Regards Terry |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Re: launch_ubuntu in Ubuntu Service VM will automatically reboot
Zou, Terry
Hi Jianjie, welcome to ACRN world : )
For your reboot issue, first, you already successfully boot ACRN and Ubuntu SOS right, you can check dmesg as below. If you don't launch Guest VM, the system is stable right. $ dmesg | grep ACRN [ 0.000000] Hypervisor detected: ACRN [ 0.862942] ACRN HVLog: acrn_hvlog_initThen, you just run launch_ubuntu.sh to launch guest VM, could you login Ubuntu for first time or just reboot and never succeed ? BTW, which platform are you trying on, a NUC platform, e.g., NUC11 ? There are two steps for next debug: 1. could you enclosed your 'launch_ubuntu.sh', we can check if anything missed. 2. enable serial port to get HV log for next analysis: https://projectacrn.github.io/latest/tutorials/using_serial_port.html Best & Regards Terry |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Re: Android on ACRN on QEMU
All the ACRN release documentation are archived and available online. If you click on the version selector icon (where it says v:latest under the search box in the left navigation pane, you can then click on any of the listed versions (such as 1.0) and get to the v1.0 ACRN documentation. (You can also manually enter the URL for the version of ACRN documentation, for example for v1.0: https://projectacrn.github.io/1.0/ or for v1.5: https://projectacrn.github.io/1.5/
I do see this Celadon document in the v1.5 archive that might be relevant, but maybe Terry has a specific document in mind: Using Celadon as the User OS — Project ACRN™ v 1.6-unstable documentation
-- david
From: acrn-users@... <acrn-users@...>
On Behalf Of Zou, Terry
Sent: Friday, July 2, 2021 6:54 PM To: acrn-users@... Subject: Re: [acrn-users] Android on ACRN on QEMU
Good to see you already enabled ACRN over QEMU : ). |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Re: Android on ACRN on QEMU
Zou, Terry
Good to see you already enabled ACRN over QEMU : ).
Yes, it is not easy to find AaaG guide doc in ACRN home page now, you know we retired some old doc during homepage refresh. I need to check if we have any archive doc to help you. Stay tuned and back to you later. |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
launch_ubuntu in Ubuntu Service VM will automatically reboot
Jianjie Lin
Hi, I am News to ACRN Hypervisor. After installing the ACRN hypervisor and a Ubuntu user image according to the instruction from
https://projectacrn.github.io/latest/getting-started/getting-started.html, I try to launch the ubuntu user in Ubuntu Service VM. Mein launch_ubuntu.sh is modified based on the launch_win.sh by changing the name of image file. Thank you very much for your reply in advanced. Cheers, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Re: Android on ACRN on QEMU
Kishore Kanala
Hi Terry, Thanks for response. >do you mean enable ACRN over QEMU, then launch an AaaG (Android as a Guest) in ACRN right. Yes. I have setup SoS and UoS based on guide https://projectacrn.github.io/latest/tutorials/acrn_on_qemu.html. Can you please help me with the guide that is used for AaaG that was used with ACRN 1.0 SDC? I will try and let you know if I face any issue. Regards, Kishore On Thu, Jul 1, 2021 at 6:49 PM Zou, Terry <terry.zou@...> wrote: Hi Kishore, do you mean enable ACRN over QEMU, then launch an AaaG (Android as a Guest) in ACRN right. |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Re: Android on ACRN on QEMU
Zou, Terry
Hi Kishore, do you mean enable ACRN over QEMU, then launch an AaaG (Android as a Guest) in ACRN right.
So for first step, there is guide doc of 'Enable ACRN over QEMU/KVM': https://projectacrn.github.io/latest/tutorials/acrn_on_qemu.html. but be aware, we only verified on KabyLake and Skylake platform (prefer to KBL NUC), and known issue on TGL (6256 - [TGL][qemu] Cannot launch qemu on TGL), that we are still working on the fix. Secondly, for AaaG launch, actually it was legacy feature on ACRN 1.0 SDC (software-defined cockpit), we did not test with latest ACRN release for sometimes. so issue maybe expected, but encourage you to try and just let us know the specific failure step and see if we can help, thanks. Best & Regards Terry |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Android on ACRN on QEMU
Kishore Kanala
Hi,
We are looking for a platform to develop our applications (and native services) on Android that involve inter VM communication. This has to be on emulator (QEMU). Has anyone got Android up on ACRN on QEMU? If yes, can you please direct me to procedure? Thanks! Regards, Kishore |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
[Announce] ACRN Open Source Ver2.5 Release Notes
Zou, Terry
Hi all, We are very pleased to announce Version 2.5 release of ACRN. You can see the release blog from https://projectacrn.org/blog/ and detailed Release Notes in website https://projectacrn.github.io/latest/release_notes/release_notes_2.5.html What’s New in v2.5· Nested Virtualization Technology Preview: A brand-new concept, nested virtualization, is introduced as a preview in this v2.5 release. Nested virtualization lets you run virtual machine instances inside of a guest VM that’s running on the ACRN hypervisor. It’s designed to leverage the KVM/QEMU community’s rich feature set while keeping ACRN’s unique advantages in partition mode and hybrid mode. Read more in the Enable Nested Virtualization advanced guide. · Secure Boot Using EFI Stub: EFI stub, previously retired in favor of using direct boot, returns as an alternative to end-to-end secure boot with Grub. The hypervisor, Service VM kernel, and prelaunched VM kernel are packaged into a single acrn.efi blob as an EFI application that can then be verified by the EFI BIOS. Read more in the Enable ACRN Secure Boot With EFI-Stub and Enable ACRN Secure Boot With GRUB advanced guides. · Modularization Improvements: ACRN hypervisor modularization has been improved to be more scalable, including change to multiboot, interrupt handling, paging and memory management, and timers, with more to come in future releases. · Configuration and Build Process Improvements: The ACRN configuration and build process continues to evolve from the changes made in the previous releases. For instructions using the build system, refer to Build ACRN From Source. For an introduction on the concepts and workflow of the configuration tools and processes, refer to Introduction to ACRN Configuration.
· Document Updates: With the changes to ACRN configuration, we made updates to the ACRN documentation around configuration, options, and parameters: ² Introduction to ACRN Configuration ² Scenario Configuration Options New capabilities are documented here: ² Enable Nested Virtualization We’ve also made edits throughout the documentation to improve clarity, formatting, and presentation throughout the ACRN documentation: ² AHCI Virtualization in Device Model ² Timer ² L1 Terminal Fault Mitigation ² ACRN Hypervisor: Modular Design ² ACRN Documentation Generation ² Enable Inter-VM Communication Based on Ivshmem ² Run Debian as the Service VM ² Trusty and Security Services Reference ² Getting Started Guide for ACRN Hybrid Mode
See the v2.5 full release notes and documentation for more information about this release including fixed and known issues. Upgrading to v2.5 From Previous ReleasesWe highly recommended that you follow the instructions below to upgrade to v2.5 from previous ACRN releases. · Generate New Board XML Board XML files, generated by ACRN board inspector, contain board information that is essential to build ACRN. Compared to previous versions, ACRN v2.5 extends the schema of board XMLs to summarize board information more systematically. You must regenerate your board XML file using the new board inspector when you upgrade to ACRN v2.5 to get the additional information needed for configuration. Before using the new board inspector, ensure you have Python >= 3.6 on the target board and install the lxml PyPI package. Refer to Additional Dependencies for detailed steps to check and upgrade your Python version. The lxml package can be installed by executing the following command: $ sudo pip3 install lxml
Note: Refer to Using ACRN Configuration Toolset for a complete list of tools required to run the board inspector With the prerequisites done, copy the entire board inspector folder from misc/config_tools/board_inspector to the target board, cd to that directory on the target, and run the board inspector tool using: $ sudo python3 cli.py <my_board_name>
This will generate <my_board_name>.xml in the current working directory. You’ll need to copy that XML file back to the host system to continue development. · Add New Configuration Options In v2.5, the following elements are added to scenario XML files: ² hv.FEATURES.NVMX_ENABLED ² vm.PTM The following element is renamed: ² hv.FEATURES.SSRAM.SSRAM_ENABLED (was hv.FEATURES.PSRAM.PSRAM_ENABLED in v2.4) Constraints on values of the following element have changed: ² vm.guest_flags.guest_flag no longer accepts an empty text. For VMs with no guest flag set, set the value to 0.
Best & Regards Terry |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Re: ACRN support for AI Accelerator USB stick
Zou, Terry
Hi Feng.Pan, really good idea to try Movidius USB stick in virtual machine on top of ACRN, that would be a wonderful scenario to run AI workload with OpenVINO in one VM, both Linux or Windows , and other time critical workload in other VM, e.g., RTVM :) |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
ACRN support for AI Accelerator USB stick
Pan, Fengjunjie
Hello everyone,
I am considering an experimental setup, using ACRN Hypervisor on top of Tiger Lake Platform.
I have seen that ACRN supports USB pass-through. How will it behave, if I want to use an AI USB stick (e.g. Intel Movidius USB stick)? How will it work with a multi-VM environment?
Thank you and best regards, Feng. PAN
|
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
2021 ACRN Project Technical Community Meeting (2021/1~2021/12): @ Monthly 3rd Wednesday 4PM (China-Shanghai), Wednesday 10AM (Europe-Munich), Tuesday 1AM (US-West Coast)
Zou, Terry
Special Notes: If you have Zoom connection issue by using web browser, please
install & launch Zoom application, manually input the meeting ID (320664063)
to join the Zoom meeting.
Agenda & Archives:
Project ACRN: A flexible, light-weight, open source reference hypervisor for IoT devices
We invite you to attend a monthly "Technical Community" meeting where we'll meet community members and talk about the ACRN project and plans.
As we explore community interest and involvement opportunities, we'll (re)schedule these meetings at a time convenient to most attendees:
Or visit Github wiki if you can’t access Google doc: https://github.com/projectacrn/acrn-hypervisor/wiki/ACRN-Committee-and-Working-Group-Meetings#technical-community-meetings
|
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
2021 ACRN Project Technical Community Meeting (2021/1~2021/12): @ Monthly 3rd Wednesday 4PM (China-Shanghai), Wednesday 10AM (Europe-Munich), Tuesday 1AM (US-West Coast)
Zou, Terry
Special Notes: If you have Zoom connection issue by using web browser, please
install & launch Zoom application, manually input the meeting ID (320664063)
to join the Zoom meeting.
Agenda & Archives:
Project ACRN: A flexible, light-weight, open source reference hypervisor for IoT devices
We invite you to attend a monthly "Technical Community" meeting where we'll meet community members and talk about the ACRN project and plans.
As we explore community interest and involvement opportunities, we'll (re)schedule these meetings at a time convenient to most attendees:
Or visit Github wiki if you can’t access Google doc: https://github.com/projectacrn/acrn-hypervisor/wiki/ACRN-Committee-and-Working-Group-Meetings#technical-community-meetings
|
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Smallest SoS for ACRN?
Lonnie Cumberland <lonnie@...>
Greetings All, I hope that everyone is having a nice weekend. I am deep in my study of the ACRN documentation and have come across some areas that suggest that ACRN can have a number of different types of SoS(ServiceVM) with Ubuntu 18.04 being used commonly now while ClearOS seems to have been used in the past. As I am seeking small footprint designs, I was just wondering what are perhaps some of the smallest SoS types that have been used for ACRN? As a curiosity, has anyone actually used one of the Windows versions as a SoS? Best, Lonnie |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Re: [acrn-dev] [acrn-users] Multiple Pre-Launched User VM question
Lonnie Cumberland <lonnie@...>
Thanks Geoffroy, It was mainly just an idea, but in principle the goal is to have isolated servers (one for the SoftEther VPN switch, one for the NAS, etc.) where each one provides services to the ServiceVM which in-turn provides services to the UserVM's, or they could provide services directly to the UserVM's since each one would be the main channel to the outside world for the types of services they provide. In the past, we have briefly discussed the idea of having multiple ServiceVM's like one for each type of major service like drives, network, etc. but one of the developers (sorry but I forget which one exactly) mentioned that this would be problematic so I started thinking about alternatives within the current ACRN design. It seems that the Pre-Loaded MV's are much like a Separation Kernel that physically partitions off physical resources although you mentioned now a shared memory option that may be helpful in this regard. Thanks again my friend, Lonnie T On Thu, Jun 3, 2021 at 10:01 AM Geoffroy Van Cutsem <geoffroy.vancutsem@...> wrote:
|
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
Re: [acrn-dev] [acrn-users] Multiple Pre-Launched User VM question
Hi Lonnie,
I’ll rely on the engineering team (@Chen, Jason CJ?) to help answer the question about being to run multiple pre-launched VMs.
The pre-launched VMs all use their own dedicate resources, there is no sharing possible across pre-launched VMs (inc. the Service VM). There is a communication channel you can establish between those based on shared memory (see our ivshmem documentation - https://projectacrn.github.io/latest/tutorials/enable_ivshmem.html).
Thanks, Geoffroy
From: acrn-dev@... <acrn-dev@...>
On Behalf Of Lonnie Cumberland
Sent: Thursday, June 3, 2021 2:43 PM To: acrn-users@... Cc: acrn-dev@... Subject: Re: [acrn-dev] [acrn-users] Multiple Pre-Launched User VM question
Hi All,
Hope that everyone is doing well.
As I do not see a response to the question of "Multiple Pre-Launched" VM's, although I could have missed it, I am still wondering if perhaps 3 or 4 could be run.
For my particular use case, I was investigating the possibility of having, for example, a NAS storage Pre-Launch VM that would basically handle all of the disk and external storage for the whole system such that UserVM and the ServiceVM could map in virtual drives and directories from the Pre-Launch NAS VM. I was also looking into the possibility of having a VPN Pre-Launch VM (Perhaps SoftEther) such that it would provide virtual network adapters to the whole system too.
The idea was to run these independent services as Pre-Launch VM's as it did not really make a lot of sense to have them all included in the ServiceVM because that would just keep creating a larger and larger ServiceVM that would have a number of different servers installed.
Of course, all of this might not be attainable with the current ACRN design, because I am not clear as to if the Pre-Launch VM's act similar to a Separation Kernel to partition off resources and their resources may not be either shareable to the ServiceVM.
Mostly just playing with ideas here and wanted to get some feedback on what ACRN is currently capable of doing and what it is not since the documentation does not particularly address some of these ideas in that it seems to be tightly coupled to some very specific use cases but has the potential for a much wider scope of use.
Best Regards, Lonnie
On Tue, Jun 1, 2021 at 9:59 AM Geoffroy Van Cutsem <geoffroy.vancutsem@...> wrote:
|
|||||||||||||||||||||||||||||||||||||
|