Bug 13619 - [anolis 8.10][iso/vhd][rc1]rhck qcow2 镜像,安装虚拟机内核崩溃
Summary: [anolis 8.10][iso/vhd][rc1]rhck qcow2 镜像,安装虚拟机内核崩溃
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 8.10
Hardware: All Linux
: P2-High S2-major
Target Milestone: ---
Assignee: wangzhe
QA Contact: shuming
URL:
Whiteboard:
Keywords: Function
Depends on:
Blocks:
 
Reported: 2025-01-21 17:31 UTC by gitpush
Modified: 2025-02-11 15:56 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gitpush alibaba_cloud_group 2025-01-21 17:31:54 UTC
Description of problem:
物理机型:
BV62B2
Sugon H520-G30A

cpu:
Hygon C86 5280 16-core Processor CPU @ 2.5GHz 

具体命令:
virt-install   --name qcow2-img   --memory 4096   --vcpus 8   --osinfo detect=on,require=off   --disk path=/tmp/anolisos_8_10_x64_20G_rhck_community_alibase_20250115.qcow2,format=qcow2   --network default   --graphics vnc,listen=0.0.0.0,port=5900 --console pty,target_type=serial --boot hd

执行完连接:qvirsh console qcow2-img

报错信息:
[    0.000000] CPU: vendor_id 'HygonGenuine' unknown, using generic init.
[    0.000000] CPU: Your system may be unstable.
[    0.000000] Detected processor HygonGenuine Hygon C86 5280 16-core Processor
[    0.000000] Warning: Unmaintained Hardware is detected: x86 processor:HygonGenuine Hygon C86 5280 16-core Processor
[    0.891362] core: Unable to init MCE device (rc: -5)
[    1.415392] BUG: unable to handle kernel paging request at ffffffffb5c7739a
[    1.417916] PGD 4b613067 P4D 4b613067 PUD 4b614063 PMD 49c001e1
[    1.419946] Oops: 0003 [#1] SMP NOPTI
[    1.421253] CPU: 1 PID: 347 Comm: systemd-udevd Not tainted 4.18.0-553.34.1.0.1.an8.x86_64 #1
[    1.423868] Hardware name: Red Hat KVM, BIOS 1.16.0-4.module+an8.8.0+11106+f187d0fd 04/01/2014
[    1.426943] RIP: 0010:__send_ipi_mask+0x29a/0x2b0
[    1.428585] Code: 24 0c c6 05 d4 89 ef 01 01 e8 6f 32 08 00 0f 0b 44 8b 4c 24 08 44 8b 54 24 0c e9 26 ff ff ff b8 0a 00 00 00 48 89 f9 4c 89 c6 <0f> 01 c1 eb 8a e8 2c 2f 08 00 66 66 2e 0f 1f 84 00 00 00 00 00 90
[    1.434415] RSP: 0018:ffffbc0c40be3970 EFLAGS: 00010006
[    1.436063] RAX: 000000000000000a RBX: 00000000000000f9 RCX: 0000000000000000
[    1.438216] RDX: 0000000000000000 RSI: 00000000000000fc RDI: 0000000000000000
[    1.440344] RBP: ffffbc0c40be39d8 R08: 00000000000000fc R09: 0000000000000000
[    1.442633] R10: 0000000000000008 R11: 0000000000000079 R12: 0000000000000000
[    1.444957] R13: 0000000000017a34 R14: 00000000000000fc R15: 0000000000000000
[    1.447277] FS:  00007f7668415280(0000) GS:ffff917abbc40000(0000) knlGS:0000000000000000
[    1.450064] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    1.452155] CR2: ffffffffb5c7739a CR3: 0000000106448000 CR4: 00000000003506a0
[    1.454632] Call Trace:
[    1.455706]  ? __die_body+0x1a/0x60
[    1.457066]  ? __send_ipi_mask+0x29a/0x2b0
[    1.458609]  ? no_context+0x1ba/0x3f0
[    1.460020]  ? __send_ipi_mask+0x29a/0x2b0
[    1.461561]  ? __bad_area_nosemaphore+0x157/0x180
[    1.463277]  ? __send_ipi_mask+0x29a/0x2b0
[    1.464776]  ? do_page_fault+0x37/0x12d
[    1.466151]  ? page_fault+0x1e/0x30
[    1.467423]  ? __send_ipi_mask+0x29a/0x2b0
[    1.468863]  ? __kmalloc_node+0x10a/0x2b0
[    1.470316]  ? on_each_cpu+0x2b/0x60
[    1.471630]  native_send_call_func_ipi+0xd5/0x120
[    1.473441]  kvm_smp_send_call_func_ipi+0x14/0x80
[    1.475299]  smp_call_function_many_cond+0x228/0x2f0
[    1.477130]  ? load_new_mm_cr3+0xe0/0xe0
[    1.478726]  ? load_new_mm_cr3+0xe0/0xe0
[    1.480326]  on_each_cpu+0x2b/0x60
[    1.481671]  __change_page_attr+0x4eb/0xc80
[    1.483260]  ? 0xffffffffb5c00000
[    1.484585]  __change_page_attr_set_clr+0x6c/0x2a0
[    1.486360]  ? kfree+0xd3/0x250
[    1.487636]  ? 0xffffffffb5c00000
[    1.488997]  __change_page_attr_set_clr+0x27c/0x2a0
[    1.490804]  change_page_attr_set_clr+0x108/0x1a0
[    1.492559]  set_memory_ro+0x26/0x30
[    1.493965]  module_enable_ro.part.59+0x8b/0xc0
[    1.495659]  load_module+0x1330/0x18c0
[    1.497147]  ? __do_sys_init_module+0x13b/0x180
[    1.498840]  __do_sys_init_module+0x13b/0x180
[    1.500477]  do_syscall_64+0x5b/0x1a0
[    1.501912]  entry_SYSCALL_64_after_hwframe+0x66/0xcb
[    1.503767] RIP: 0033:0x7f7666439c9e
[    1.505186] Code: 48 8b 0d ed 61 39 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d ba 61 39 00 f7 d8 64 89 01 48
[    1.511500] RSP: 002b:00007ffc8b410b08 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[    1.514277] RAX: ffffffffffffffda RBX: 00005577da519bd0 RCX: 00007f7666439c9e
[    1.516751] RDX: 00007f766781288d RSI: 0000000000005260 RDI: 00005577da528a10
[    1.519334] RBP: 00007f766781288d R08: 00005577da509510 R09: 00005577da4f501a
[    1.521803] R10: 0000000000000007 R11: 0000000000000246 R12: 00005577da528a10
[    1.524285] R13: 00005577da505440 R14: 0000000000020000 R15: 0000000000000000
[    1.526758] Modules linked in: serio_raw
[    1.528282] CR2: ffffffffb5c7739a
[    1.529610] ---[ end trace 78a75a14e838892e ]---
[    1.531322] RIP: 0010:__send_ipi_mask+0x29a/0x2b0
[    1.533067] Code: 24 0c c6 05 d4 89 ef 01 01 e8 6f 32 08 00 0f 0b 44 8b 4c 24 08 44 8b 54 24 0c e9 26 ff ff ff b8 0a 00 00 00 48 89 f9 4c 89 c6 <0f> 01 c1 eb 8a e8 2c 2f 08 00 66 66 2e 0f 1f 84 00 00 00 00 00 90
[    1.539379] RSP: 0018:ffffbc0c40be3970 EFLAGS: 00010006
[    1.541278] RAX: 000000000000000a RBX: 00000000000000f9 RCX: 0000000000000000
[    1.543765] RDX: 0000000000000000 RSI: 00000000000000fc RDI: 0000000000000000
[    1.546228] RBP: ffffbc0c40be39d8 R08: 00000000000000fc R09: 0000000000000000
[    1.548687] R10: 0000000000000008 R11: 0000000000000079 R12: 0000000000000000
[    1.551257] R13: 0000000000017a34 R14: 00000000000000fc R15: 0000000000000000
[    1.553858] FS:  00007f7668415280(0000) GS:ffff917abbc40000(0000) knlGS:0000000000000000
[    1.556930] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    1.559098] CR2: ffffffffb5c7739a CR3: 0000000106448000 CR4: 00000000003506a0
[    1.561711] Kernel panic - not syncing: Fatal exception
[    1.563918] Kernel Offset: 0x34c00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    1.567487] ---[ end Kernel panic - not syncing: Fatal exception ]---
Comment 1 wangzhe 2025-02-11 15:56:40 UTC
anolis8 内核的支持策略是 RHCK 4.18 内核不合入国产处理器的补丁,所以目前 RHCK 4.18 内核是不支持海光cpu的,上游kernel支持海光是在 4.20 版本。

所以测试用例需要调整,RHCK 4.18 内核不测试海光 cpu 。