ubuntu 开机时间长

2023-03-19 19:19:53 +08:00
 huangya
在登录输入密码界面前会卡很久。dmesg 部分 log 显示 9 秒到 97 这段时间应该就是的。
[ 8.718440] usbcore: registered new interface driver btusb
[ 8.728846] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
[ 8.728894] Bluetooth: hci0: Boot Address: 0x24800
[ 8.728900] Bluetooth: hci0: Firmware Version: 126-5.22
[ 8.728905] Bluetooth: hci0: Firmware already loaded
[ 9.024422] input: Logitech M585/M590 as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.1/1-6.1.4/1-6.1.4.2/1-6.1.4.2:1.2/0003:046D:C52B.0005/0003:046D:406B.0006/input/input32
[ 9.024744] logitech-hidpp-device 0003:046D:406B.0006: input,hidraw3: USB HID v1.11 Keyboard [Logitech M585/M590] on usb-0000:00:14.0-6.1.4.2/input2:1
[ 97.675628] audit: type=1400 audit(1679224324.264:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/ipsec/stroke" pid=1485 comm="apparmor_parser"
[ 97.676331] audit: type=1400 audit(1679224324.264:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=1490 comm="apparmor_parser"
[ 97.676426] audit: type=1400 audit(1679224324.264:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=1487 comm="apparmor_parser"
[ 97.677725] audit: type=1400 audit(1679224324.268:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="torbrowser_tor" pid=1478 comm="apparmor_parser"
[ 97.678154] audit: type=1400 audit(1679224324.268:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=1472 comm="apparmor_parser"
[ 97.678456] audit: type=1400 audit(1679224324.268:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oosplash" pid=1486 comm="apparmor_parser"
[ 97.679108] audit: type=1400 audit(1679224324.268:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=1481 comm="apparmor_parser"
[ 97.679123] audit: type=1400 audit(1679224324.268:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=1481 comm="apparmor_parser"
[ 97.679130] audit: type=1400 audit(1679224324.268:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=1481 comm="apparmor_parser"
[ 97.680153] audit: type=1400 audit(1679224324.268:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=1473 comm="apparmor_parser"
[ 97.707076] RPC: Registered named UNIX socket transport module.
[ 97.707078] RPC: Registered udp transport module.
[ 97.707078] RPC: Registered tcp transport module.
[ 97.707078] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 98.135843] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

用 ystemd-analyze blame 看没有发现异常
tony@tony-dt:~$ sudo systemd-analyze blame |head
6.794s NetworkManager-wait-online.service
3.423s plymouth-quit-wait.service
1.454s mysql.service
1.354s snapd.service
1.306s fwupd.service
1.195s vboxdrv.service
823ms systemd-journal-flush.service
542ms dev-sda2.device
504ms udisks2.service
502ms networkd-dispatcher.service
1477 次点击
所在节点    Linux
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/925335

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX