Date   

Re: 回复:回复:回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

Liu, Fuzhong
 

Hi Xu Teng

The headed type: 0x28 is strange .

Need to check which device it is for 5a:11.0.

 

Please boot into native and run following cmdline:

sudo lspci -s 5a:11.0 -vx

 

Thanks!

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of "??
Sent: Monday, August 24, 2020 10:04 AM
To: acrn-users@...
Subject: 回复:回复:回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

 

the serial console log when acrn boot failed 

 

```

Welcome to minicom 2.7.1

OPTIONS: 
Compiled on Oct  6 2019, 23:16:03.
Port /dev/tty.usbserial-142420, 09:53:36

Press Meta-Z for help on special keys

Detect bootloader: ACRN UEFI loader
ACRN Hypervisor
calibrate_tsc, tsc_khz=2500000
[17818300us][cpu=0][(null)][sev=2][seq=2]:HV version 2.0-2020-08-20 14:37:29-978f8990-dirty DBG (daily tag:acrn-2020w25.7-180000p) build by root, start time 17810488us
[17833681us][cpu=0][(null)][sev=2][seq=3]:API version 1.0
[17839103us][cpu=0][(null)][sev=2][seq=4]:Detect processor: Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz
[17869208us][cpu=0][(null)][sev=3][seq=6]:init_pdev, 5a:11.0 unsupported headed type: 0x28

[17877858us][cpu=0][(null)][sev=3][seq=7]:init_pdev, 5a:13.0 unsupported headed type: 0x28

 

```

Thanks

xuteng

 

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020820(星期四) 15:46

主 题:Re: 回复:回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

 

Hi Xu Teng

Can you get console log for native boot?

Need hv console log to check  what happened with following menu.

 

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 
}

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.

 

BTW:

Suppose VMX and VT-D are enabled in your BIOS already.

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of "??
Sent: Thursday, August 20, 2020 3:04 PM
To: acrn-users <acrn-users@...>
Subject: 回复:回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

 

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

my grub.cfg :

```

### 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" 

the grub got stuck 

 

 

 

 

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020820(星期四) 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 ?

 

attach the scenario xml 

 

how to get the hypervisor log in native boot mode ?

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9

邮编/P.C.712000

手机/Mob189 9128 7656

邮箱/E-mailxuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020820(星期四) 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 ?

 

Hi, Fuzhong !

Thanks for your reply.

I generated the board and scenario xmls using acrn config tools , rebuilt the hypervisor and kernel , update grub , but still stuck ...

 

This is some info:

 

```

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

 

Thanks !

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020819(星期三) 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 ?

 

Hi folks:

    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?

    Please clarify.

    Thanks!

    xuteng

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9

邮编/P.C.712000

手机/Mob189 9128 7656

邮箱/E-mailxuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

 

 

 

 


回复:回复:回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

"徐滕
 

the serial console log when acrn boot failed  :

```
Welcome to minicom 2.7.1

OPTIONS: 
Compiled on Oct  6 2019, 23:16:03.
Port /dev/tty.usbserial-142420, 09:53:36

Press Meta-Z for help on special keys

Detect bootloader: ACRN UEFI loader
ACRN Hypervisor
calibrate_tsc, tsc_khz=2500000
[17818300us][cpu=0][(null)][sev=2][seq=2]:HV version 2.0-2020-08-20 14:37:29-978f8990-dirty DBG (daily tag:acrn-2020w25.7-180000p) build by root, start time 17810488us
[17833681us][cpu=0][(null)][sev=2][seq=3]:API version 1.0
[17839103us][cpu=0][(null)][sev=2][seq=4]:Detect processor: Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz
[17869208us][cpu=0][(null)][sev=3][seq=6]:init_pdev, 5a:11.0 unsupported headed type: 0x28

[17877858us][cpu=0][(null)][sev=3][seq=7]:init_pdev, 5a:13.0 unsupported headed type: 0x28

```
Thanks
xuteng


------------------------------------------------------------------
发件人:Liu, Fuzhong <fuzhong.liu@...>
发送时间:2020年8月20日(星期四) 15:46
收件人:acrn-users@... <acrn-users@...>
主 题:Re: 回复:回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

Hi Xu Teng

Can you get console log for native boot?

Need hv console log to check  what happened with following menu.

 

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 
}

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.

 

BTW:

Suppose VMX and VT-D are enabled in your BIOS already.

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of "??
Sent: Thursday, August 20, 2020 3:04 PM
To: acrn-users <acrn-users@...>
Subject: 回复:回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

 

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

my grub.cfg :

```

### 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" 

the grub got stuck 

 

 

 

 

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020820(星期四) 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 ?

 

attach the scenario xml 

 

how to get the hypervisor log in native boot mode ?

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室

邮编/P.C.:712000

手机/Mob:189 9128 7656

邮箱/E-mail:xuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020820(星期四) 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 ?

 

Hi, Fuzhong !

Thanks for your reply.

I generated the board and scenario xmls using acrn config tools , rebuilt the hypervisor and kernel , update grub , but still stuck ...

 

This is some info:

 

```

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

 

Thanks !

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020819(星期三) 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 ?

 

Hi folks:

    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?

    Please clarify.

    Thanks!

    xuteng

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室

邮编/P.C.:712000

手机/Mob:189 9128 7656

邮箱/E-mail:xuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

 

 

 



Re: cmdline problem on Ubuntu SOS

Liu, Fuzhong
 

Hi Siming

Following kernel cmdline is the default values of acrn.bin:

root=/dev/sda3 console=ttyS0 rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3 i915.nuclear_pageflip=1 hvlog=2M@0xe00000 memmap=0x200000$0xe00000

 

The parameters after multiboot 2 are appended to default ones and the parameters after module2  overwrite the default ones. Please check this link for detail:https://projectacrn.github.io/latest/tutorials/using_grub.html

 

My understanding is you should tune xenomai kernel cmdline for xenomai UOS performance. Not sos kernel cmdline.

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Saturday, August 22, 2020 1:33 PM
To: acrn-users@...
Subject: [acrn-users] cmdline problem on Ubuntu SOS

 

hi,

    I builded the V2.0 with ubuntu on board NUC7i5BNH. It works fine, but there is something wrong in cmdline.

 $ cat /proc/cmdline 

root=/dev/sda3 console=ttyS0 rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3 i915.nuclear_pageflip=1 hvlog=2M@0xe00000 memmap=0x200000$0xe00000 root=PARTUUID=3c7099ff-83a5-49e4-999e-9dd9c322e1a5 clocksource=tsc tsc=reliable nmi_watchdog=0 nosoftlockup idle=poll noht audit=0 irqaffinity=0 isolcpus=1-3 rcu_nocbs=1-3 nohz_full=1-3 intel_pstate=disable intel.max_cstate=0 intel_idle.max_cstate=0 processor.max_cstate=0 processor_idle.max_cstate=0 hugepagesz=1G hugepages=12

 

1.Where is the sda3 parameter comes from?  I just have one NVMe disk. 

2.Why the isolcpus did not work on SOS?  I set the boot paramenter in /etc/grub.d/40-custom, but the cpus are not isolated according to the file /proc/interrupts.

I just want to optimize the SOS system parameters to run a xenomai UOS.

 

Thanks.

siming


cmdline problem on Ubuntu SOS

siming
 

hi,
    I builded the V2.0 with ubuntu on board NUC7i5BNH. It works fine, but there is something wrong in cmdline.
 $ cat /proc/cmdline 
root=/dev/sda3 console=ttyS0 rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3 i915.nuclear_pageflip=1 hvlog=2M@0xe00000 memmap=0x200000$0xe00000 root=PARTUUID=3c7099ff-83a5-49e4-999e-9dd9c322e1a5 clocksource=tsc tsc=reliable nmi_watchdog=0 nosoftlockup idle=poll noht audit=0 irqaffinity=0 isolcpus=1-3 rcu_nocbs=1-3 nohz_full=1-3 intel_pstate=disable intel.max_cstate=0 intel_idle.max_cstate=0 processor.max_cstate=0 processor_idle.max_cstate=0 hugepagesz=1G hugepages=12

1.Where is the sda3 parameter comes from?  I just have one NVMe disk. 
2.Why the isolcpus did not work on SOS?  I set the boot paramenter in /etc/grub.d/40-custom, but the cpus are not isolated according to the file /proc/interrupts.
I just want to optimize the SOS system parameters to run a xenomai UOS.

Thanks.
siming


回复:回复:回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

"徐滕
 

sorry I missunderstand the 'native boot' for Normal Boot without acrn hypervisor and kernel 

VMX and VT-D already enabled in the BIOS

arcn.bin efi and bzImage are attached. 

Thanks for your help

BR



------------------------------------------------------------------
发件人:Liu, Fuzhong <fuzhong.liu@...>
发送时间:2020年8月20日(星期四) 15:46
收件人:acrn-users@... <acrn-users@...>
主 题:Re: 回复:回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

Hi Xu Teng

Can you get console log for native boot?

