Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boot failure on new Loongson 3C6000 platform #138

Open
KFERMercer opened this issue Dec 6, 2024 · 12 comments
Open

Boot failure on new Loongson 3C6000 platform #138

KFERMercer opened this issue Dec 6, 2024 · 12 comments

Comments

@KFERMercer
Copy link

安装镜像在 3c6000 上无法启动内核。

我使用的安装镜像:https://mirrors.apqa.cn/proxmox/isos/proxmox-ve_8.1-4-2-loong64.iso

附上内核启动日志报错部分,供参考:

[  147.629983] CPU 17 Unable to handle kernel paging request at virtual address ffff800002078000, era == 9000000003bf3bec, ra == 9000000002a032dc
[  147.642707] Oops[#1]:
[  147.644960] CPU: 17 PID: 1006 Comm: modprobe Not tainted 6.6.0-openeuler #1
[  147.651879] Hardware name: LOONGSON 20240815-AT1C6T0-PPN/Loongson-AC612A0, BIOS Loongson-UDK2018-V4.0.05692-stable202402 07/18/24 16:38:46
[  147.664239] pc 9000000003bf3bec ra 9000000002a032dc tp 9000000113614000 sp 9000000113617bc0
[  147.672538] a0 ffff800002078000 a1 0000000000000000 a2 ffff80000207c000 a3 9000000104d7c088
[  147.680837] a4 fffffffffe000000 a5 ffff800000000000 a6 0000800000000000 a7 900000027ff90110
[  147.689137] t0 0000000000000000 t1 741c20e915d67c8f t2 ffffffffffffffdf t3 900000010009c010
[  147.697435] t4 ffff80000207c000 t5 9000000003d264c0 t6 900000000485c000 t7 90000000047c4000
[  147.705734] t8 ffff80000207bfff u0 0000000000000001 s9 0000000000003fff s0 ffffffffffffc000
[  147.714032] s1 0000000000000002 s2 0000000000000000 s3 ffff8000120d5000 s4 0000000000000007
[  147.722331] s5 ffff800002078000 s6 900000000470bc40 s7 9000000113617d48 s8 ffff8000120d5218
[  147.730630]    ra: 9000000002a032dc load_module+0x6e4/0x1aa0
[  147.736257]   ERA: 9000000003bf3bec __memset_fast+0x18/0x138
[  147.741884]  CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)
[  147.748032]  PRMD: 00000004 (PPLV0 +PIE -PWE)
[  147.752360]  EUEN: 00000000 (-FPE -SXE -ASXE -BTE)
[  147.757121]  ECFG: 00071c1d (LIE=0,2-4,10-12 VS=7)
[  147.761881] ESTAT: 00020000 [PIS] (IS= ECode=2 EsubCode=0)
[  147.767331]  BADV: ffff800002078000
[  147.770791]  PRID: 0014d010 (Loongson-64bit, Loongson-3C6000)
[  147.776498] Modules linked in: uas usb_storage spi_loongson_pci spi_loongson_core
[  147.783938] Process modprobe (pid: 1006, threadinfo=00000000c47ce434, task=000000007abe8653)
[  147.792324] Stack : 9000000113617c38 0000000000000001 900000000484d2a0 0000000000000000
[  147.800283]         0000000000000016 000000000000001d 0000000000000001 9000000004050370
[  147.808241]         0000000000000123 0000000000000000 000000000000000e 9000000113617d48
[  147.816198]         ffff8000120d4000 ffff8000120d6998 0000000000000000 0000000000000000
[  147.824155]         0000000000000001 000055555824af68 0000000000000000 0000000000000001
[  147.832113]         0000000000000000 0000000000000000 0000000000000000 741c20e915d67c8f
[  147.840070]         0000000000000000 0000000000000002 9000000113617cd0 90000000042e6000
[  147.848027]         0000000000003198 000000007fffffff 90000001120f7c00 9000000002c00d58
[  147.855985]         0000000000000002 ffff8000120d4000 0000000000003198 741c20e915d67c8f
[  147.863942]         90000000042e6000 9000000103722e88 0000000000000250 900000000484d560
[  147.871898]         ...
[  147.874322] Call Trace:
[  147.874324] [<9000000003bf3bec>] __memset_fast+0x18/0x138
[  147.882111] [<9000000002a032dc>] load_module+0x6e4/0x1aa0
[  147.887474] [<9000000002a04730>] init_module_from_file+0x98/0xe0
[  147.893441] [<9000000002a04ba4>] sys_finit_module+0x204/0x2f0
[  147.899151] [<9000000003bf3108>] do_syscall+0x8c/0xb4
[  147.904170] [<90000000029410dc>] handle_syscall+0xbc/0x158
[  147.909620] 
[  147.911092] Code: 024024cc  44008d80  00109886 <29c00085> 02c02087  00820007  02ff00c8  6c002ce8  29c000e5 
[  147.920785] 
[  147.922260] ---[ end trace 0000000000000000 ]---
[  169.042803] IPMI message handler: version 39.2
[  172.677793] CPU 4 Unable to handle kernel paging request at virtual address ffff8000020c0000, era == 9000000003bf3bec, ra == 9000000002a032dc
[  172.690424] Oops[#2]:
[  172.692675] CPU: 4 PID: 1086 Comm: systemd-udevd Tainted: G      D            6.6.0-openeuler #1
[  172.701408] Hardware name: LOONGSON 20240815-AT1C6T0-PPN/Loongson-AC612A0, BIOS Loongson-UDK2018-V4.0.05692-stable202402 07/18/24 16:38:46
[  172.713767] pc 9000000003bf3bec ra 9000000002a032dc tp 9000000112c98000 sp 9000000112c9bbc0
[  172.722066] a0 ffff8000020c0000 a1 0000000000000000 a2 ffff8000020c4000 a3 9000000104b00050
[  172.730365] a4 fffffffffe000000 a5 ffff800000000000 a6 0000800000000000 a7 900000027ff90110
[  172.738664] t0 0000000000000000 t1 741c20e915d67c8f t2 ffffffffffffffdf t3 900000010009c010
[  172.746963] t4 ffff8000020c4000 t5 9000000003d264c0 t6 900000000485c000 t7 90000000047c4000
[  172.755261] t8 ffff8000020c3fff u0 0000000000000001 s9 0000000000003fff s0 ffffffffffffc000
[  172.763560] s1 0000000000000001 s2 0000000000000000 s3 ffff80001218d9c0 s4 0000000000000007
[  172.771859] s5 ffff8000020c0000 s6 900000000470bc40 s7 9000000112c9bd48 s8 ffff80001218db90
[  172.780157]    ra: 9000000002a032dc load_module+0x6e4/0x1aa0
[  172.785784]   ERA: 9000000003bf3bec __memset_fast+0x18/0x138
[  172.791410]  CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)
[  172.797559]  PRMD: 00000004 (PPLV0 +PIE -PWE)
[  172.801887]  EUEN: 00000000 (-FPE -SXE -ASXE -BTE)
[  172.806647]  ECFG: 00071c1d (LIE=0,2-4,10-12 VS=7)
[  172.811407] ESTAT: 00020000 [PIS] (IS= ECode=2 EsubCode=0)
[  172.816857]  BADV: ffff8000020c0000
[  172.820315]  PRID: 0014d010 (Loongson-64bit, Loongson-3C6000)
[  172.826022] Modules linked in: ipmi_msghandler uas usb_storage spi_loongson_pci spi_loongson_core
[  172.834845] Process systemd-udevd (pid: 1086, threadinfo=0000000086f11df0, task=00000000df283924)
[  172.843664] Stack : 9000000112c9bc38 0000000000000001 900000000484d2a0 0000000000000000
[  172.851622]         0000000000000011 0000000000000022 0000000000000001 9000000004050370
[  172.859579]         000000000000014d 0000000000000000 0000000000000019 9000000112c9bd48
[  172.867537]         ffff80001218c000 ffff800012191998 0000000000000000 0000000000000000
[  172.875494]         0000000000000001 00007ffff0ab4350 0000000000000000 0000000000000001
[  172.883451]         0000000000000000 0000000000000000 0000000000000000 741c20e915d67c8f
[  172.891408]         0000000000000000 0000000000000002 9000000112c9bcd0 90000000042e6000
[  172.899365]         00000000000062d8 000000007fffffff 90000001132e2c00 9000000002c00d58
[  172.907323]         0000000000000002 ffff80001218c000 00000000000062d8 741c20e915d67c8f
[  172.915280]         90000000042e6000 900000010e8f0020 0000000000000630 900000000484d940
[  172.923237]         ...
[  172.925660] Call Trace:
[  172.925662] [<9000000003bf3bec>] __memset_fast+0x18/0x138
[  172.933449] [<9000000002a032dc>] load_module+0x6e4/0x1aa0
[  172.938812] [<9000000002a04730>] init_module_from_file+0x98/0xe0
[  172.944780] [<9000000002a04ba4>] sys_finit_module+0x204/0x2f0
[  172.950489] [<9000000003bf3108>] do_syscall+0x8c/0xb4
[  172.955508] [<90000000029410dc>] handle_syscall+0xbc/0x158
[  172.960959] 
[  172.962430] Code: 024024cc  44008d80  00109886 <29c00085> 02c02087  00820007  02ff00c8  6c002ce8  29c000e5 
[  172.972123] 
[  172.973598] ---[ end trace 0000000000000000 ]---
[  206.917050] CPU 8 Unable to handle kernel paging request at virtual address ffff8000020ec000, era == 9000000003bf3bec, ra == 9000000002a032dc
[  206.929690] Oops[#3]:
[  206.931943] CPU: 8 PID: 1091 Comm: systemd-udevd Tainted: G      D            6.6.0-openeuler #1
[  206.940675] Hardware name: LOONGSON 20240815-AT1C6T0-PPN/Loongson-AC612A0, BIOS Loongson-UDK2018-V4.0.05692-stable202402 07/18/24 16:38:46
[  206.953034] pc 9000000003bf3bec ra 9000000002a032dc tp 9000000111020000 sp 9000000111023bc0
[  206.961332] a0 ffff8000020ec000 a1 0000000000000000 a2 ffff8000020f0000 a3 90000001040fc138
[  206.969631] a4 fffffffffe000000 a5 ffff800000000000 a6 0000800000000000 a7 900000027ff90110
[  206.977929] t0 0000000000000000 t1 741c20e915d67c8f t2 ffffffffffffffdf t3 900000010009c010
[  206.986227] t4 ffff8000020f0000 t5 9000000003d264c0 t6 900000000485c000 t7 90000000047c4000
[  206.994524] t8 ffff8000020effff u0 0000000000000001 s9 0000000000003fff s0 ffffffffffffc000
[  207.002823] s1 0000000000000001 s2 0000000000000000 s3 ffff8000120a1040 s4 0000000000000007
[  207.011122] s5 ffff8000020ec000 s6 900000000470bc40 s7 9000000111023d48 s8 ffff8000120a1210
[  207.019420]    ra: 9000000002a032dc load_module+0x6e4/0x1aa0
[  207.025045]   ERA: 9000000003bf3bec __memset_fast+0x18/0x138
[  207.030670]  CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)
[  207.036818]  PRMD: 00000004 (PPLV0 +PIE -PWE)
[  207.041146]  EUEN: 00000000 (-FPE -SXE -ASXE -BTE)
[  207.045906]  ECFG: 00071c1d (LIE=0,2-4,10-12 VS=7)
[  207.050665] ESTAT: 00020000 [PIS] (IS= ECode=2 EsubCode=0)
[  207.056115]  BADV: ffff8000020ec000
[  207.059574]  PRID: 0014d010 (Loongson-64bit, Loongson-3C6000)
[  207.065280] Modules linked in: pstore ipmi_msghandler uas usb_storage spi_loongson_pci spi_loongson_core
[  207.074710] Process systemd-udevd (pid: 1091, threadinfo=00000000967a551f, task=00000000699a54ff)
[  207.083527] Stack : 9000000111023c38 0000000000000001 900000000484d2a0 0000000000000000
[  207.091486]         0000000000000017 000000000000001e 0000000000000001 9000000004050370
[  207.099443]         000000000000012b 0000000000000000 000000000000000d 9000000111023d48
[  207.107400]         ffff8000120a0000 ffff8000120a2908 0000000000000000 0000000000000000
[  207.115357]         0000000000000001 00007ffff0ab4350 0000000000000000 0000000000000001
[  207.123314]         0000000000000000 0000000000000000 0000000000000000 741c20e915d67c8f
[  207.131271]         0000000000000000 0000000000000002 9000000111023cd0 90000000042e6000
[  207.139228]         0000000000003148 000000007fffffff 9000000113686600 9000000002c00d58
[  207.147186]         0000000000000002 ffff8000120a0000 0000000000003148 741c20e915d67c8f
[  207.155143]         90000000042e6000 900000010e5e8f98 0000000000000758 900000000484da68
[  207.163100]         ...
[  207.165524] Call Trace:
[  207.165526] [<9000000003bf3bec>] __memset_fast+0x18/0x138
[  207.173313] [<9000000002a032dc>] load_module+0x6e4/0x1aa0
[  207.178676] [<9000000002a04730>] init_module_from_file+0x98/0xe0
[  207.184644] [<9000000002a04ba4>] sys_finit_module+0x204/0x2f0
[  207.190353] [<9000000003bf3108>] do_syscall+0x8c/0xb4
[  207.195371] [<90000000029410dc>] handle_syscall+0xbc/0x158
[  207.200821] 
[  207.202292] Code: 024024cc  44008d80  00109886 <29c00085> 02c02087  00820007  02ff00c8  6c002ce8  29c000e5 
[  207.211984] 
[  207.213460] ---[ end trace 0000000000000000 ]---
[  315.003256] CPU 15 Unable to handle kernel paging request at virtual address ffff8000121c0050, era == 90000000033997d4, ra == 90000000033997b0
[  315.015975] Oops[#4]:
[  315.018227] CPU: 15 PID: 1233 Comm: setupcon Tainted: G      D            6.6.0-openeuler #1
[  315.026614] Hardware name: LOONGSON 20240815-AT1C6T0-PPN/Loongson-AC612A0, BIOS Loongson-UDK2018-V4.0.05692-stable202402 07/18/24 16:38:46
[  315.038975] pc 90000000033997d4 ra 90000000033997b0 tp 9000000116df4000 sp 9000000116df7aa0
[  315.047275] a0 0000000000002288 a1 90000000040ee000 a2 0000000000000040 a3 90000001049f4120
[  315.055574] a4 fffffffffe000000 a5 ffff800000000000 a6 0000800000000000 a7 900000027ff90110
[  315.063873] t0 0000000100000ea8 t1 741c20e915d67c8f t2 ffffffffffffffdf t3 900000010009c050
[  315.072172] t4 ffff8000121c4000 t5 9000000003d264c0 t6 900000000485c000 t7 90000000047c4000
[  315.080471] t8 ffff8000121c3fff u0 0000000000000001 s9 0000000000000002 s0 9000000104a4a400
[  315.088769] s1 ffff8000121c0000 s2 90000000048d77c8 s3 0000000000000002 s4 90000001013e6a00
[  315.097068] s5 0000000000500000 s6 fffffffffffff000 s7 0000000000008241 s8 9000000116df7b34
[  315.105366]    ra: 90000000033997b0 n_tty_open+0x24/0xc8
[  315.110650]   ERA: 90000000033997d4 n_tty_open+0x48/0xc8
[  315.115927]  CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)
[  315.122079]  PRMD: 00000004 (PPLV0 +PIE -PWE)
[  315.126410]  EUEN: 00000001 (+FPE -SXE -ASXE -BTE)
[  315.131170]  ECFG: 00071c1d (LIE=0,2-4,10-12 VS=7)
[  315.135930] ESTAT: 00020000 [PIS] (IS= ECode=2 EsubCode=0)
[  315.141379]  BADV: ffff8000121c0050
[  315.144838]  PRID: 0014d010 (Loongson-64bit, Loongson-3C6000)
[  315.150545] Modules linked in: pstore ipmi_msghandler uas usb_storage spi_loongson_pci spi_loongson_core
[  315.159975] Process setupcon (pid: 1233, threadinfo=00000000a4a28ec9, task=000000002d70c504)
[  315.168361] Stack : 0000000000000000 0000000000000000 9000000104a4a400 900000000339ece8
[  315.176318]         90000001013e6a00 0000000000000000 9000000104a4a400 900000000339803c
[  315.184276]         90000000041727d0 0000000000400003 90000000041727d0 9000000101504828
[  315.192233]         90000001162dce00 9000000003398754 90000000042e6000 9000000003dcaa30
[  315.200190]         9000000004765138 90000000041c2408 0000000202004360 741c20e915d67c8f
[  315.208146]         339dc50787ccab19 0000000000000000 00000000000041ed 9000000101504828
[  315.216104]         0000000000000000 90000001162dce00 90000000042e6000 9000000101504828
[  315.224061]         90000000047651a8 900000010144c600 9000000116df7cf8 9000000002bc0080
[  315.232019]         00000000000041ed 741c20e915d67c8f 9000000101504828 0000000000000002
[  315.239975]         9000000002bbffc0 90000001162dce98 0000000000000000 9000000101504828
[  315.247933]         ...
[  315.250357] Call Trace:
[  315.250359] [<90000000033997d4>] n_tty_open+0x48/0xc8
[  315.257799] [<900000000339ece8>] tty_ldisc_setup+0x48/0xb0
[  315.263248] [<900000000339803c>] tty_init_dev.part.0+0xb4/0x20c
[  315.269132] [<9000000003398754>] tty_open+0x438/0x474
[  315.274150] [<9000000002bc0080>] chrdev_open+0xc0/0x210
[  315.279342] [<9000000002bb4714>] do_dentry_open+0x1b0/0x534
[  315.284879] [<9000000002bce128>] path_openat+0xbd8/0xfe4
[  315.290158] [<9000000002bceef0>] do_filp_open+0xa8/0x154
[  315.295434] [<9000000002bb50cc>] do_sys_openat2+0x2d4/0x310
[  315.300970] [<9000000002bb7054>] sys_openat+0x4c/0xa0
[  315.305988] [<9000000003bf3108>] do_syscall+0x8c/0xb4
[  315.311009] [<90000000029410dc>] handle_syscall+0xbc/0x158
[  315.316459] 
[  315.317930] Code: 02df2339  1a01aaa5  038a2084 <29c1430c> 00150326  00109304  02fd00a5  573513d8  14000044 
[  315.327622] 
[  315.329100] ---[ end trace 0000000000000000 ]---

