Need hv console log to check what happened with following menu.
If you also can’t get console log for native boot.
Could you please share your acrn.efi and bzImage? Let us narrow down this issue.
BR.
I remake acrn with RELEASE=0, cp acrn.bin to /boot/acrn/ but still failed .
I reinstalled the grub-2.05 uefi to /boot/efi/EFI/BOOT/ , and modifyed the grub.cfg in this dir
### BEGIN /usr/local/etc/grub.d/10_linux ###
set default=1
set timeout=5
insmod all_video
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
set root='hd1,gpt2'
menuentry 'GNU/Linux' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8531accc-08cd-46d9-9010-5eced4c84ac1' {
recordfail
insmod gzio
insmod part_gpt
insmod ext2
echo 'Loading Linux 5.4.43-PKT-200203T060100Z ...'
linux /boot/vmlinuz-5.4.43-PKT-200203T060100Z root=UUID=8531accc-08cd-46d9-9010-5eced4c84ac1 ro
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.4.43-PKT-200203T060100Z
}
menuentry "ACRN Multiboot Ubuntu Service VM" --id ubuntu-service-vm {
insmod gzio
insmod part_gpt
insmod ext2
echo 'loading ACRN...'
multiboot2 /boot/acrn/acrn.bin root=PARTUUID="8531accc-08cd-46d9-9010-5eced4c84ac1"
module2 /boot/bzImage Linux_bzImage
}
menuentry 'GNU/Linux' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8531accc-08cd-46d9-9010-5eced4c84ac1' {
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
#if [ x$feature_platform_search_hint = xy ]; then
# search --no-floppy --fs-uuid --set=root 8531accc-08cd-46d9-9010-5eced4c84ac1
#else
# search --no-floppy --fs-uuid --set=root 8531accc-08cd-46d9-9010-5eced4c84ac1
#fi
echo 'Loading Linux 5.3.0-28-generic ...'
linux /boot/vmlinuz-5.3.0-28-generic root=UUID=8531accc-08cd-46d9-9010-5eced4c84ac1 ro
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.3.0-28-generic
}
submenu 'Advanced options for GNU/Linux' $menuentry_id_option 'gnulinux-advanced-8531accc-08cd-46d9-9010-5eced4c84ac1' {
menuentry 'GNU/Linux, with Linux 5.3.0-28-generic' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-28-generic-advanced-8531accc-08cd-46d9-9010-5eced4c84ac1' {
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
echo 'Loading Linux 5.3.0-28-generic ...'
linux /boot/vmlinuz-5.3.0-28-generic root=UUID=8531accc-08cd-46d9-9010-5eced4c84ac1 ro
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.3.0-28-generic
}
menuentry 'GNU/Linux, with Linux 5.3.0-28-generic (recovery mode)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-28-generic-recovery-8531accc-08cd-46d9-9010-5eced4c84ac1' {
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
echo 'Loading Linux 5.3.0-28-generic ...'
linux /boot/vmlinuz-5.3.0-28-generic root=UUID=8531accc-08cd-46d9-9010-5eced4c84ac1 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.3.0-28-generic
}
}
### END /usr/local/etc/grub.d/10_linux ###
### BEGIN /usr/local/etc/grub.d/20_linux_xen ###
### END /usr/local/etc/grub.d/20_linux_xen ###
### BEGIN /usr/local/etc/grub.d/30_os-prober ###
menuentry 'Ubuntu 18.04.4 LTS (18.04) (on /dev/sda5)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-10489275-e98e-44df-821c-b006bef6b357' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
linux /boot/vmlinuz-5.3.0-28-generic root=UUID=10489275-e98e-44df-821c-b006bef6b357 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.3.0-28-generic
}
submenu 'Advanced options for Ubuntu 18.04.4 LTS (18.04) (on /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-10489275-e98e-44df-821c-b006bef6b357' {
menuentry 'Ubuntu (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.3.0-28-generic--10489275-e98e-44df-821c-b006bef6b357' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
linux /boot/vmlinuz-5.3.0-28-generic root=UUID=10489275-e98e-44df-821c-b006bef6b357 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.3.0-28-generic
}
menuentry 'Ubuntu, with Linux 5.3.0-28-generic (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.3.0-28-generic--10489275-e98e-44df-821c-b006bef6b357' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
linux /boot/vmlinuz-5.3.0-28-generic root=UUID=10489275-e98e-44df-821c-b006bef6b357 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.3.0-28-generic
}
menuentry 'Ubuntu, with Linux 5.3.0-28-generic (recovery mode) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.3.0-28-generic--10489275-e98e-44df-821c-b006bef6b357' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
linux /boot/vmlinuz-5.3.0-28-generic root=UUID=10489275-e98e-44df-821c-b006bef6b357 ro recovery nomodeset
initrd /boot/initrd.img-5.3.0-28-generic
}
}
when boot into
menuentry "ACRN Multiboot Ubuntu"
------------------------------------------------------------------
发送时间:2020年8月20日(星期四)
14:03
主 题:Re:
回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?
Hi Xu Teng
Do you build acrn with RELEASE=0?
If yes; you can get Hypervisor log for ACRN boot with the same cable connection; as well you can get console log with native boot.
Please boot with native and share /boot/grub/grub.cfg and the picture about grub hung.
Thanks!
BTW:
Using you dell-optiplex.xml and dell-optiplex-industry.xml; I make one acrn.bin.
It works well on KBLNUC.
Following is the boot log:
GNU GRUB version 2.02
+----------------------------------------------------------------------------+
| Ubuntu |
| Advanced options for Ubuntu |
| Ubuntu 18.04.3 LTS (18.04) (on /dev/nvme0n1p3) |
| Advanced options for Ubuntu 18.04.3 LTS (18.04) (on /dev/nvme0n1p3) |
| System setup |
|*ACRN |
| |
| |
| |
| |
| |
+----------------------------------------------------------------------------+
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, `e' to edit the commands
before booting or `c' for a command-line. ESC to return
previous menu.
GNU GRUB version 2.02
+----------------------------------------------------------------------------+
| |^
| load_video |
| insmod gzio |
| insmod part_gpt |
| insmod ext2 |
| search --no-floppy --fs-uuid --set "05c733f7-0c33-40b8-9e15-8c6a7e6d52\|
|f1" |
|echo $root |
|echo 'loading ACRN...' |
|multiboot2 /boot/acrn.bin root=PARTUUID="9c0abefe-e0f4-4ef5-95c3-3af181b21c\|
|89" |
|module2 /boot/sos_bzImage Linux_bzImage |v
+----------------------------------------------------------------------------+
Minimum Emacs-like screen editing is supported. TAB lists
completions. Press Ctrl-x or F10 to boot, Ctrl-c or F2 for
a command-line or ESC to discard edits and return to the GRUB menu.
Booting a command list
hd1,gpt2
loading ACRN...
WARNING: no console will be available to OS
Multiboot2 Bootloader: GRUB 2.02-2ubuntu8.17
ACRN Hypervisor
calibrate_tsc, tsc_khz=2100000
[52475342us][cpu=0][(null)][sev=2][seq=1]:HV version 2.1-2020-08-21 01:04:11-49e2518a-dirty DBG (daily tag:acrn-2020w32.2-180000p)
dell-optiplex-industry@dell-optiplex build by root with acrn-config, start time 52466156us
[52496667us][cpu=0][(null)][sev=2][seq=2]:API version 1.0
[52502414us][cpu=0][(null)][sev=2][seq=3]:Detect processor: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
[52512248us][cpu=0][(null)][sev=1][seq=4]:SECURITY WARNING!!!!!!
[52518650us][cpu=0][(null)][sev=1][seq=5]:Please apply the latest CPU uCode patch!
[52790529us][cpu=0][(null)][sev=2][seq=32]:Start VM id: 0 name: ACRN SOS VM
[53196575us][cpu=0][vm0:vcpu0][sev=3][seq=35]:vlapic: Start Secondary VCPU1 for VM[0]...
[53214386us][cpu=0][vm0:vcpu0][sev=3][seq=37]:vlapic: Start Secondary VCPU2 for VM[0]...
[53232209us][cpu=0][vm0:vcpu0][sev=3][seq=39]:vlapic: Start Secondary VCPU3 for VM[0]...
[53609010us][cpu=0][vm0:vcpu0][sev=2][seq=41]:vpci_write_cfg 0:14.1 not found! off: 0x85, val: 0xfe
[56777001us][cpu=1][vm0:vcpu1][sev=2][seq=42]:vpci_write_cfg 0:1f.1 not found! off: 0xe1, val: 0x0
[56786868us][cpu=1][vm0:vcpu1][sev=2][seq=43]:vpci_write_cfg 0:1f.1 not found! off: 0xe1, val: 0xff
sd 1:0:0:0: [sdb] Asking for cache data failed
sd 1:0:0:0: [sdb] Assuming drive cache: write through
Ubuntu 18.04.1 LTS acrn-NUC7i7BNH ttyS0
acrn-NUC7i7BNH login:
BR.
Fuzhong
From:
acrn-users@... <acrn-users@...>
On Behalf Of "??
Sent: Thursday, August 20, 2020 11:43 AM
To: acrn-users <acrn-users@...>
Subject:
回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?
how to get the hypervisor log in native boot mode ?
DATONG PUYUN BIG DATA Co.,LTD.
地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室
北京 \
上海 \ 杭州 \
西安 \ 太原 \ 大同
保密声明:
此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。
CONFIDENTIALITY NOTICE:
The information contained in this transmission may contain privileged
and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution
or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message.
------------------------------------------------------------------
发送时间:2020年8月20日(星期四)
11:36
主 题:Re:
回复:[acrn-users] Intel i5-6500T skylake not supported ?
Hi Xu Teng
Please also share your scenario xml.
Do you have any hypervisor log for this issue?
BR.
Fuzhong
From:
acrn-users@... <acrn-users@...>
On Behalf Of "??
Sent: Thursday, August 20, 2020 11:18 AM
To: acrn-users <acrn-users@...>
Subject:
回复:[acrn-users] Intel i5-6500T skylake not supported ?
I generated the board and scenario xmls using acrn config tools , rebuilt the hypervisor and kernel , update grub , but still stuck ...
root@acrn-OptiPlex-5040:~# cat /proc/cpuinfo |grep processor
processor : 0
processor : 1
processor : 2
processor : 3
root@acrn-OptiPlex-5040:~# dmesg |grep ACRN
[ 0.878968] ACRNTrace: acrn_trace: not support acrn hypervisor!
[ 0.878971] ACRN HVLog: acrn_hvlog: not running under acrn hypervisor!
root@acrn-OptiPlex-5040:~# uname -r
5.4.43-PKT-200203T060100Z
board xml and cpuinfo in the attached files
------------------------------------------------------------------
发送时间:2020年8月19日(星期三)
15:29
主 题:Re: [acrn-users] Intel i5-6500T skylake not supported ?
Hi Xu Teng
Thanks for trying acrn
on dell optiplex.
Please help to boot with native and run:
/proc/cpuinfo |grep processor
For new platform, please refer following guide to generate board xml:
https://projectacrn.github.io/latest/tutorials/acrn_configuration_tool.html#
BR.
Fuzhong
From:
acrn-users@... <acrn-users@...>
On Behalf Of "??
Sent: Wednesday, August 19, 2020 2:29 PM
To: acrn-users <acrn-users@...>
Subject: [acrn-users] Intel i5-6500T skylake not supported ?
we have tryed to install sos (ubuntu-18.04) and uos(ubuntu-18.04) on a dell optiplex( i5-6500T 16GB nvme + sata), build acrn hypervisor and kernel , update
the grub , these steps all OK
but when we reboot to the acrn kernel for sos , the grub got stuck
we noticed that now acrn support apollo lake and kaby lake CPU on its website , does it means that the acrn hypervisor or kernel
need some special features of apollo lake and kaby lake while other intel cpu family do not have?
DATONG PUYUN BIG DATA Co.,LTD.
地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室
北京 \
上海 \ 杭州 \
西安 \ 太原 \ 大同
保密声明:
此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。
CONFIDENTIALITY NOTICE:
The information contained in this transmission may contain privileged
and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution
or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message.