Need hv console log to check  what happened with following menu.

 

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 
}

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.

 

BTW:

Suppose VMX and VT-D are enabled in your BIOS already.

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of "??
Sent: Thursday, August 20, 2020 3:04 PM
To: acrn-users <acrn-users@...>
Subject: 回复:回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

 

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

my grub.cfg :

```

### 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" 

the grub got stuck 

 

 

 

 

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020820(星期四) 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 ?

 

attach the scenario xml 

 

how to get the hypervisor log in native boot mode ?

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室

邮编/P.C.:712000

手机/Mob:189 9128 7656

邮箱/E-mail:xuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020820(星期四) 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 ?

 

Hi, Fuzhong !

Thanks for your reply.

I generated the board and scenario xmls using acrn config tools , rebuilt the hypervisor and kernel , update grub , but still stuck ...

 

This is some info:

 

```

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

 

Thanks !

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020819(星期三) 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 ?

 

Hi folks:

    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?

    Please clarify.

    Thanks!

    xuteng

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室

邮编/P.C.:712000

手机/Mob:189 9128 7656

邮箱/E-mail:xuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

 

 

 



Re: 回复:回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

Liu, Fuzhong
 

Hi Xu Teng

Can you get console log for native boot?

Need hv console log to check  what happened with following menu.

 

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 
}

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.

 

BTW:

Suppose VMX and VT-D are enabled in your BIOS already.

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of "??
Sent: Thursday, August 20, 2020 3:04 PM
To: acrn-users <acrn-users@...>
Subject: 回复:回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

 

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

my grub.cfg :

```

### 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" 

the grub got stuck 

 

 

 

 

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020820(星期四) 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 ?

 

attach the scenario xml 

 

how to get the hypervisor log in native boot mode ?

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9

邮编/P.C.712000

手机/Mob189 9128 7656

邮箱/E-mailxuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020820(星期四) 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 ?

 

Hi, Fuzhong !

Thanks for your reply.

I generated the board and scenario xmls using acrn config tools , rebuilt the hypervisor and kernel , update grub , but still stuck ...

 

This is some info:

 

```

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

 

Thanks !

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020819(星期三) 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 ?

 

Hi folks:

    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?

    Please clarify.

    Thanks!

    xuteng

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9

邮编/P.C.712000

手机/Mob189 9128 7656

邮箱/E-mailxuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

 

 

 


回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

"徐滕
 


acrn boot failed so I run into native mode and get this 

BR
XuTeng


------------------------------------------------------------------
发件人:Yin, Fengwei <fengwei.yin@...>
发送时间:2020年8月20日(星期四) 14:05
收件人:acrn-users <acrn-users@...>
主 题:Re: 回复:[acrn-users] Intel i5-6500T skylake not supported ?

"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!"


Looks like the kernel is not booted with ACRN. Can you confirm how you boot ACRN?


Regards
Yin, Fengwei
------------------------------------
On 8/20/20 11:18 AM, "徐滕 wrote:
Hi, Fuzhong !
Thanks for your reply.
I generated the board and scenario xmls using acrn config tools , rebuilt the hypervisor and kernel , update grub , but still stuck ...

This is some info:

```
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

Thanks !

------------------------------------------------------------------
发件人:Liu, Fuzhong <fuzhong.liu@...>
发送时间: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 ?

 

Hi folks:

    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?

    Please clarify.

    Thanks!

    xuteng

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室

邮编/P.C.:712000

手机/Mob:189 9128 7656

邮箱/E-mail:xuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 




回复:回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

"徐滕
 

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
my grub.cfg :
```
### 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
the grub got stuck 





------------------------------------------------------------------
发件人:Liu, Fuzhong <fuzhong.liu@...>
发送时间:2020年8月20日(星期四) 14:03
收件人:acrn-users@... <acrn-users@...>
主 题: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 ?

 

attach the scenario xml 

 

how to get the hypervisor log in native boot mode ?

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室

邮编/P.C.:712000

手机/Mob:189 9128 7656

邮箱/E-mail:xuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020820(星期四) 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 ?

 

Hi, Fuzhong !

Thanks for your reply.

I generated the board and scenario xmls using acrn config tools , rebuilt the hypervisor and kernel , update grub , but still stuck ...

 

This is some info:

 

```

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

 

Thanks !

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020819(星期三) 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 ?

 

Hi folks:

    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?

    Please clarify.

    Thanks!

    xuteng

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室

邮编/P.C.:712000

手机/Mob:189 9128 7656

邮箱/E-mail:xuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

 

 



Re: 回复:[acrn-users] Intel i5-6500T skylake not supported ?

Yin, Fengwei <fengwei.yin@...>
 

"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!"


Looks like the kernel is not booted with ACRN. Can you confirm how you boot ACRN?


Regards
Yin, Fengwei
------------------------------------
On 8/20/20 11:18 AM, "徐滕 wrote:

Hi, Fuzhong !
Thanks for your reply.
I generated the board and scenario xmls using acrn config tools , rebuilt the hypervisor and kernel , update grub , but still stuck ...

This is some info:

```
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

Thanks !

------------------------------------------------------------------
发件人:Liu, Fuzhong <fuzhong.liu@...>
发送时间: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 ?

 

Hi folks:

    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?

    Please clarify.

    Thanks!

    xuteng

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室

邮编/P.C.:712000

手机/Mob:189 9128 7656

邮箱/E-mail:xuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 



Re: 回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

Liu, Fuzhong
 

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 ?

 

attach the scenario xml 

 

how to get the hypervisor log in native boot mode ?

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9

邮编/P.C.712000

手机/Mob189 9128 7656

邮箱/E-mailxuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020820(星期四) 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 ?

 

Hi, Fuzhong !

Thanks for your reply.

I generated the board and scenario xmls using acrn config tools , rebuilt the hypervisor and kernel , update grub , but still stuck ...

 

This is some info:

 

```

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

 

Thanks !

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020819(星期三) 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 ?

 

Hi folks:

    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?

    Please clarify.

    Thanks!

    xuteng

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9

邮编/P.C.712000

手机/Mob189 9128 7656

邮箱/E-mailxuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

 

 


回复:回复:[acrn-users] Intel i5-6500T skylake not supported ?

"徐滕
 

attach the scenario xml 

how to get the hypervisor log in native boot mode ?

 
徐滕     架构师
大同普云大数据有限公司
DATONG PUYUN BIG DATA Co.,LTD.
地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室
邮编/P.C.:712000
手机/Mob:189 9128 7656
邮箱/E-mail:xuteng@...
北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.


------------------------------------------------------------------
发件人:Liu, Fuzhong <fuzhong.liu@...>
发送时间:2020年8月20日(星期四) 11:36
收件人:acrn-users@... <acrn-users@...>
主 题: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 ?

 

Hi, Fuzhong !

Thanks for your reply.

I generated the board and scenario xmls using acrn config tools , rebuilt the hypervisor and kernel , update grub , but still stuck ...

 

This is some info:

 

```

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

 

Thanks !

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020819(星期三) 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 ?

 

Hi folks:

    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?

    Please clarify.

    Thanks!

    xuteng

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室

邮编/P.C.:712000

手机/Mob:189 9128 7656

邮箱/E-mail:xuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

 



Re: 回复:[acrn-users] Intel i5-6500T skylake not supported ?

Liu, Fuzhong
 

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 ?

 

Hi, Fuzhong !

Thanks for your reply.

I generated the board and scenario xmls using acrn config tools , rebuilt the hypervisor and kernel , update grub , but still stuck ...

 

This is some info:

 

```

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

 

Thanks !

 

------------------------------------------------------------------

发件人:Liu, Fuzhong <fuzhong.liu@...>

发送时间:2020819(星期三) 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 ?

 

Hi folks:

    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?

    Please clarify.

    Thanks!

    xuteng

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9

邮编/P.C.712000

手机/Mob189 9128 7656

邮箱/E-mailxuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 

 


回复:[acrn-users] Intel i5-6500T skylake not supported ?

"徐滕
 

Hi, Fuzhong !
Thanks for your reply.
I generated the board and scenario xmls using acrn config tools , rebuilt the hypervisor and kernel , update grub , but still stuck ...

This is some info:

```
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

Thanks !

------------------------------------------------------------------
发件人:Liu, Fuzhong <fuzhong.liu@...>
发送时间:2020年8月19日(星期三) 15:29
收件人:acrn-users@... <acrn-users@...>
主 题: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 ?

 

Hi folks:

    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?

    Please clarify.

    Thanks!

    xuteng

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室

邮编/P.C.:712000

手机/Mob:189 9128 7656

邮箱/E-mail:xuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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 ACRN Project Technical Community Meeting Minutes - WW34'20

Zou, Terry
 

ACRN Project TCM - 19th August 2020
Location
  1. Online by Zoom: https://zoom.com.cn/j/320664063   
