20.04 崩溃并出现错误 \00\00\00

20.04 崩溃并出现错误 \00\00\00

var/log/syslog我新安装的 Ubuntu 20.04 在正常活动期间经常崩溃。以下是崩溃前的最后几行:

Jul  2 01:23:16 ubuntu1 kernel: [363076.136396] RIP: 0010:kmem_cache_alloc_node+0x121/0x260
Jul  2 01:23:16 ubuntu1 kernel: [363076.136397] Code: 75 0e 4d 89 f9 41 f6 47 0b 04 0f 84 4b ff ff ff 4c 89 ff e8 51 ff 01 00 49 89 c1 e9 3b ff ff ff 41 8b 41 20 49 8b 39 4c 01 e0 <48> 8b 18 48 89 c1 49 33 99 70 01 00 00 4c 89 e0 48 0f c9 48 31 cb
Jul  2 01:23:16 ubuntu1 kernel: [363076.136398] RSP: 0018:ffffb5d598a4faf0 EFLAGS: 00010202
Jul  2 01:23:16 ubuntu1 kernel: [363076.136399] RAX: 5c29693259fecd26 RBX: 0000000000000000 RCX: 0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: [363076.136399] RDX: 0000000001e7898b RSI: 0000000000000cc0 RDI: 0000000000031fc0
Jul  2 01:23:16 ubuntu1 kernel: [363076.136400] RBP: ffffb5d598a4fb28 R08: ffff896ffe071fc0 R09: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: [363076.136401] R10: 0000000000000033 R11: ffffb5d598a4fa50 R12: 5c29693259fecd26
Jul  2 01:23:16 ubuntu1 kernel: [363076.136401] R13: 0000000000000cc0 R14: 00000000ffffffff R15: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: [363076.136402] FS:  00007f84e30f3500(0000) GS:ffff896ffe040000(0000) knlGS:0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: [363076.136403] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul  2 01:23:16 ubuntu1 kernel: [363076.136403] CR2: 00007f84e2e8a100 CR3: 00000006ced84000 CR4: 00000000003406e0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166419] general protection fault: 0000 [#44] SMP NOPTI
Jul  2 01:23:16 ubuntu1 kernel: [363076.166424] CPU: 1 PID: 1850071 Comm: php Tainted: P      D W  OE     5.4.0-39-generic #43-Ubuntu
Jul  2 01:23:16 ubuntu1 kernel: [363076.166425] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X399 Taichi, BIOS P3.30 08/14/2018
Jul  2 01:23:16 ubuntu1 kernel: [363076.166430] RIP: 0010:kmem_cache_alloc_node+0x121/0x260
Jul  2 01:23:16 ubuntu1 kernel: [363076.166433] Code: 75 0e 4d 89 f9 41 f6 47 0b 04 0f 84 4b ff ff ff 4c 89 ff e8 51 ff 01 00 49 89 c1 e9 3b ff ff ff 41 8b 41 20 49 8b 39 4c 01 e0 <48> 8b 18 48 89 c1 49 33 99 70 01 00 00 4c 89 e0 48 0f c9 48 31 cb
Jul  2 01:23:16 ubuntu1 kernel: [363076.166434] RSP: 0018:ffffb5d5988bfd28 EFLAGS: 00010202
Jul  2 01:23:16 ubuntu1 kernel: [363076.166437] RAX: 5c29693259fecd26 RBX: 0000000000000000 RCX: 0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: [363076.166438] RDX: 0000000001e7898b RSI: 0000000000000cc0 RDI: 0000000000031fc0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166439] RBP: ffffb5d5988bfd60 R08: ffff896ffe071fc0 R09: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: [363076.166440] R10: ffff896facaa6040 R11: 0000000000000000 R12: 5c29693259fecd26
Jul  2 01:23:16 ubuntu1 kernel: [363076.166441] R13: 0000000000000cc0 R14: 00000000ffffffff R15: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: [363076.166443] FS:  00007f98b6dd8700(0000) GS:ffff896ffe040000(0000) knlGS:0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: [363076.166445] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul  2 01:23:16 ubuntu1 kernel: [363076.166446] CR2: 00007f98bc80e9d0 CR3: 0000000ef8bfc000 CR4: 00000000003406e0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166447] Call Trace:
Jul  2 01:23:16 ubuntu1 kernel: [363076.166453]  ? __alloc_skb+0x5a/0x1d0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166455]  __alloc_skb+0x5a/0x1d0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166458]  ? make_kuid+0x13/0x20
Jul  2 01:23:16 ubuntu1 kernel: [363076.166460]  sock_wmalloc+0x3a/0x60
Jul  2 01:23:16 ubuntu1 kernel: [363076.166463]  unix_stream_connect+0xc4/0x562
Jul  2 01:23:16 ubuntu1 kernel: [363076.166466]  ? __d_alloc+0x27/0x1f0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166468]  ? __check_object_size+0x4d/0x150
Jul  2 01:23:16 ubuntu1 kernel: [363076.166471]  __sys_connect+0xf1/0x130
Jul  2 01:23:16 ubuntu1 kernel: [363076.166473]  ? __sys_socket+0x9e/0xf0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166476]  __x64_sys_connect+0x1a/0x20
Jul  2 01:23:16 ubuntu1 kernel: [363076.166479]  do_syscall_64+0x57/0x190
Jul  2 01:23:16 ubuntu1 kernel: [363076.166482]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Jul  2 01:23:16 ubuntu1 kernel: [363076.166484] RIP: 0033:0x7f98bc7d51ab
Jul  2 01:23:16 ubuntu1 kernel: [363076.166486] Code: 83 ec 18 89 54 24 0c 48 89 34 24 89 7c 24 08 e8 cb 45 f7 ff 8b 54 24 0c 48 8b 34 24 41 89 c0 8b 7c 24 08 b8 2a 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2f 44 89 c7 89 44 24 08 e8 01 46 f7 ff 8b 44
Jul  2 01:23:16 ubuntu1 kernel: [363076.166487] RSP: 002b:00007f98b6dd6fc0 EFLAGS: 00000293 ORIG_RAX: 000000000000002a
Jul  2 01:23:16 ubuntu1 kernel: [363076.166489] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f98bc7d51ab
Jul  2 01:23:16 ubuntu1 kernel: [363076.166490] RDX: 000000000000006e RSI: 00007f98b6dd7030 RDI: 0000000000000009
Jul  2 01:23:16 ubuntu1 kernel: [363076.166491] RBP: 00007f98b6dd70e0 R08: 0000000000000000 R09: 00007f98b6dd6fe0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166492] R10: fffffffffffffdac R11: 0000000000000293 R12: 0000000000000006
Jul  2 01:23:16 ubuntu1 kernel: [363076.166493] R13: 00007f98b6dd6fe0 R14: 00007f98bc86accb R15: 0000000000000009
Jul  2 01:23:16 ubuntu1 kernel: [363076.166495] Modules linked in: rfcomm xt_MASQUERADE xt_state xt_conntrack ipt_REJECT nf_reject_ipv4 iptable_filter xt_tcpudp bpfilter nf_nat_h323 nf_conntrack_h323 nf_nat_pptp nf_conntrack_pptp nf_nat_tftp nf_conntrack_tftp nf_nat_sip nf_conntrack_sip nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ccm edac_mce_amd kvm_amd cmac algif_hash algif_skcipher af_alg bnep snd_hda_codec_hdmi kvm nvidia_uvm(OE) nvidia_drm(POE) nvidia_modeset(POE) crct10dif_pclmul ghash_clmulni_intel snd_hda_codec_realtek joydev input_leds aesni_intel snd_hda_codec_generic nvidia(POE) ledtrig_audio crypto_simd cryptd glue_helper snd_hda_intel snd_intel_dspcfg snd_seq_midi snd_hda_codec snd_seq_midi_event snd_rawmidi iwlmvm btusb wmi_bmof btrtl snd_hda_core mac80211 mxm_wmi snd_hwdep libarc4 btbcm btintel snd_seq bluetooth snd_pcm iwlwifi snd_seq_device ecdh_generic snd_timer ecc k10temp drm_kms_helper cfg80211 ipmi_devintf snd
Jul  2 01:23:16 ubuntu1 kernel: [363076.166531]  ipmi_msghandler soundcore fb_sys_fops syscopyarea sysfillrect ccp sysimgblt mac_hid sch_fq_codel parport_pc ppdev lp drm parport ip_tables x_tables autofs4 hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid ses enclosure scsi_transport_sas uas usb_storage crc32_pclmul nvme igb i2c_piix4 nvme_core ahci i2c_algo_bit dca libahci gpio_amdpt wmi gpio_generic
Jul  2 01:23:16 ubuntu1 kernel: [363076.166551] ---[ end trace f61575867cc96eaa ]---
Jul  2 01:23:16 ubuntu1 kernel: [363076.166553] RIP: 0010:kmem_cache_alloc_node+0x121/0x260
Jul  2 01:23:16 ubuntu1 kernel: [363076.166555] Code: 75 0e 4d 89 f9 41 f6 47 0b 04 0f 84 4b ff ff ff 4c 89 ff e8 51 ff 01 00 49 89 c1 e9 3b ff ff ff 41 8b 41 20 49 8b 39 4c 01 e0 <48> 8b 18 48 89 c1 49 33 99 70 01 00 00 4c 89 e0 48 0f c9 48 31 cb
Jul  2 01:23:16 ubuntu1 kernel: [363076.166556] RSP: 0018:ffffb5d598a4faf0 EFLAGS: 00010202
Jul  2 01:23:16 ubuntu1 kernel: [363076.166558] RAX: 5c29693259fecd26 RBX: 0000000000000000 RCX: 0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: [363076.166559] RDX: 0000000001e7898b RSI: 0000000000000cc0 RDI: 0000000000031fc0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166560] RBP: ffffb5d598a4fb28 R08: ffff896ffe071fc0 R09: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: [363076.166561] R10: 0000000000000033 R11: ffffb5d598a4fa50 R12: 5c29693259fecd26
Jul  2 01:23:16 ubuntu1 kernel: [363076.166562] R13: 0000000000000cc0 R14: 00000000ffffffff R15: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: [363076.166564] FS:  00007f98b6dd8700(0000) GS:ffff896ffe040000(0000) knlGS:0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: [363076.166565] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul  2 01:23:16 ubuntu1 kernel: [363076.166566] CR2: 00007f98bc80e9d0 CR3: 0000000ef8bfc000 CR4: 00000000003406e0

免费-h

              total        used        free      shared  buff/cache   available
Mem:           94Gi       9.2Gi        39Gi       177Mi        45Gi        84Gi
Swap:         127Gi          0B       127Gi

vm.swappiness = 60

sudo lshw -C memory
  *-firmware                
       description: BIOS
       vendor: American Megatrends Inc.
       physical id: 0
       version: P3.90
       date: 12/04/2019
       size: 64KiB
       capacity: 16MiB
       capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
  *-memory
       description: System Memory
       physical id: 8
       slot: System board or motherboard
       size: 64GiB
     *-bank:0
          description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a) [empty]
          product: Unknown
          vendor: Unknown
          physical id: 0
          serial: Unknown
          slot: DIMM 0
     *-bank:1
          description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
          product: CMK32GX4M2D3000C16
          vendor: Unknown
          physical id: 1
          serial: 00000000
          slot: DIMM 1
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
     *-bank:2
          description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a) [empty]
          product: Unknown
          vendor: Unknown
          physical id: 2
          serial: Unknown
          slot: DIMM 0
     *-bank:3
          description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
          product: CMK32GX4M2D3000C16
          vendor: Unknown
          physical id: 3
          serial: 00000000
          slot: DIMM 1
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
     *-bank:4
          description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a) [empty]
          product: Unknown
          vendor: Unknown
          physical id: 4
          serial: Unknown
          slot: DIMM 0
     *-bank:5
          description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
          product: CMK32GX4M2D3000C16
          vendor: Unknown
          physical id: 5
          serial: 00000000
          slot: DIMM 1
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
     *-bank:6
          description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a) [empty]
          product: Unknown
          vendor: Unknown
          physical id: 6
          serial: Unknown
          slot: DIMM 0
     *-bank:7
          description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
          product: CMK32GX4M2D3000C16
          vendor: Unknown
          physical id: 7
          serial: 00000000
          slot: DIMM 1
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
  *-cache:0
       description: L1 cache
       physical id: b
       slot: L1 - Cache
       size: 1536KiB
       capacity: 1536KiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=1
  *-cache:1
       description: L2 cache
       physical id: c
       slot: L2 - Cache
       size: 8MiB
       capacity: 8MiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=2
  *-cache:2
       description: L3 cache
       physical id: d
       slot: L3 - Cache
       size: 32MiB
       capacity: 32MiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=3

答案1

记忆

您的内存可能未正确安装。

双通道(四通道)内存控制器配置中,匹配的 RAM DIMM 对安装在通道 A 和通道 B(通道 A/B/C/D)中。不同供应商的命名约定有所不同。

您的银行 0/1/2/3 是正确的,因为 DIMM 安装在 DIMM0 和 DIMM1 对插槽中。

您的 4/5/6/7 组不正确,因为 DIMM 位于 DIMM1 插槽中。您应该将 7 组 DIMM 移至 4 组 DIMM 插槽,这样sudo lshw -C memory就会显示 4/5 组被占用为 DIMM0 和 DIMM1,而 6/7 组为空。

https://www.memtest86.com/并下载/运行他们的免费记忆测试来测试你的记忆力。至少完成一次所有 4/4 测试以确认记忆力良好。这可能需要几个小时才能完成。

BIOS

华擎 X399 Taichi

您有 BIOS P3.30 08/14/2018

有更新的 BIOS 可用。3.90 日期为 2020 年 1 月 8 日,可从以下位置下载这里

注意:请确认我拥有适合您主板的正确网页。

注意:更新 BIOS 之前请做好备份。

交换

您的 /swapfile 或交换分区太大,达到 127G。我们必须讨论适当的大小。

更新#1:

您应该以 2 个、4 个或 8 个 DIMM 为一组添加 RAM。您有 6 个 DIMM。您可能必须使用 4 个 DIMM 按照下表进行配置,并保留 2 个 DIMM。

用于sudo lshw -C memory确定 DIMM 是否位于正确的插槽中,以便填充相同数量的 DIMM0 和 DIMM1。

以下是来自用户手册的图片...

在此处输入图片描述 在此处输入图片描述

相关内容