另附上完整内核日志,以备需要:host_20241206_194341.log

猜测应该是欧拉的内核问题(直接装openeuler 2403 lts也是启动不起来)

小小建议可以考虑换 aosc 或者 debian sid

我有 3c6000 的 bmc 可以在线开放给您供您测试,需要的话可以进一步联系。

@jiangcuo
Copy link
Owner

@ltkun
Copy link

ltkun commented Dec 15, 2024

我的平台是华硕主板的3a6000 试过最新的两个iso 都不能安装 进入安装GUI以后只有 previous reboot两个按钮 只能寻求其他方式了

@jiangcuo
Copy link
Owner

我的平台是华硕主板的3a6000 试过最新的两个iso 都不能安装 进入安装GUI以后只有 previous reboot两个按钮 只能寻求其他方式了

华硕的是自带的网卡把,可能没有网卡或者没有检测到硬盘。用debug模式,进入之后,ip a看一下,没有网卡就不会有,按理说12代是支持网卡的

@ltkun
Copy link

ltkun commented Dec 15, 2024

应该是网卡问题了 记得切换到终端下没认出来 目前装了个aosc
`aosc-4937135 [ ~ ] $ lspci

00:00.0 Host bridge: Loongson Technology LLC Hyper Transport Bridge Controller
00:00.1 Host bridge: Loongson Technology LLC Hyper Transport Bridge Controller (rev 01)
00:00.2 Host bridge: Loongson Technology LLC Device 7a20 (rev 01)
00:00.3 Host bridge: Loongson Technology LLC Device 7a30
00:03.0 Ethernet controller: Loongson Technology LLC Device 7a13
00:04.0 USB controller: Loongson Technology LLC OHCI USB Controller (rev 02)
00:04.1 USB controller: Loongson Technology LLC EHCI USB Controller (rev 02)
00:05.0 USB controller: Loongson Technology LLC OHCI USB Controller (rev 02)
00:05.1 USB controller: Loongson Technology LLC EHCI USB Controller (rev 02)
00:06.0 Multimedia video controller: Loongson Technology LLC LG100 GPU (rev 01)
00:06.1 VGA compatible controller: Loongson Technology LLC Display Controller (rev 02)
00:06.2 Audio device: Loongson Technology LLC Device 7a37
00:07.0 Audio device: Loongson Technology LLC HDA (High Definition Audio) Controller
00:08.0 SATA controller: Loongson Technology LLC SATA 3 AHCI Controller
00:09.0 PCI bridge: Loongson Technology LLC PCIe x4 Root Port
00:0a.0 PCI bridge: Loongson Technology LLC PCIe x1 Root Port
00:0b.0 PCI bridge: Loongson Technology LLC PCIe x1 Root Port
00:0c.0 PCI bridge: Loongson Technology LLC PCIe x1 Root Port
00:0d.0 PCI bridge: Loongson Technology LLC PCIe x4 Root Port
00:0f.0 PCI bridge: Loongson Technology LLC PCIe x16 Root Port
00:10.0 PCI bridge: Loongson Technology LLC PCIe x8 Root Port
00:13.0 PCI bridge: Loongson Technology LLC PCIe x8 Root Port
00:16.0 System peripheral: Loongson Technology LLC SPI Controller
00:19.0 USB controller: Loongson Technology LLC xHCI USB Controller
01:00.0 Ethernet controller: Motorcomm Microelectronics. YT6801 Gigabit Ethernet Controller (rev 03)`
华硕主板两块网卡 我看内核好像是欧拉的 估计没带