Attendees (Total 25, 19/8)
 
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:
a . Video Conference Tool for TCM:
‘Video Quality’ and accessibility issue of Zoom, especially in China. We are seeking other tool for ACRN TCM: Teams, Webex, Tencent Meeting are options, welcome all your preference and ideas, thanks.
b.  De-privilege mode to Grub boot change: 
De-privileged boot mode was used with Clear Linux SOS, it de-privilege UEFI execution environment from native to Service VM non-root mode, but must ensure any hardware resource touched by UEFI FW before de-privilege must keep the same configuration after boot to service VM. It brings lots of scalability issues when porting ACRN to new platforms. 
So we plan to remove de-privilege mode, and go direct boot mode only, you can find grub boot doc here: https://projectacrn.github.io/latest/tutorials/using_grub.html.  Move document updates are planned in the coming V2.2 release.
Feel free to discuss any concerns of this change in mailing list, thanks.
 
  1. WW34’20 Safety VM introduction‘ by Mao, Junjie
Download foil from ACRN Presentation->WW34’20
Description:In this session, we will present the major functionalities of the safety VM and how ACRN supports the safety VM in completing the safety-critical tasks. 
 
  1. All: Community open discussion.
Q&A: 
 
  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@... 
 
 


Re: Intel i5-6500T skylake not supported ?

Liu, Fuzhong
 

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 ?

 

Hi folks:

    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?

    Please clarify.

    Thanks!

    xuteng

 

 

徐滕     架构师

大同普云大数据有限公司

DATONG PUYUN BIG DATA Co.,LTD.

地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9

邮编/P.C.712000

手机/Mob189 9128 7656

邮箱/E-mailxuteng@...

北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.

 


Intel i5-6500T skylake not supported ?

"徐滕
 

Hi folks:
    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?
    Please clarify.
    Thanks!
    xuteng

 
徐滕     架构师
大同普云大数据有限公司
DATONG PUYUN BIG DATA Co.,LTD.
地址/Add:西安市莲湖区南二环西段5号捷瑞智能大厦11F-9室
邮编/P.C.:712000
手机/Mob:189 9128 7656
邮箱/E-mail:xuteng@...
北京 \ 上海 \ 杭州 \ 西安 \ 太原 \ 大同

保密声明:

此文件中可能含有机密类信息,仅限于上方提到的人员使用。若非以上人员或负责将该信息传送给上述人员的职员或代理人,严禁对此文件作任何形式的汇报、散布、传播及复制。若非此文件的指定收件人,请立即以邮件形式联系发件人并销毁所有原始文件的拷贝。

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.



Re: Problem with Using Windows as Guest VM on ACRN

Liu, Fuzhong
 

Hi Siming,

Please raise a git issue, will follow up in github.

Thanks!

 

BR.

Fuzhong

 

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Saturday, August 15, 2020 12:03 PM
To: acrn-users@...
Subject: [acrn-users] Problem with Using Windows as Guest VM on ACRN

 

hi,

   Following the instructions of the doc https://projectacrn.github.io/1.6/tutorials/using_windows_as_uos.html , but it did not show windows installation on the HDMI screen.

This is my build steps:

 My board is NUC7i5BNB, Clear linux verson is 32680, I update the hypervisor and kernel to release 2.0 with the boot menu ACRNGT Service VM.

root@clr-sata~ # uname -a

Linux clr-sata 5.4.43-PKT-200203T060100Z #3 SMP PREEMPT Tue Aug 4 10:24:36 CST 2020 x86_64 GNU/Linux

root@clr-sata~ # acrn-dm -v

DM version is: 2.0-64896ac9 (daily tag:acrn-2020w25.7-180000p), build by acrn@2020-08-04 10:38:21

I login the NUC with ths ssh on another pc as the second monitor. The first monitor is the hdmi of the NUC.

There is something wrong when I set the weston desktop.

# useradd cl_uos

# passwd cl_uos

# usermod -G wheel -a cl_uos

# systemctl enable weston@cl_uos

# systemctl start weston@cl_uos

reboot into Clear Linux OS (acrn) --the origin SOS,  the system show the desktop, like the picture1.

reboot into Tht ACRNGT Service VM --the updated  hypervisor and kernel SOS, the system show the login screen but can not input , like the picture2.

Run the install_win.sh in the ACRNGT Service VM,  I think the UOS is running according to the log, but the HDMI show like the picture3.

I'm not sure the set of the weston desktop and use the ssh as the second monitor.

Is there something wrong in the above steps?

 

my acrngt.conf is different from the instructions of the doc.  

add 

+ initrd /EFI/org.clearlinux/freestanding-00-intel-ucode.cpio

+ initrd /EFI/org.clearlinux/freestanding-i915-firmware.cpio.xz

otherwise the ACRNGT Service can't bootup.

 

Thanks

SiMing

 

 

 

root@clr-sata~/vm-win # ./install_win.sh 

cpu1 online=1

cpu2 online=1

cpu3 online=1

acrn-dm commond

passed gvt-g optargs low_gm 64, high_gm 448, fence 8

SW_LOAD: get ovmf path /usr/share/acrn/bios/OVMF.fd, size 0x200000

vm_create: win_vm1

VHM api version 1.0

vm_setup_memory: size=0x100000000

open hugetlbfs file /run/hugepage/acrn/huge_lv1/win_vm1/D279543825D611E8864ECB7A18B34643

open hugetlbfs file /run/hugepage/acrn/huge_lv2/win_vm1/D279543825D611E8864ECB7A18B34643

level 0 free/need pages:0/1 page size:0x200000

level 1 free/need pages:0/4 page size:0x40000000

to reserve more free pages:

to reserve pages (+orig 0): echo 4 > /sys/kernel/mm/hugepages/hugepages-1048576kB/nr_hugepages

to reserve pages (+orig 0): echo 1 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages

now enough free pages are reserved!

 

try to setup hugepage with:

            level 0 - lowmem 0x0, biosmem 0x200000, highmem 0x0

            level 1 - lowmem 0x80000000, biosmem 0x0, highmem 0x80000000

total_size 0x200000000

 

mmap ptr 0x0x7f7b17e5a000 -> baseaddr 0x0x7f7b40000000

mmap 0x80000000@0x7f7b40000000

touch 2 pages with pagesz 0x40000000

mmap 0x80000000@0x7f7c80000000

touch 2 pages with pagesz 0x40000000

mmap 0x200000@0x7f7c3fe00000

touch 1 pages with pagesz 0x200000

 

really setup hugepage with:

            level 0 - lowmem 0x0, biosmem 0x200000, highmem 0x0

            level 1 - lowmem 0x80000000, biosmem 0x0, highmem 0x80000000

vm_init_vdevs

No correct pm notify channel given

pci init hostbridge

pci init lpc

pci init pci-gvt

polling 34...

             Listening 34...

                            pci init virtio-blk

pci init virtio-net

pci init xhci

pci init ahci

pci init ahci

tpm: init_vtpm2:Invalid socket path!

                                    /tmp/dm.XmFQcNt     24:     Device (PCI0)

                                                                             Warning  3073 -        Multiple types ^  (Device object requires either a _HID or _ADR, but not both)

 

       /tmp/dm.XmFQcNt    827:     Processor (CPU0, 0x00, 0x00000000, 0x00) {}

                                                                              Warning  3168 -                          ^ Legacy Processor() keyword detected. Use Device() keyword instead.

 

                acrn_sw_load

                            SW_LOAD: partition blob /usr/share/acrn/bios/OVMF.fd size 2097152 copy to guest 0xffe00000

                                                                                                                      SW_LOAD: build e820 9 entries to addr: 0x7f7b400ef008

SW_LOAD: entry[0]: addr 0x0000000000000000, size 0x00000000000a0000,  type 0x1

SW_LOAD: entry[1]: addr 0x00000000000a0000, size 0x0000000000060000,  type 0x2

SW_LOAD: entry[2]: addr 0x0000000000100000, size 0x000000007ff00000,  type 0x1

SW_LOAD: entry[3]: addr 0x0000000080000000, size 0x0000000008000000,  type 0x2

SW_LOAD: entry[4]: addr 0x00000000db000000, size 0x0000000004000000,  type 0x2

SW_LOAD: entry[5]: addr 0x00000000df000000, size 0x0000000001000000,  type 0x2

SW_LOAD: entry[6]: addr 0x00000000e0000000, size 0x0000000020000000,  type 0x2

SW_LOAD: entry[7]: addr 0x0000000100000000, size 0x0000000040000000,  type 0x2

SW_LOAD: entry[8]: addr 0x0000000140000000, size 0x0000000080000000,  type 0x1

SW_LOAD: ovmf_entry 0xfffffff0

                              add_cpu

 

 

picture1:

 

picture2:

 

picture3:

 


Problem with Using Windows as Guest VM on ACRN

siming
 

hi,
   Following the instructions of the doc https://projectacrn.github.io/1.6/tutorials/using_windows_as_uos.html , but it did not show windows installation on the HDMI screen.
This is my build steps:
 My board is NUC7i5BNB, Clear linux verson is 32680, I update the hypervisor and kernel to release 2.0 with the boot menu ACRNGT Service VM.
