Topics

回复:回复:[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.

 

 



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.