Ubuntu 22.04 LTS开机及登录后响应缓慢问题排查求助
Ubuntu 22.04 LTS开机及登录后响应缓慢问题排查求助
我用的是搭载Core i7的戴尔笔记本,装的Ubuntu系统,现在遇到了挺头疼的问题——开机要3-5分钟就算了,登录进用户会话后,还得再等3-5分钟系统才能正常响应、不卡顿,这实在太磨人了。想问问大家这正常吗?有没有什么解决办法?
我收集了几个命令的输出信息,希望能帮大家定位问题:
开机进程关键链信息
执行systemd-analyze critical-chain的输出:
systemd-analyze critical-chain The time when unit became active or started is printed after the "@" character. The time the unit took to start is printed after the "+" character. graphical.target @2min 12.406s └─multi-user.target @2min 12.405s └─plymouth-quit-wait.service @1min 2.287s +1min 10.113s └─systemd-user-sessions.service @1min 2.112s +169ms └─network.target @1min 2.077s └─NetworkManager.service @47.861s +14.213s └─dbus.service @47.858s └─basic.target @47.760s └─sockets.target @47.759s └─cups.socket @56.673s └─sysinit.target @47.188s └─systemd-timesyncd.service @46.891s +296ms └─systemd-tmpfiles-setup.service @45.318s +1.563s └─systemd-journal-flush.service @7.754s +37.563s └─systemd-remount-fs.service @7.023s +727ms └─systemd-journald.socket @6.881s └─-.mount @6.803s └─-.slice @6.803s
开机耗时统计
执行systemd-analyze time的输出:
systemd-analyze time Startup finished in 12.359s (kernel) + 2min 12.474s (userspace) = 2min 24.834s graphical.target reached after 2min 12.406s in userspace
开机过程错误日志
执行journalctl -p 3 -b的输出:
journalctl -p 3 -b mars 29 08:35:21 name_of_my_machine kernel: efi: memattr: Failed to map EFI Memory Attributes table @ 0x8c9d5098 mars 29 08:35:21 name_of_my_machine kernel: ioremap error for 0x8f8aa000-0x8f8ab000, requested 0x2, got 0x0 mars 29 08:35:58 name_of_my_machine kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ PRIVRING ] mars 29 08:35:58 name_of_my_machine kernel: Bluetooth: hci0: unexpected event for opcode 0xfc2f mars 29 08:36:21 name_of_my_machine thermald[1192]: Unsupported condition 39 (Power_personality) mars 29 08:36:21 name_of_my_machine thermald[1192]: Unsupported condition 39 (Power_personality) mars 29 08:36:21 name_of_my_machine thermald[1192]: Unsupported condition 4 (Motion) mars 29 08:36:21 name_of_my_machine thermald[1192]: Unsupported condition 39 (Power_personality) mars 29 08:36:21 name_of_my_machine thermald[1192]: Unsupported condition 4 (Motion) mars 29 08:36:21 name_of_my_machine thermald[1192]: Unsupported condition 39 (Power_personality) mars 29 08:36:21 name_of_my_machine thermald[1192]: Unsupported condition 39 (Power_personality) mars 29 08:36:21 name_of_my_machine thermald[1192]: Unsupported conditions are present mars 29 08:36:27 name_of_my_machine bluetoothd[1157]: Failed to set mode: Blocked through rfkill (0x12) mars 29 08:36:54 name_of_my_machine gnome-session-binary[1594]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed mars 29 08:36:54 name_of_my_machine gnome-session-binary[1594]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed mars 29 08:37:03 name_of_my_machine kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ PRIVRING ] mars 29 08:37:25 name_of_my_machine kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ PRIVRING ] mars 29 08:37:50 name_of_my_machine gdm-password][2074]: gkr-pam: unable to locate daemon control file mars 29 08:37:54 name_of_my_machine kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ PRIVRING ] mars 29 08:38:04 name_of_my_machine systemd[2083]: Failed to start Application launched by gnome-session-binary. mars 29 08:38:04 name_of_my_machine systemd[2083]: Failed to start Application launched by gnome-session-binary. mars 29 08:38:04 name_of_my_machine systemd[2083]: Failed to start Application launched by gnome-session-binary. mars 29 08:38:05 name_of_my_machine systemd[2083]: Failed to start Application launched by gnome-session-binary. mars 29 08:38:24 name_of_my_machine gdm-launch-environment][1415]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed mars 29 08:39:47 name_of_my_machine systemd[2083]: Failed to start Tracker file system data miner. mars 29 08:41:17 name_of_my_machine systemd[2083]: Failed to start Tracker file system data miner.
启动盘信息
执行sudo parted -l的输出:
sudo parted -l Modèle : ATA ST1000LM035-1RK1 (scsi) Disque /dev/sda : 1000GB
备注:内容来源于stack exchange,提问作者an ch
相关产品推荐
相关产品推荐