root@clr-sata~ # uname -a
Linux clr-sata 5.4.43-PKT-200203T060100Z #3 SMP PREEMPT Tue Aug 4 10:24:36 CST 2020 x86_64 GNU/Linux
root@clr-sata~ # acrn-dm -v
DM version is: 2.0-64896ac9 (daily tag:acrn-2020w25.7-180000p), build by acrn@2020-08-04 10:38:21
I login the NUC with ths ssh on another pc as the second monitor. The first monitor is the hdmi of the NUC.
There is something wrong when I set the weston desktop.
# useradd cl_uos
# passwd cl_uos
# usermod -G wheel -a cl_uos
# systemctl enable weston@cl_uos
# systemctl start weston@cl_uos
reboot into Clear Linux OS (acrn) --the origin SOS,  the system show the desktop, like the picture1.
reboot into Tht ACRNGT Service VM --the updated  hypervisor and kernel SOS, the system show the login screen but can not input , like the picture2.
Run the install_win.sh in the ACRNGT Service VM,  I think the UOS is running according to the log, but the HDMI show like the picture3.
I'm not sure the set of the weston desktop and use the ssh as the second monitor.
Is there something wrong in the above steps?

my acrngt.conf is different from the instructions of the doc.  
add 
+ initrd /EFI/org.clearlinux/freestanding-00-intel-ucode.cpio
+ initrd /EFI/org.clearlinux/freestanding-i915-firmware.cpio.xz
otherwise the ACRNGT Service can't bootup.

Thanks
SiMing



root@clr-sata~/vm-win # ./install_win.sh 
cpu1 online=1
cpu2 online=1
cpu3 online=1
acrn-dm commond
passed gvt-g optargs low_gm 64, high_gm 448, fence 8
SW_LOAD: get ovmf path /usr/share/acrn/bios/OVMF.fd, size 0x200000
vm_create: win_vm1
VHM api version 1.0
vm_setup_memory: size=0x100000000
open hugetlbfs file /run/hugepage/acrn/huge_lv1/win_vm1/D279543825D611E8864ECB7A18B34643
open hugetlbfs file /run/hugepage/acrn/huge_lv2/win_vm1/D279543825D611E8864ECB7A18B34643
level 0 free/need pages:0/1 page size:0x200000
level 1 free/need pages:0/4 page size:0x40000000
to reserve more free pages:
to reserve pages (+orig 0): echo 4 > /sys/kernel/mm/hugepages/hugepages-1048576kB/nr_hugepages
to reserve pages (+orig 0): echo 1 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
now enough free pages are reserved!

try to setup hugepage with:
level 0 - lowmem 0x0, biosmem 0x200000, highmem 0x0
level 1 - lowmem 0x80000000, biosmem 0x0, highmem 0x80000000
total_size 0x200000000

mmap ptr 0x0x7f7b17e5a000 -> baseaddr 0x0x7f7b40000000
mmap 0x80000000@0x7f7b40000000
touch 2 pages with pagesz 0x40000000
mmap 0x80000000@0x7f7c80000000
touch 2 pages with pagesz 0x40000000
mmap 0x200000@0x7f7c3fe00000
touch 1 pages with pagesz 0x200000

really setup hugepage with:
level 0 - lowmem 0x0, biosmem 0x200000, highmem 0x0
level 1 - lowmem 0x80000000, biosmem 0x0, highmem 0x80000000
vm_init_vdevs
No correct pm notify channel given
pci init hostbridge
pci init lpc
pci init pci-gvt
polling 34...
             Listening 34...
                            pci init virtio-blk
pci init virtio-net
pci init xhci
pci init ahci
pci init ahci
tpm: init_vtpm2:Invalid socket path!
                                    /tmp/dm.XmFQcNt     24:     Device (PCI0)
                                                                             Warning  3073 -        Multiple types ^  (Device object requires either a _HID or _ADR, but not both)

       /tmp/dm.XmFQcNt    827:     Processor (CPU0, 0x00, 0x00000000, 0x00) {}
                                                                              Warning  3168 -                          ^ Legacy Processor() keyword detected. Use Device() keyword instead.

                acrn_sw_load
                            SW_LOAD: partition blob /usr/share/acrn/bios/OVMF.fd size 2097152 copy to guest 0xffe00000
                                                                                                                      SW_LOAD: build e820 9 entries to addr: 0x7f7b400ef008
