Bug 8146 - 【loongarch】anolis23无法启动anolis 8 os
Summary: 【loongarch】anolis23无法启动anolis 8 os
Status: VERIFIED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: ARCH(unspecified) (show other bugs) ARCH(unspecified)
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-01 16:34 UTC by lixianglai
Modified: 2024-03-22 10:43 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lixianglai loongson_group 2024-02-01 16:34:02 UTC
Description of problem:
loongarch架构下,anolis23虚拟机无法启动anoli 8 iso

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.在anolis23 loongarch物理机上安装qemu
2.使用qemu安装anolis 8 的虚拟机
3.发现虚拟机无法进入系统

Actual results:
虚拟机无法启动anolis8系统

Expected results:
虚拟机可以正常启动anolis8系统

Additional info:
问题是因为anolis23内核在编译的时候没有使能编译选项
+CONFIG_CPU_HAS_LSX=y
+CONFIG_CPU_HAS_LASX=y

导致的
Comment 1 小龙 admin 2024-02-01 16:42:25 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2733
Comment 2 liqianwen loongson_group 2024-03-22 10:43:04 UTC
ANCK016.3内核版本上已复测,已解决

#内核版本
5.10.134-16.3_rc1.an23.loongarch64
#系统版本
# cat /etc/os-release 
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

#软件版本
virt-manager-4.1.0-4.an23.noarch
libvirt-9.9.0-1.an23.loongarch64
qemu-6.2.0-4.an23.loongarch64

【Anolis os 23 iso下载】
https://build.openanolis.cn/kojifiles/output/anolis-23-20240124.11/compose/os/loongarch64/iso/anolis-23-loongarch64-dvd1-20240124.11.iso

【更新内核至5.10.134-16.3】
https://build.openanolis.cn/kojifiles/scratch/anrel/task_807948/

【yum源配置】
baseurl=https://build.openanolis.cn/kojifiles/output/anolis-23-20240111.16/compose/os/loongarch64/os/

【Anolis os 8.8 iso下载】
http://mirrors.openanolis.cn/anolis/8/isos/QU1/loongarch64/AnolisOS-8.8-loongarch64-dvd.iso