如何排查死机原因

我正在使用一台自己组装的龙芯电脑,具体配置如下:

CPU:龙芯3A6000

主板:华硕XC-LS3A6M

内存:光威悍将 8G 2666 * 2

硬盘:致态 TiPlus 5000 1T

显卡:华硕 RX580

在使用过程中,经常会死机,完全失去响应。经 MEMTEST ,内存3轮测试均通过。我应该如何进一步排查电脑死机的原因?请各位大神指导,谢谢。

死机重启之后执行 journalctl -xb -1 看上次启动后的日志。

谢谢。我现在逐个排查硬件,已经把独立显卡拆了,直接用载板显卡。BIOS 显示和选择启动项的界面都正常,但是,在准备启动图形界面时,电脑就黑屏了。是因为驱动没有正常加载吗?应该如何处理?

然后选择 4k 内核就可以进系统,使用16k内核就无法进入系统。

问题已解决:需要安装 loonggup-driver 驱动。

折掉显卡后连续使用了7天没有出现问题。今天打开firefox进入aosc网站,刚想报结果,结果电脑失去响应后自动重启。我把执行 journalctl 的日志文件附上,请各们大神帮忙分析。谢谢。

he unit NetworkManager-dispatcher.service has successfully entered the 'dead' state.
7月 06 15:01:00 loong-aosc fcron\[19997\]: Job '/usr/bin/run-parts /etc/cron.hourly' started for user systab (pid 19999)
7月 06 15:01:00 loong-aosc fcron\[19997\]: Job '/usr/bin/run-parts /etc/cron.hourly' completed
7月 06 15:01:00 loong-aosc fcron\[19997\]: 2026-07-06 15:01:00  INFO Job '/usr/bin/run-parts /etc/cron.hourly' started for user systab (pid 19999)
7月 06 15:01:00 loong-aosc fcron\[19997\]: 2026-07-06 15:01:00  INFO Job '/usr/bin/run-parts /etc/cron.hourly' completed
7月 06 15:18:07 loong-aosc kernel: CPU 0 Unable to handle kernel paging request at virtual address 0000000000000002, era == 90000000018db0f0, ra == 9000000000e96328
7月 06 15:18:07 loong-aosc kernel: Oops\[#1\]:
7月 06 15:18:07 loong-aosc kernel: CPU: 0 UID: 1000 PID: 19435 Comm: sqldb:c\~lite #8 Tainted: G           OE       7.0.13-aosc-main-16k #1 PREEMPT(lazy)
7月 06 15:18:07 loong-aosc kernel: Tainted: \[O\]=OOT_MODULE, \[E\]=UNSIGNED_MODULE
7月 06 15:18:07 loong-aosc kernel: Hardware name: Loongson XC-LS3A6M/XC-LS3A6M, BIOS 0216 01/18/24 10:46:19
7月 06 15:18:07 loong-aosc kernel: pc 90000000018db0f0 ra 9000000000e96328 tp 90000002b9684000 sp 90000002b9687bb0
7月 06 15:18:07 loong-aosc kernel: a0 ffffff0002d17c80 a1 0000000000000000 a2 0000000000000020 a3 90000002b9687d90
7月 06 15:18:07 loong-aosc kernel: a4 90000002b9687d90 a5 0000000000000000 a6 0000000000000000 a7 0000000000000000
7月 06 15:18:07 loong-aosc kernel: t0 0000000000000020 t1 0000000000004000 t2 0000000000000000 t3 0000000000000020
7月 06 15:18:07 loong-aosc kernel: t4 0000000000000000 t5 0000000000000000 t6 0000000000000000 t7 0000000000000000
7月 06 15:18:07 loong-aosc kernel: t8 0000000000000000 u0 90000002b9687db8 s9 0000000000000020 s0 0000000000000020
7月 06 15:18:07 loong-aosc kernel: s1 0000000000000000 s2 9000000117a7ed00 s3 0000000000800000 s4 0000000000000020
7月 06 15:18:07 loong-aosc kernel: s5 00007fff62d63000 s6 0000000000000000 s7 ffffff0002d17c80 s8 00007fff64777cb0
7月 06 15:18:07 loong-aosc kernel:    ra: 9000000000e96328 generic_perform_write+0x168/0x300
7月 06 15:18:07 loong-aosc kernel:   ERA: 90000000018db0f0 copy_folio_from_iter_atomic+0x80/0xd90
7月 06 15:18:07 loong-aosc kernel:  CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)
7月 06 15:18:07 loong-aosc kernel:  PRMD: 00000004 (PPLV0 +PIE -PWE)
7月 06 15:18:07 loong-aosc kernel:  EUEN: 00000003 (+FPE +SXE -ASXE -BTE)
7月 06 15:18:07 loong-aosc kernel:  ECFG: 00071c1d (LIE=0,2-4,10-12 VS=7)
7月 06 15:18:07 loong-aosc kernel: ESTAT: 00010000 \[PIL\] (IS= ECode=1 EsubCode=0)
7月 06 15:18:07 loong-aosc kernel:  BADV: 0000000000000002
7月 06 15:18:07 loong-aosc kernel:  PRID: 0014d000 (Loongson-64bit, Loongson-3A6000-HV)
7月 06 15:18:07 loong-aosc kernel: Modules linked in: hid_multitouch snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfkill nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security nf_tables ip6table_filter ip6_tables iptable_filter ip_tables x_tables qrtr nls_iso8859_1 nls_cp437 motorcomm snd_hda_codec_alc662 snd_hda_codec_realtek_lib snd_hda_codec_hdmi snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core rtc_efi loongson3_cpufreq snd_hwdep snd_pcm dwmac_motorcomm dwmac_loongson spi_loongson_pci stmmac_libpci spi_loongson_core snd_timer stmmac snd pcs_xpcs soundcore phylink joydev mdio_devres of_mdio fixed_phy mousedev fwnode_mdio libphy gpio_loongson_64bit input_leds mdio_bus rtc_loongson onboard_usb_dev i2c_ls2x apple_mfi_fastcharge
7月 06 15:18:07 loong-aosc kernel:  tun sch_fq_codel fuse nfnetlink loongson loonggpu(OE) drm_buddy gpu_sched i2c_algo_bit drm_ttm_helper ttm pwm_loongson hid_apple led_class hid_generic i2c_dev la_ow_syscall ntsync dmi_sysfs
7月 06 15:18:07 loong-aosc kernel: Process sqldb:c\~lite #8 (pid: 19435, threadinfo=00000000d6885294, task=0000000090988e1a)
7月 06 15:18:07 loong-aosc kernel: Stack : 000000000014dd60 0ffe3412b6511be5 90000001024b0a80 00007fff64777cb0
7月 06 15:18:07 loong-aosc kernel:         0000000000000020 ffffffffffffffe2 90000002b9687db8 9000000117a7ed00
7月 06 15:18:07 loong-aosc kernel:         0000000000000000 9000000117a7eb90 0000000000000020 ffffff0002d17c80
7月 06 15:18:07 loong-aosc kernel:         0000000000000000 9000000001192c20 90000002b9687ec0 90000000011886e0
7月 06 15:18:07 loong-aosc kernel:         90000002b9687cd8 0ffe3412b6511be5 0000000033c2db53 0ffe3412b6511be5
7月 06 15:18:07 loong-aosc kernel:         900000000384dcc0 0000000000000001 900000000384dcc0 ffffffffffffffff
7月 06 15:18:07 loong-aosc kernel:         00007fff62d63000 0000000000000020 0000000000800000 9000000117a7ed00
7月 06 15:18:07 loong-aosc kernel:         0000000000000000 9000000000e96328 0000000000000020 9000000000e96298
7月 06 15:18:07 loong-aosc kernel:         900000012c4f7000 90000002b9687db8 90000002b9687d90 0000000000000000
7月 06 15:18:07 loong-aosc kernel:         0000000033c2db53 ffffff0002d17c80 0000000000000000 0ffe3412b6511be5
7月 06 15:18:07 loong-aosc kernel:         ...
7月 06 15:18:07 loong-aosc kernel: Call Trace:
7月 06 15:18:07 loong-aosc kernel: \[<90000000018db0f0>\] copy_folio_from_iter_atomic+0x80/0xd90
7月 06 15:18:07 loong-aosc kernel: \[<9000000000e96324>\] generic_perform_write+0x164/0x300
7月 06 15:18:07 loong-aosc kernel: cannot find unwind pc at fffffffffffffffc
7月 06 15:18:07 loong-aosc kernel:
7月 06 15:18:07 loong-aosc kernel: Code: 0018b610  6803ba0c  03400000 <2a00080e> 40048dc0  1a052550  29c38076  29c36077  29c34078
7月 06 15:18:07 loong-aosc kernel:
7月 06 15:18:07 loong-aosc kernel: ---\[ end trace 0000000000000000 \]---
7月 06 15:18:09 loong-aosc kernel: CPU 0 Unable to handle kernel paging request at virtual address 0000000000000002, era == 90000000018db0f0, ra == 9000000000e96328
7月 06 15:18:09 loong-aosc kernel: Oops\[#2\]:
7月 06 15:18:09 loong-aosc kernel: CPU: 0 UID: 1000 PID: 19226 Comm: Permission Tainted: G      D    OE       7.0.13-aosc-main-16k #1 PREEMPT(lazy)
7月 06 15:18:09 loong-aosc kernel: Tainted: \[D\]=DIE, \[O\]=OOT_MODULE, \[E\]=UNSIGNED_MODULE
7月 06 15:18:09 loong-aosc kernel: Hardware name: Loongson XC-LS3A6M/XC-LS3A6M, BIOS 0216 01/18/24 10:46:19
7月 06 15:18:09 loong-aosc kernel: pc 90000000018db0f0 ra 9000000000e96328 tp 900000030bfe8000 sp 900000030bfebbb0
7月 06 15:18:09 loong-aosc kernel: a0 ffffff000388a180 a1 0000000000000000 a2 0000000000000200 a3 900000030bfebd90
7月 06 15:18:09 loong-aosc kernel: a4 900000030bfebd90 a5 0000000000000000 a6 0000000000000000 a7 0000000000000000
7月 06 15:18:09 loong-aosc kernel: t0 0000000000000200 t1 0000000000004000 t2 0000000000000000 t3 0000000000000200
7月 06 15:18:09 loong-aosc kernel: t4 0000000000000000 t5 0000000000000000 t6 0000000000000000 t7 0000000000000000
7月 06 15:18:09 loong-aosc kernel: t8 0000000000000000 u0 ffffffff00000000 s9 0000000000000200 s0 0000000000000200
7月 06 15:18:09 loong-aosc kernel: s1 0000000000000000 s2 900000025dc6d6d0 s3 0000000000800000 s4 0000000000000200
7月 06 15:18:09 loong-aosc kernel: s5 00007fff62d63000 s6 0000000000000000 s7 ffffff000388a180 s8 0000000000000000
7月 06 15:18:09 loong-aosc kernel:    ra: 9000000000e96328 generic_perform_write+0x168/0x300
7月 06 15:18:09 loong-aosc kernel:   ERA: 90000000018db0f0 copy_folio_from_iter_atomic+0x80/0xd90
7月 06 15:18:09 loong-aosc kernel:  CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)
7月 06 15:18:09 loong-aosc kernel:  PRMD: 00000004 (PPLV0 +PIE -PWE)
7月 06 15:18:09 loong-aosc kernel:  EUEN: 00000003 (+FPE +SXE -ASXE -BTE)
7月 06 15:18:09 loong-aosc kernel:  ECFG: 00071c1d (LIE=0,2-4,10-12 VS=7)
7月 06 15:18:09 loong-aosc kernel: ESTAT: 00010000 \[PIL\] (IS= ECode=1 EsubCode=0)
7月 06 15:18:09 loong-aosc kernel:  BADV: 0000000000000002
7月 06 15:18:09 loong-aosc kernel:  PRID: 0014d000 (Loongson-64bit, Loongson-3A6000-HV)
7月 06 15:18:09 loong-aosc kernel: Modules linked in: hid_multitouch snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfkill nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security nf_tables ip6table_filter ip6_tables iptable_filter ip_tables x_tables qrtr nls_iso8859_1 nls_cp437 motorcomm snd_hda_codec_alc662 snd_hda_codec_realtek_lib snd_hda_codec_hdmi snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core rtc_efi loongson3_cpufreq snd_hwdep snd_pcm dwmac_motorcomm dwmac_loongson spi_loongson_pci stmmac_libpci spi_loongson_core snd_timer stmmac snd pcs_xpcs soundcore phylink joydev mdio_devres of_mdio fixed_phy mousedev fwnode_mdio libphy gpio_loongson_64bit input_leds mdio_bus rtc_loongson onboard_usb_dev i2c_ls2x apple_mfi_fastcharge
7月 06 15:18:09 loong-aosc kernel:  tun sch_fq_codel fuse nfnetlink loongson loonggpu(OE) drm_buddy gpu_sched i2c_algo_bit drm_ttm_helper ttm pwm_loongson hid_apple led_class hid_generic i2c_dev la_ow_syscall ntsync dmi_sysfs
7月 06 15:18:09 loong-aosc kernel: Process Permission (pid: 19226, threadinfo=00000000d269f0f8, task=00000000cd36a311)
7月 06 15:18:09 loong-aosc kernel: Stack : 900000030bfebb38 0ffe3412b6511be5 900000012c4f7258 0000000000000000
7月 06 15:18:09 loong-aosc kernel:         0000000000000200 ffffffffffffffe2 900000030bfebdb8 900000025dc6d6d0
7月 06 15:18:09 loong-aosc kernel:         0000000000000000 900000025dc6d560 0000000000000200 ffffff000388a180
7月 06 15:18:09 loong-aosc kernel:         0000000000000000 9000000001192c20 900000030bfebec0 90000000011886e0
7月 06 15:18:09 loong-aosc kernel:         900000030bfebcd8 0ffe3412b6511be5 0000000062d63000 0ffe3412b6511be5
7月 06 15:18:09 loong-aosc kernel:         900000000384dcc0 0000000000000000 900000000384dcc0 ffffffffffffffff
7月 06 15:18:09 loong-aosc kernel:         00007fff62d63000 0000000000000200 0000000000800000 900000025dc6d6d0
7月 06 15:18:09 loong-aosc kernel:         0000000000000000 9000000000e96328 0000000000000200 9000000000e96298
7月 06 15:18:09 loong-aosc kernel:         900000012c4f7000 900000030bfebdb8 900000030bfebd90 0000000000000000
7月 06 15:18:09 loong-aosc kernel:         000000001872002c ffffff000388a180 0000000000000000 0ffe3412b6511be5
7月 06 15:18:09 loong-aosc kernel:         ...
7月 06 15:18:09 loong-aosc kernel: Call Trace:
7月 06 15:18:09 loong-aosc kernel: \[<90000000018db0f0>\] copy_folio_from_iter_atomic+0x80/0xd90
7月 06 15:18:09 loong-aosc kernel: \[<9000000000e96324>\] generic_perform_write+0x164/0x300
7月 06 15:18:09 loong-aosc kernel: cannot find unwind pc at fffffffffffffffc
7月 06 15:18:09 loong-aosc kernel:
7月 06 15:18:09 loong-aosc kernel: Code: 0018b610  6803ba0c  03400000 <2a00080e> 40048dc0  1a052550  29c38076  29c36077  29c34078
7月 06 15:18:09 loong-aosc kernel:
7月 06 15:18:09 loong-aosc kernel: ---\[ end trace 0000000000000000 \]---
7月 06 15:18:09 loong-aosc kernel: CPU 4 Unable to handle kernel paging request at virtual address 0000000000000002, era == 90000000018db0f0, ra == 9000000000e96328
7月 06 15:18:09 loong-aosc kernel: Oops\[#3\]:
7月 06 15:18:09 loong-aosc kernel: CPU: 4 UID: 1000 PID: 19116 Comm: Cache2 I/O Tainted: G      D    OE       7.0.13-aosc-main-16k #1 PREEMPT(lazy)
7月 06 15:18:09 loong-aosc kernel: Tainted: \[D\]=DIE, \[O\]=OOT_MODULE, \[E\]=UNSIGNED_MODULE
7月 06 15:18:09 loong-aosc kernel: Hardware name: Loongson XC-LS3A6M/XC-LS3A6M, BIOS 0216 01/18/24 10:46:19
7月 06 15:18:09 loong-aosc kernel: pc 90000000018db0f0 ra 9000000000e96328 tp 9000000295704000 sp 9000000295707bb0
7月 06 15:18:09 loong-aosc kernel: a0 ffffff0003e877c0 a1 0000000000000000 a2 0000000000004000 a3 9000000295707d90
7月 06 15:18:09 loong-aosc kernel: a4 9000000295707d90 a5 0000000000000000 a6 0000000000000000 a7 0000000000000000
7月 06 15:18:09 loong-aosc kernel: t0 0000000000004000 t1 0000000000004000 t2 0000000000000000 t3 0000000000004000
7月 06 15:18:09 loong-aosc kernel: t4 0000000000000000 t5 0000000000000000 t6 0000000000000000 t7 0000000000000000
7月 06 15:18:09 loong-aosc kernel: t8 0000000000000000 u0 fffffffc00000003 s9 0000000000004000 s0 0000000000004000
7月 06 15:18:09 loong-aosc kernel: s1 0000000000000000 s2 900000025dc6d260 s3 0000000000800000 s4 0000000000006e72
7月 06 15:18:09 loong-aosc kernel: s5 00007fff64777cb0 s6 0000000000000000 s7 ffffff0003e877c0 s8 ffffffff80004000
7月 06 15:18:09 loong-aosc kernel:    ra: 9000000000e96328 generic_perform_write+0x168/0x300
7月 06 15:18:09 loong-aosc kernel:   ERA: 90000000018db0f0 copy_folio_from_iter_atomic+0x80/0xd90
7月 06 15:18:09 loong-aosc kernel:  CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)
7月 06 15:18:09 loong-aosc kernel:  PRMD: 00000004 (PPLV0 +PIE -PWE)
7月 06 15:18:09 loong-aosc kernel:  EUEN: 00000003 (+FPE +SXE -ASXE -BTE)
7月 06 15:18:09 loong-aosc kernel:  ECFG: 00071c1d (LIE=0,2-4,10-12 VS=7)
7月 06 15:18:09 loong-aosc kernel: ESTAT: 00010000 \[PIL\] (IS= ECode=1 EsubCode=0)
7月 06 15:18:09 loong-aosc kernel:  BADV: 0000000000000002
7月 06 15:18:09 loong-aosc kernel:  PRID: 0014d000 (Loongson-64bit, Loongson-3A6000-HV)
7月 06 15:18:09 loong-aosc kernel: Modules linked in: hid_multitouch snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfkill nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security nf_tables ip6table_filter ip6_tables iptable_filter ip_tables x_tables qrtr nls_iso8859_1 nls_cp437 motorcomm snd_hda_codec_alc662 snd_hda_codec_realtek_lib snd_hda_codec_hdmi snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core rtc_efi loongson3_cpufreq snd_hwdep snd_pcm dwmac_motorcomm dwmac_loongson spi_loongson_pci stmmac_libpci spi_loongson_core snd_timer stmmac snd pcs_xpcs soundcore phylink joydev mdio_devres of_mdio fixed_phy mousedev fwnode_mdio libphy gpio_loongson_64bit input_leds mdio_bus rtc_loongson onboard_usb_dev i2c_ls2x apple_mfi_fastcharge
7月 06 15:18:09 loong-aosc kernel:  tun sch_fq_codel fuse nfnetlink loongson loonggpu(OE) drm_buddy gpu_sched i2c_algo_bit drm_ttm_helper ttm pwm_loongson hid_apple led_class hid_generic i2c_dev la_ow_syscall ntsync dmi_sysfs
7月 06 15:18:09 loong-aosc kernel: Process Cache2 I/O (pid: 19116, threadinfo=00000000f53491cc, task=00000000aef61828)
7月 06 15:18:09 loong-aosc kernel: Stack : 9000000295707da8 0ffe3412b6511be5 ffffffffffffffc3 ffffffff80004000
7月 06 15:18:09 loong-aosc kernel:         0000000000006e72 ffffffffffffffe2 9000000295707db8 900000025dc6d260
7月 06 15:18:09 loong-aosc kernel:         0000000000000000 900000025dc6d0f0 0000000000004000 ffffff0003e877c0
7月 06 15:18:09 loong-aosc kernel:         0000000000000000 9000000001192c20 9000000295707c58 90000000011886e0
7月 06 15:18:09 loong-aosc kernel:         9000000295707cd8 0ffe3412b6511be5 000000002c1c8005 0ffe3412b6511be5
7月 06 15:18:09 loong-aosc kernel:         900000000384dcc0 0000000000000001 900000000384dcc0 0000000000000001
7月 06 15:18:09 loong-aosc kernel:         00007fff64777cb0 0000000000006e72 0000000000800000 900000025dc6d260
7月 06 15:18:09 loong-aosc kernel:         0000000000000000 9000000000e96328 0000000000006e72 9000000000e96298
7月 06 15:18:09 loong-aosc kernel:         900000025dab3480 9000000295707db8 9000000295707d90 0000000000000000
7月 06 15:18:09 loong-aosc kernel:         0000000018b3548f ffffff0003e877c0 0000000000000000 0ffe3412b6511be5
7月 06 15:18:09 loong-aosc kernel:         ...
7月 06 15:18:09 loong-aosc kernel: Call Trace:
7月 06 15:18:09 loong-aosc kernel: \[<90000000018db0f0>\] copy_folio_from_iter_atomic+0x80/0xd90
7月 06 15:18:09 loong-aosc kernel: \[<9000000000e96324>\] generic_perform_write+0x164/0x300
7月 06 15:18:09 loong-aosc kernel: cannot find unwind pc at fffffffffffffffc
7月 06 15:18:09 loong-aosc kernel:
7月 06 15:18:09 loong-aosc kernel: Code: 0018b610  6803ba0c  03400000 <2a00080e> 40048dc0  1a052550  29c38076  29c36077  29c34078
7月 06 15:18:09 loong-aosc kernel:
7月 06 15:18:09 loong-aosc kernel: ---\[ end trace 0000000000000000 \]---
7月 06 15:18:11 loong-aosc kernel: CPU 0 Unable to handle kernel paging request at virtual address 0000000000000002, era == 90000000018db0f0, ra == 9000000000e96328