@jiangcuo
Copy link
Owner

YT6801没有这个驱动,我尝试打个补丁,在8.3正式iso出来之前解决这个问题,还请你到时候测测

@ltkun
Copy link

ltkun commented Dec 15, 2024

OK PVE一直是我装机首选 不管有用没用先装上哈 感谢为PVE普及做出的贡献!

@ltkun
Copy link

ltkun commented Dec 15, 2024

YT6801没有这个驱动,我尝试打个补丁,在8.3正式iso出来之前解决这个问题,还请你到时候测测

Ethernet controller: Loongson Technology LLC Device 7a13
双网卡还有一块是这个

@jiangcuo
Copy link
Owner

第二版测试应该可以了,加入了龙芯dwmac和yt6801网卡驱动。
https://mirrors.lierfang.com/proxmox/isos/proxmox-ve-8.3-1_loong64-pretest2.iso

@ltkun
Copy link

ltkun commented Dec 16, 2024

第二版测试应该可以了,加入了龙芯dwmac和yt6801网卡驱动。 https://mirrors.lierfang.com/proxmox/isos/proxmox-ve-8.3-1_loong64-pretest2.iso

感谢 今天回去试试 看来龙芯的PVE用户不多哈 或者说华硕这块主板的玩家不多

@ltkun
Copy link

ltkun commented Dec 19, 2024

BBB5D60F830A3E40A905C8428F1EAAFB
还是点GUI安装以后出错……

@jiangcuo
Copy link
Owner

这个问题已经修复了,重新下载iso即可

jiangcuo referenced this issue in jiangcuo/pve-iso-builder Dec 24, 2024
@ltkun
Copy link

ltkun commented Dec 24, 2024

这个问题已经修复了,重新下载iso即可

顺利安装上华硕3a6000 就是启动的时候隐约见了之前的错误 不过能启动哈 谢谢大佬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants