New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service VM boot fails (Intel Atom E3900 Series) #7840
Comments
Out of curiosity, is this Ubuntu 18.04 that you are using too on the build machine? I'm asking because last time I tried I couldn't build ACRN v2.7 on Ubuntu 18.04 ( I did not investigate further and switched to 20.04 instead) |
I've tested it with both versions 18.04 and 20.04. I got the same result. But I used the release_2.7 branch instead of the v2.7 branch. I have noticed that the ACRN build fails for some hardware on the v2.7 branch. Never had any issues on the release_2.7 branch. |
@florian90re |
@fuzhongl The serial port situation is a little confusing for this hardware: I also tested it with no UART information in the GRUB file with the same result except that I didn't get any output from the ACRN Shell. |
@florian90re Thanks for clarification! |
@fuzhongl I also tried to boot ACRN with a native Kernel (5.4.0-84-generic). There was no output at all. I added the output of the ACRN shell. I assume this indicated that the problem comes from the HV rather than the Service VM kernel, right? |
Thanks for your effort! Please boot native with ACRN ServiceVM kernel and share Also help to try if following patch works.
Thanks! |
@fuzhongl I applied the patch but I got the same result as before. I also tried to use the 3.0 Version of the hypervisor and kernel which gave me a slightly different output from the ACRN Shell. If you think this might be helpful I can also share it. |
@florian90re Thanks for sharing log! |
@fuzhongl Sorry for the delay. I couldn't access the hardware over the weekend. Yes, I re-generated the board and scenario file using v3.0. |
@florian90re Thanks for sharing ACRN_console_output of v3.0.
It seems like that Service VM console isn't enable in scenario.xml. |
@fuzhongl Sorry for the delay. Here is the complete output with Version 3.0: |
@florian90re Thanks for share log of v3.0.
Please help to try following patch:
Thanks! |
@fuzhongl Thanks again for your help. I applied the patch but got an error during the ACRN build: /home/codewerk/acrn-work/acrn-hypervisor/build/hypervisor/configs/boards/board.c:146:2: error: excess elements in array initializer [-Werror] |
@florian90re Please help to workaround the build issue with following modification in board.xml: It works on my side. Please help to try if Service VM can boot up successfully with above change. |
@florian90re Following is fix for the build issue:
|
@fuzhongl This worked!!! |
@NanlinXie @junjiemao1 Does this patch work because, in this case, "my_board" is actually an APL-based board? It's not a general solution since not ALL "my_board" boards are APL-based. What's the general problem being fixed here and is there a general solution we'd fix in the next release? |
@florian90re Glad to know Service VM boots up successfully. |
@dbkinder Following patch is the fix; not workaround about the build issue. Please ignore the previous workaround patch. @florian90re Following is fix for the build issue:
|
As the name suggests, that list is intended to track hidden PCI devices on specific boards. It is so SPECIFIC that no general solution exists except that kind of hardcoding (because they are HIDDEN for any reason). That said, it looks strange to me that the service VM attempts to access that device. @fuzhongl Any idea on how the kernel detects that device? |
@junjiemao1 The system can boot up with Service VM kernel as native. so this issue isn't related with kernel. Following is the Service VM boot fail log:
Thanks! |
Describe the bug
Service VM boot fails. The system startup process ends in a black screen with "ACRN loading..." (output from the grub menu entry)
Platform
Duagon MC50M https://www.duagon.com/de/produkte/computing/box-pc/#selectedCategory=116%2C117%2C126%2C125%2C115
It's a box PC based on Intel Atom E3900 series. It is commonly used in railway industry.
Codebase
ACRN-HV Branch: release_2.7
ACRN SOS Branch: release_2.7
SOS Version: Ubunut 18.04.06
Scenario
shared
To Reproduce
Steps to reproduce the behavior:
Expected behavior
SOS VM is booted properly
Additional context
The folder contains:
Duagon_shared_startup_fail.zip
The text was updated successfully, but these errors were encountered: