Bug 8679 - Anolis OS 8.8 (5.10)安装在intel C3000平台上无法启动
Summary: Anolis OS 8.8 (5.10)安装在intel C3000平台上无法启动
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: 5.10.y-13
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-01 17:13 UTC by liuyusi
Modified: 2024-04-08 14:01 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 liuyusi 2024-04-01 17:13:58 UTC
Description of problem:
Intel C3000平台上安装Anolis OS 8.8(5.10.134-13.an8.x86_64)无法启动,4.18内核无此问题

Version-Release number of selected component (if applicable):
Anolis OS 8.8(5.10.134-13.an8.x86_64)

How reproducible:
必现

Steps to Reproduce:
1.制作安装盘
2.安装,选择5.10.134-13.an8.x86_64内核
3.安装结束后重启

Actual results:
启动失败

Expected results:
正常开机

Additional info:
[    4.020643] BUG: kernel NULL pointer dereference, address: 0000000000000014
[    4.021633] #PF: supervisor read access in kernel mode
[    4.021633] #PF: error_code(0x0000) - not-present page
[    4.021633] PGD 0 P4D 0 
[    4.021633] Oops: 0000 [#1] SMP NOPTI
[    4.021633] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G          I       5.10.134-13.an8.x86_64 #1
[    4.021633] Hardware name: 0 LH LB-2488/Default string, BIOS FLB2488DT01 11/13/2023
[    4.021633] RIP: 0010:resctrl_mon_resource_init+0xc0/0x210
[    4.021633] Code: 84 c0 74 16 48 8b 0c 24 48 89 2d 23 1a db 01 4c 89 73 10 48 89 4b 18 48 89 29 41 83 c7 01 48 8b 1d 2d ed 99 02 45 39 e7 75 99 <8b> 43 04 85 c0 0f 85 26 01 00 00 48 8d 7b 10 e8 ac 44 0e 00 84 c0
[    4.021633] RSP: 0000:ffffba7900023dc0 EFLAGS: 00010246
[    4.021633] RAX: 0000000000000010 RBX: 0000000000000010 RCX: 0000000000000000
[    4.021633] RDX: ffff9e0ec0319a80 RSI: 0000000000000dc0 RDI: 0000000000000000
[    4.021633] RBP: 00000000000000c6 R08: 0000000000000000 R09: 00000000000335c0
[    4.021633] R10: 0000000000000000 R11: ffff9e1037c32cc4 R12: 0000000000000000
[    4.021633] R13: ffffffff98a2cd00 R14: ffffffff997b76a7 R15: 0000000000000000
[    4.021633] FS:  0000000000000000(0000) GS:ffff9e1037c00000(0000) knlGS:0000000000000000
[    4.021633] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    4.021633] CR2: 0000000000000014 CR3: 000000018fa10000 CR4: 00000000003506f0
[    4.021633] Call Trace:
[    4.021633]  ? rdinit_setup+0x30/0x30
[    4.021633]  resctrl_init+0x38/0x230
[    4.021633]  resctrl_arch_late_init+0x3cd/0x531
[    4.021633]  ? set_rdt_options+0x86/0x86
[    4.021633]  do_one_initcall+0x44/0x1d0
[    4.021633]  kernel_init_freeable+0x1f1/0x23f
[    4.021633]  ? rest_init+0xb4/0xb4
[    4.021633]  kernel_init+0xa/0x11c
[    4.021633]  ret_from_fork+0x22/0x30
[    4.021633] Modules linked in:
[    4.021633] CR2: 0000000000000014
[    4.021633] ---[ end trace cfc2b9ada0f7597e ]---
[    4.021633] RIP: 0010:resctrl_mon_resource_init+0xc0/0x210
[    4.021633] Code: 84 c0 74 16 48 8b 0c 24 48 89 2d 23 1a db 01 4c 89 73 10 48 89 4b 18 48 89 29 41 83 c7 01 48 8b 1d 2d ed 99 02 45 39 e7 75 99 <8b> 43 04 85 c0 0f 85 26 01 00 00 48 8d 7b 10 e8 ac 44 0e 00 84 c0
[    4.021633] RSP: 0000:ffffba7900023dc0 EFLAGS: 00010246
[    4.021633] RAX: 0000000000000010 RBX: 0000000000000010 RCX: 0000000000000000
[    4.021633] RDX: ffff9e0ec0319a80 RSI: 0000000000000dc0 RDI: 0000000000000000
[    4.021633] RBP: 00000000000000c6 R08: 0000000000000000 R09: 00000000000335c0
[    4.021633] R10: 0000000000000000 R11: ffff9e1037c32cc4 R12: 0000000000000000
[    4.021633] R13: ffffffff98a2cd00 R14: ffffffff997b76a7 R15: 0000000000000000
[    4.021633] FS:  0000000000000000(0000) GS:ffff9e1037c00000(0000) knlGS:0000000000000000
[    4.021633] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    4.021633] CR2: 0000000000000014 CR3: 000000018fa10000 CR4: 00000000003506f0
[    4.021633] Kernel panic - not syncing: Fatal exception
[    4.021633] Kernel Offset: 0x16000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    4.021633] Rebooting in 1 seconds..
[    4.021633] list_add double add: new=ffffffff98a2d6a0, prev=ffffffff98a27fc8, next=ffffffff98a2d6a0.
[    4.021633] ------------[ cut here ]------------
[    4.021633] kernel BUG at lib/list_debug.c:31!
[    4.021633] invalid opcode: 0000 [#2] SMP NOPTI
[    4.021633] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G      D   I       5.10.134-13.an8.x86_64 #1
[    4.021633] Hardware name: 0 LH LB-2488/Default string, BIOS FLB2488DT01 11/13/2023
[    4.021633] RIP: 0010:__list_add_valid+0x45/0x50
[    4.021633] Code: 00 48 39 c7 74 0f 48 39 d7 74 0a b8 01 00 00 00 c3 cc cc cc cc 48 89 f2 4c 89 c1 48 89 fe 48 c7 c7 e8 e7 38 98 e8 9d ae 49 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 48 8b 07 48 8b 57 08 48 b9 00 01
[    4.021633] RSP: 0000:ffffba7900023b30 EFLAGS: 00010096
[    4.021633] RAX: 0000000000000058 RBX: ffffffff98a2d6a0 RCX: 0000000000000000
[    4.021633] RDX: ffffba7900023968 RSI: 00000000fffeffff RDI: ffffffff98a64640
[    4.021633] RBP: 0000000000000008 R08: 0000000000000000 R09: c0000000fffeffff
[    4.021633] R10: 0000000000000001 R11: ffffba7900023960 R12: ffffffff98a27fc8
[    4.021633] R13: ffffffff98a27fc0 R14: 0000000000000046 R15: ffffffff98a2d6a0
[    4.021633] FS:  0000000000000000(0000) GS:ffff9e1037c00000(0000) knlGS:0000000000000000
[    4.021633] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    4.021633] CR2: 0000000000000014 CR3: 000000018fa10000 CR4: 00000000003506f0
[    4.021633] Call Trace:
[    4.021633]  __register_nmi_handler+0xcf/0x110
[    4.021633]  nmi_shootdown_cpus+0x39/0xa0
[    4.021633]  native_machine_emergency_restart+0x1ea/0x200
[    4.021633]  panic+0x285/0x2e9
[    4.021633]  oops_end.cold.12+0x18/0x18
[    4.021633]  no_context+0x209/0x360
[    4.021633]  exc_page_fault+0x398/0x530
[    4.021633]  ? __smp_call_single_queue+0x23/0x40
[    4.021633]  ? x2apic_send_IPI_allbutself+0x10/0x10
[    4.021633]  asm_exc_page_fault+0x1e/0x30
[    4.021633] RIP: 0010:resctrl_mon_resource_init+0xc0/0x210
[    4.021633] Code: 84 c0 74 16 48 8b 0c 24 48 89 2d 23 1a db 01 4c 89 73 10 48 89 4b 18 48 89 29 41 83 c7 01 48 8b 1d 2d ed 99 02 45 39 e7 75 99 <8b> 43 04 85 c0 0f 85 26 01 00 00 48 8d 7b 10 e8 ac 44 0e 00 84 c0
[    4.021633] RSP: 0000:ffffba7900023dc0 EFLAGS: 00010246
[    4.021633] RAX: 0000000000000010 RBX: 0000000000000010 RCX: 0000000000000000
[    4.021633] RDX: ffff9e0ec0319a80 RSI: 0000000000000dc0 RDI: 0000000000000000
[    4.021633] RBP: 00000000000000c6 R08: 0000000000000000 R09: 00000000000335c0
[    4.021633] R10: 0000000000000000 R11: ffff9e1037c32cc4 R12: 0000000000000000
[    4.021633] R13: ffffffff98a2cd00 R14: ffffffff997b76a7 R15: 0000000000000000
[    4.021633]  ? rdinit_setup+0x30/0x30
[    4.021633]  ? rdinit_setup+0x30/0x30
[    4.021633]  resctrl_init+0x38/0x230
[    4.021633]  resctrl_arch_late_init+0x3cd/0x531
[    4.021633]  ? set_rdt_options+0x86/0x86
[    4.021633]  do_one_initcall+0x44/0x1d0
[    4.021633]  kernel_init_freeable+0x1f1/0x23f
[    4.021633]  ? rest_init+0xb4/0xb4
[    4.021633]  kernel_init+0xa/0x11c
[    4.021633]  ret_from_fork+0x22/0x30
[    4.021633] Modules linked in:
[    4.021633] ---[ end trace cfc2b9ada0f7597f ]---
[    4.021633] RIP: 0010:resctrl_mon_resource_init+0xc0/0x210
[    4.021633] Code: 84 c0 74 16 48 8b 0c 24 48 89 2d 23 1a db 01 4c 89 73 10 48 89 4b 18 48 89 29 41 83 c7 01 48 8b 1d 2d ed 99 02 45 39 e7 75 99 <8b> 43 04 85 c0 0f 85 26 01 00 00 48 8d 7b 10 e8 ac 44 0e 00 84 c0
[    4.021633] RSP: 0000:ffffba7900023dc0 EFLAGS: 00010246
[    4.021633] RAX: 0000000000000010 RBX: 0000000000000010 RCX: 0000000000000000
[    4.021633] RDX: ffff9e0ec0319a80 RSI: 0000000000000dc0 RDI: 0000000000000000
[    4.021633] RBP: 00000000000000c6 R08: 0000000000000000 R09: 00000000000335c0
[    4.021633] R10: 0000000000000000 R11: ffff9e1037c32cc4 R12: 0000000000000000
[    4.021633] R13: ffffffff98a2cd00 R14: ffffffff997b76a7 R15: 0000000000000000
[    4.021633] FS:  0000000000000000(0000) GS:ffff9e1037c00000(0000) knlGS:0000000000000000
[    4.021633] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    4.021633] CR2: 0000000000000014 CR3: 000000018fa10000 CR4: 00000000003506f0
[    4.021633] Kernel panic - not syncing: Fatal exception
[    4.021633] Kernel Offset: 0x16000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    4.021633] Rebooting in 1 seconds..
Comment 1 Guanjun alibaba_cloud_group 2024-04-08 14:01:56 UTC
感谢提交Bugzilla,不过这个问题是已经修复了,请使用5.10.134-16版本。

修复的PR:https://gitee.com/anolis/cloud-kernel/pulls/2749
@liuyusi