SW_LOAD: entry[0]: addr 0x0000000000000000, size 0x00000000000a0000,  type 0x1
SW_LOAD: entry[1]: addr 0x00000000000a0000, size 0x0000000000060000,  type 0x2
SW_LOAD: entry[2]: addr 0x0000000000100000, size 0x000000007ff00000,  type 0x1
SW_LOAD: entry[3]: addr 0x0000000080000000, size 0x0000000008000000,  type 0x2
SW_LOAD: entry[4]: addr 0x00000000db000000, size 0x0000000004000000,  type 0x2
SW_LOAD: entry[5]: addr 0x00000000df000000, size 0x0000000001000000,  type 0x2
SW_LOAD: entry[6]: addr 0x00000000e0000000, size 0x0000000020000000,  type 0x2
SW_LOAD: entry[7]: addr 0x0000000100000000, size 0x0000000040000000,  type 0x2
SW_LOAD: entry[8]: addr 0x0000000140000000, size 0x0000000080000000,  type 0x1
SW_LOAD: ovmf_entry 0xfffffff0
                              add_cpu


picture1:

picture2:

picture3:


[Announce] ACRN Open Source Ver2.1 Release Notes

Zou, Terry
 

Hi all,

 

We are very pleased to announce Version 2.1 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.1.html

 

What’s New in v2.1

·       Preempt-RT Linux has been validated as a pre-launched realtime VM. See Pre-Launched Preempt-RT Linux Mode in ACRN for more details.

·       A Trusted Platform Module (TPM) MMIO device can be passthroughed to a pre-launched VM (with some limitations discussed in MMIO Device Passthrough). Previously passthrough was only supported for PCI devices.

·       Open Virtual Machine Firmware (OVMF) now uses a Local Advanced Programmable Interrupt Controller (LAPIC) timer as its local time instead of the High Precision Event Timer (HPET). This provides the working timer service for the realtime virtual machine (RTVM) booting process.

·       Grub is the recommended bootloader for ACRN. For more information, see Using GRUB to boot ACRN.

 

See the v2.1 full release notes and documentation for more information about this release including fixed and known issues.

Improvements, updates, and corrections have been made throughout our documentation as well, including these documents:

·       Contribution Guidelines

·       RDT Allocation Feature Supported by Hypervisor

·       ACRN Shared Memory Based Inter-VM Communication

·       MMIO Device Passthrough

·       Virtio-net

·       Build ACRN from Source

·       ACRN Configuration Tool

·       Pre-Launched Preempt-RT Linux Mode in ACRN

·       Enable RDT Configuration

·       Getting Started Guide for ACRN hybrid mode

·       Getting Started Guide for ACRN logical partition mode

·       Launch Windows as the Guest VM on ACRN

·       ACRN Installation via Debian Packages

 

ACRN is a flexible, lightweight reference hypervisor that is built with real-time and safety-criticality in mind. It is optimized to streamline embedded development through an open source platform. Check out What is ACRN introduction for more information. All project ACRN source code is maintained in the https://github.com/projectacrn/acrn-hypervisor repository and includes folders for the ACRN hypervisor, the ACRN device model, tools, and documentation. You can either download this source code as a zip or tar.gz file (see the ACRN v2.1 GitHub release page) or use Git clone and checkout commands:

 

git clone https://github.com/projectacrn/acrn-hypervisor
cd acrn-hypervisor
git checkout v2.1

 

The project’s online technical documentation is also tagged to correspond with a specific release: generated v2.1 documents can be found at https://projectacrn.github.io/2.1/. Documentation for the latest under-development branch is found at https://projectacrn.github.io/latest/.

 

ACRN v2.1 requires Ubuntu 18.04. Follow the instructions in the Getting Started Guide for ACRN Industry Scenario with Ubuntu Service VM to get started with ACRN. We recommend that all developers upgrade to ACRN release v2.1.

 

Best & Regards

Terry


Re: How to keep the downloaded files of the swupd installed?

Yin, Fengwei <fengwei.yin@...>
 

Hi Siming,

On 8/7/2020 5:15 PM, siming wrote:
Hi,
I builded a clr-linux in the NVMe disk, and installed many packs, like vim, net-tools, service-os ...
Now I want build another clr-linux in the Sata disk with the same version. I copied the /var/lib/swupd/ from the NVMe disk to Sata disk.
But when I install vim/net-tools, it still need download the packs.
Does the clr-linux clean the packs after installed? If I want to keep the downloaded files to avoid downloading everytime, what should I do?
This is not a topic on the ACRN mail list. You could ask on clear linux
community.

Regards
Yin, Fengwei

Thanks.

481 - 500 of 1234