Bug 7690 - 海光 Hygon C86 5280 KVM模块支持异常
Summary: 海光 Hygon C86 5280 KVM模块支持异常
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 7
Classification: Anolis OS
Component: kernel - rhck (show other bugs) kernel - rhck
Version: 7.9
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-07 15:10 UTC by b1uecream
Modified: 2024-01-02 11:04 UTC (History)
2 users (show)

See Also:


Attachments
dmesg (93.70 KB, text/plain)
2023-12-07 16:43 UTC, b1uecream
Details

Note You need to log in before you can comment on or make changes to this bug.
Description b1uecream 2023-12-07 15:10:07 UTC
Description of problem:
在使用kvm的时候,加载内核模块出错:

modprobe kvm-amd
modprobe: ERROR: could not insert 'kvm_amd': Operation not supported

dmesg | grep kvm返回信息:

[    8.799476] kvm: no hardware support
[    8.817276] kvm: no hardware support

uefi bios中已经将 cpu svm 打开。

出现问题的内核:
3.10.0-1160.90.1.0.1.an7.x86_64
3.10.0-1160.an7.x86_64

cpu信息:

lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                32
On-line CPU(s) list:   0-31
Thread(s) per core:    1
Core(s) per socket:    1
座:                 32
NUMA 节点:         2
厂商 ID:           HygonGenuine
CPU 系列:          24
型号:              1
型号名称:        Hygon C86 5280 16-core Processor
步进:              1
CPU MHz:             1600.000
CPU max MHz:           2500.0000
CPU min MHz:           1600.0000
BogoMIPS:            3199.54
虚拟化:           AMD-V
NUMA 节点0 CPU:    0-7,16-23
NUMA 节点1 CPU:    8-15,24-31
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm nopl aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 cpb hw_pstate rsb_ctxsw ibpb fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 b1uecream 2023-12-07 16:43:54 UTC
Created attachment 914 [details]
dmesg
Comment 2 b1uecream 2024-01-02 11:04:13 UTC
安装ANCK内核后解决该问题。

使用国产芯片的用户可以默认安装ANCK内核。