Excessively long boot time when external USB drive connected

Due to space issues with my new GPU I had to remove a couple 2.5” SSDs from my current case. I grabbed a couple SATA to USB connectors to connect them when needed, but have faced issues with this method. Primarily whenever I have one of the drives connected while I start my PC, the boot process takes several minutes. All my drives, internal and external, are encrypted and the external ones are purely for data. The long boot sequence happens after I decrypt the internal system drive. I’m puzzled because the boot process obviously should not even touch those drives that are hooked to the USB ports. I tried both drives and both connectors, as well as different USB ports, but the issue persists.

I too am annoyed with longer boot times, feel free to chime in over here. This is most likely the problem and some workarounds you can do with the terminal (be careful if you do):

Systemd-udev-settle service is deprecated…but it is being used to to avoid black screen issues for some users as there are no other good alternatives yet. Something that really annoys me though is that if you press escape during the service when the circle keeps spinning to see what is actually going on- it will go into an infinite loop. You are forced to turn off the PC with power button risking potential data corruption.

After the failed band-aid “fix” for the sleep issues I’m a bit hesitant to experiment with more, especially since they could interfere with official updates in the future, making things even worse. This goes especially for things that potentially would lock me out of my system too.

Okay so I checked with Esc and while there’s a brief pause at it’s settle service, there’s a much longer one afterwards, constantly cycling between (1 of 2) Job smartd.service/start r… (Xs / 1min 7s): Initializing . . . and (2 of 2) Job tuned.service/start running (Xs / 1min 8s), pretty much eating up that whole minute before it continues to actually boot.

Edit: systemd-analyze blame gave me this:

1min 3.973s smartd.service
28.785s uupd.service
21.729s systemd-udev-settle.service
12.228s sys-module-fuse.device
12.138s dev-disk-by\x2dpartuuid-9ed99d15\x2d7210\x2dc14a\x2d8048\x2df6bede6>
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dsc>
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusbv3\x2d0:2.4.1:1.0\x2d>
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dsc>
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dsc>
12.138s dev-disk-by\x2ddiskseq-2\x2dpart1.device
12.138s dev-disk-by\x2did-ata\x2dSamsung_SSD_870_EVO_4TB_S6BCNG0R204535J\x2>
12.138s dev-disk-by\x2did-usb\x2dJMicron_Tech_DD5641988389C\x2d0:0\x2dpart1>
12.138s sys-devices-pci0000:00-0000:00:08.1-0000:09:00.3-usb4-4\x2d2-4\x2d2>
12.138s dev-disk-by\x2did-wwn\x2d0x5002538f712050e3\x2dpart1.device
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dsc>
12.138s dev-sda1.device
12.138s dev-disk-by\x2duuid-015dbe19\x2df1e0\x2d4ab8\x2dabc3\x2d79f765688cc>
12.029s dev-disk-by\x2did-usb\x2dJMicron_Tech_DD5641988389C\x2d0:0.device
12.029s dev-disk-by\x2did-wwn\x2d0x5002538f712050e3.device
12.029s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusbv3\x2d0:2.4.1:1.0\x2d>
12.029s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dsc>
12.029s dev-disk-by\x2ddiskseq-2.device

9d15\x2d7210\x2dc14a\x2d8048\x2df6bede61d396.device
000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart1.device
000:09:00.3\x2dusbv3\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart1.device
000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart-by\x2dpartnum-1.de>
000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart-by\x2dpartuuid-9ed>
part1.device
sung_SSD_870_EVO_4TB_S6BCNG0R204535J\x2dpart1.device
cron_Tech_DD5641988389C\x2d0:0\x2dpart1.device
00:08.1-0000:09:00.3-usb4-4\x2d2-4\x2d2.4-4\x2d2.4.1-4\x2d2.4.1:1.0-host7-targe>
002538f712050e3\x2dpart1.device
000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart-by\x2duuid-015dbe1>

\x2df1e0\x2d4ab8\x2dabc3\x2d79f765688cc2.device
cron_Tech_DD5641988389C\x2d0:0.device
002538f712050e3.device
000:09:00.3\x2dusbv3\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0.device
000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0.device
ice
lines 1-22…skipping…

9d15\x2d7210\x2dc14a\x2d8048\x2df6bede61d396.device
000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart1.device
000:09:00.3\x2dusbv3\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart1.device
000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart-by\x2dpartnum-1.device
000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart-by\x2dpartuuid-9ed99d15\x2d7210\x2dc14a\x2d8048\x2df6bede61d396.device
part1.device
sung_SSD_870_EVO_4TB_S6BCNG0R204535J\x2dpart1.device
cron_Tech_DD5641988389C\x2d0:0\x2dpart1.device
00:08.1-0000:09:00.3-usb4-4\x2d2-4\x2d2.4-4\x2d2.4.1-4\x2d2.4.1:1.0-host7-target7:0:0-7:0:0:0-block-sda-sda1.device
002538f712050e3\x2dpart1.device
000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart-by\x2duuid-015dbe19\x2df1e0\x2d4ab8\x2dabc3\x2d79f765688cc2.device

\x2df1e0\x2d4ab8\x2dabc3\x2d79f765688cc2.device
cron_Tech_DD5641988389C\x2d0:0.device
002538f712050e3.device
000:09:00.3\x2dusbv3\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0.device
000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0.device
ice
00:08.1-0000:09:00.3-usb4-4\x2d2-4\x2d2.4-4\x2d2.4.1-4\x2d2.4.1:1.0-host7-target7:0:0-7:0:0:0-block-sda.device

sung_SSD_870_EVO_4TB_S6BCNG0R204535J.device
YBUS:00-MSFT0101:00-tpm-tpm0.device

YBUS:00-MSFT0101:00-tpmrm-tpmrm0.device

250-serial8250:0-serial8250:0.2-tty-ttyS2.device
250-serial8250:0-serial8250:0.1-tty-ttyS1.device

:0-00:04:0.0-tty-ttyS0.device
250-serial8250:0-serial8250:0.3-tty-ttyS3.device

000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartnum-1.device
\x5cx20System\x5cx20Partition.device
part1.device
eec2\x2d1c4a\x2d49af\x2da2ed\x2d61a54730eb55.device
000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartuuid-0565eec2\x2d1c4a\x2d49af\x2da2ed\x2d61a54730eb55.device
msung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R\x2dpart1.device
msung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R_1\x2dpart1.device

i.002538531190b2bf\x2dpart1.device
000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2duuid-0B60\x2dC88B.device

1min 3.973s smartd.service
28.785s uupd.service
21.729s systemd-udev-settle.service
12.228s sys-module-fuse.device
12.138s dev-disk-by\x2dpartuuid-9ed99d15\x2d7210\x2dc14a\x2d8048\x2df6bede61d396.device
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart1.device
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusbv3\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart1.device
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart-by\x2dpartnum-1.device
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart-by\x2dpartuuid-9ed99d15\x2d7210\x2dc14a\x2d8048\x2df6bede61d396.device
12.138s dev-disk-by\x2ddiskseq-2\x2dpart1.device
12.138s dev-disk-by\x2did-ata\x2dSamsung_SSD_870_EVO_4TB_S6BCNG0R204535J\x2dpart1.device
12.138s dev-disk-by\x2did-usb\x2dJMicron_Tech_DD5641988389C\x2d0:0\x2dpart1.device
12.138s sys-devices-pci0000:00-0000:00:08.1-0000:09:00.3-usb4-4\x2d2-4\x2d2.4-4\x2d2.4.1-4\x2d2.4.1:1.0-host7-target7:0:0-7:0:0:0-block-sda-sda1.device
12.138s dev-disk-by\x2did-wwn\x2d0x5002538f712050e3\x2dpart1.device
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart-by\x2duuid-015dbe19\x2df1e0\x2d4ab8\x2dabc3\x2d79f765688cc2.device
12.138s dev-sda1.device
12.138s dev-disk-by\x2duuid-015dbe19\x2df1e0\x2d4ab8\x2dabc3\x2d79f765688cc2.device
12.029s dev-disk-by\x2did-usb\x2dJMicron_Tech_DD5641988389C\x2d0:0.device
12.029s dev-disk-by\x2did-wwn\x2d0x5002538f712050e3.device
12.029s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusbv3\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0.device
12.029s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0.device
12.029s dev-disk-by\x2ddiskseq-2.device
12.029s sys-devices-pci0000:00-0000:00:08.1-0000:09:00.3-usb4-4\x2d2-4\x2d2.4-4\x2d2.4.1-4\x2d2.4.1:1.0-host7-target7:0:0-7:0:0:0-block-sda.device
12.029s dev-sda.device
12.029s dev-disk-by\x2did-ata\x2dSamsung_SSD_870_EVO_4TB_S6BCNG0R204535J.device
11.875s sys-devices-LNXSYSTM:00-LNXSYBUS:00-MSFT0101:00-tpm-tpm0.device
11.875s dev-tpm0.device
11.865s sys-devices-LNXSYSTM:00-LNXSYBUS:00-MSFT0101:00-tpmrm-tpmrm0.device
11.865s dev-tpmrm0.device
11.858s dev-ttyS2.device
11.858s sys-devices-platform-serial8250-serial8250:0-serial8250:0.2-tty-ttyS2.device
11.856s sys-devices-platform-serial8250-serial8250:0-serial8250:0.1-tty-ttyS1.device
11.856s dev-ttyS1.device
11.855s dev-ttyS0.device
11.855s sys-devices-pnp0-00:04-00:04:0-00:04:0.0-tty-ttyS0.device
11.854s sys-devices-platform-serial8250-serial8250:0-serial8250:0.3-tty-ttyS3.device
11.854s dev-ttyS3.device
11.848s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartnum-1.device
11.848s dev-disk-by\x2dpartlabel-EFI\x5cx20System\x5cx20Partition.device
11.848s dev-disk-by\x2ddiskseq-1\x2dpart1.device
11.848s dev-disk-by\x2dpartuuid-0565eec2\x2d1c4a\x2d49af\x2da2ed\x2d61a54730eb55.device
11.848s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartuuid-0565eec2\x2d1c4a\x2d49af\x2da2ed\x2d61a54730eb55.device
11.848s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R\x2dpart1.device
11.848s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R_1\x2dpart1.device
11.848s dev-nvme0n1p1.device
11.848s dev-disk-by\x2did-nvme\x2deui.002538531190b2bf\x2dpart1.device
11.848s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2duuid-0B60\x2dC88B.device
11.848s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart1.device
11.848s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartlabel-EFI\x5cx20System\x5cx20Partition.device
11.848s dev-disk-by\x2duuid-0B60\x2dC88B.device
11.848s sys-devices-pci0000:00-0000:00:01.1-0000:01:00.0-nvme-nvme0-nvme0n1-nvme0n1p1.device
11.829s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartuuid-752ed286\x2d3136\x2d48c4\x2d8566\x2d6bec34522b5b.device
11.829s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2duuid-1c480fc7\x2d2894\x2d4d01\x2da311\x2d824b39bad3be.device
11.829s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R_1\x2dpart3.device
11.829s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart3.device
11.829s dev-disk-by\x2dpartuuid-752ed286\x2d3136\x2d48c4\x2d8566\x2d6bec34522b5b.device
11.829s dev-nvme0n1p3.device
11.829s dev-disk-by\x2ddiskseq-1\x2dpart3.device
11.829s dev-disk-by\x2duuid-1c480fc7\x2d2894\x2d4d01\x2da311\x2d824b39bad3be.device
11.829s dev-disk-by\x2did-nvme\x2deui.002538531190b2bf\x2dpart3.device
11.829s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartnum-3.device
11.829s sys-devices-pci0000:00-0000:00:01.1-0000:01:00.0-nvme-nvme0-nvme0n1-nvme0n1p3.device
11.829s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R\x2dpart3.device
11.821s sys-module-configfs.device
11.818s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R_1\x2dpart2.device
11.818s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart2.device
11.818s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartuuid-6aea3a57\x2d73a1\x2d4fab\x2db7f6\x2d2cb7fd831def.device
11.818s sys-devices-pci0000:00-0000:00:01.1-0000:01:00.0-nvme-nvme0-nvme0n1-nvme0n1p2.device
11.818s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R\x2dpart2.device
11.818s dev-disk-by\x2did-nvme\x2deui.002538531190b2bf\x2dpart2.device
11.818s dev-disk-by\x2ddiskseq-1\x2dpart2.device
11.818s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2duuid-8616b453\x2d60bd\x2d42f4\x2dad3a\x2d53ff3f559899.device
11.818s dev-disk-by\x2duuid-8616b453\x2d60bd\x2d42f4\x2dad3a\x2d53ff3f559899.device
11.818s dev-disk-by\x2dpartuuid-6aea3a57\x2d73a1\x2d4fab\x2db7f6\x2d2cb7fd831def.device
11.818s dev-nvme0n1p2.device
11.818s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartnum-2.device
11.773s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R_1.device
11.773s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R.device
11.773s dev-disk-by\x2ddiskseq-1.device
11.773s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1.device
11.773s dev-disk-by\x2did-nvme\x2deui.002538531190b2bf.device
11.773s dev-nvme0n1.device
11.773s sys-devices-pci0000:00-0000:00:01.1-0000:01:00.0-nvme-nvme0-nvme0n1.device
9.542s dracut-initqueue.service
9.341s systemd-cryptsetup@luks\x2d1c480fc7\x2d2894\x2d4d01\x2da311\x2d824b39bad3be.service
3.045s NetworkManager-wait-online.service
1.863s greenboot-healthcheck.service
1.293s initrd-switch-root.service
1.009s systemd-rfkill.service
865ms systemd-binfmt.service
790ms firewalld.service
561ms input-remapper.service
503ms upower.service
450ms tuned.service
446ms systemd-resolved.service
432ms systemd-oomd.service
388ms udisks2.service
377ms systemd-tmpfiles-setup.service
366ms systemd-udev-trigger.service
345ms polkit.service
311ms accounts-daemon.service
298ms bootloader-update.service
287ms systemd-logind.service
255ms waydroid-container.service
212ms user@1000.service
211ms NetworkManager.service
197ms systemd-tmpfiles-setup-dev-early.service
180ms systemd-udevd.service
158ms systemd-journal-flush.service
147ms tuned-ppd.service
143ms ModemManager.service
121ms systemd-tmpfiles-clean.service
121ms chronyd.service
104ms var-lib-nfs-rpc_pipefs.mount
97ms boot.mount
90ms dev-zram0.swap
87ms dbus-broker.service
82ms avahi-daemon.service
78ms systemd-nsresourced.service
76ms audit-rules.service
73ms dracut-cmdline.service
68ms lvm2-monitor.service
66ms systemd-modules-load.service
66ms systemd-journald.service
63ms bluetooth.service
62ms dracut-pre-udev.service
62ms systemd-hostnamed.service
57ms systemd-vconsole-setup.service
56ms logrotate.service
55ms systemd-fsck@dev-disk-by\x2duuid-8616b453\x2d60bd\x2d42f4\x2dad3a\x2d53ff3f559899.service
54ms systemd-tmpfiles-setup-dev.service
52ms authselect-apply-changes.service
52ms unbound-anchor.service
51ms systemd-fsck@dev-disk-by\x2duuid-0B60\x2dC88B.service
51ms boot-efi.mount
49ms virtqemud.service
49ms virtlxcd.service
48ms rpm-ostreed.service
46ms auditd.service
46ms lm_sensors.service
45ms gssproxy.service
45ms virtvboxd.service
45ms cups.service
45ms plymouth-quit-wait.service
44ms plymouth-quit.service
43ms usr-share-sddm-themes.mount
42ms dracut-pre-trigger.service
40ms switcheroo-control.service
37ms plymouth-read-write.service
36ms tmp.mount
1min 3.973s smartd.service
28.785s uupd.service
21.729s systemd-udev-settle.service
12.228s sys-module-fuse.device
12.138s dev-disk-by\x2dpartuuid-9ed99d15\x2d7210\x2dc14a\x2d8048\x2df6bede61d396.device
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart1.device
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusbv3\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart1.device
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart-by\x2dpartnum-1.device
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart-by\x2dpartuuid-9ed99d15\x2d7210\x2dc14a\x2d8048\x2df6bede61d396.device
12.138s dev-disk-by\x2ddiskseq-2\x2dpart1.device
12.138s dev-disk-by\x2did-ata\x2dSamsung_SSD_870_EVO_4TB_S6BCNG0R204535J\x2dpart1.device
12.138s dev-disk-by\x2did-usb\x2dJMicron_Tech_DD5641988389C\x2d0:0\x2dpart1.device
12.138s sys-devices-pci0000:00-0000:00:08.1-0000:09:00.3-usb4-4\x2d2-4\x2d2.4-4\x2d2.4.1-4\x2d2.4.1:1.0-host7-target7:0:0-7:0:0:0-block-sda-sda1.device
12.138s dev-disk-by\x2did-wwn\x2d0x5002538f712050e3\x2dpart1.device
12.138s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0\x2dpart-by\x2duuid-015dbe19\x2df1e0\x2d4ab8\x2dabc3\x2d79f765688cc2.device
12.138s dev-sda1.device
12.138s dev-disk-by\x2duuid-015dbe19\x2df1e0\x2d4ab8\x2dabc3\x2d79f765688cc2.device
12.029s dev-disk-by\x2did-usb\x2dJMicron_Tech_DD5641988389C\x2d0:0.device
12.029s dev-disk-by\x2did-wwn\x2d0x5002538f712050e3.device
12.029s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusbv3\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0.device
12.029s dev-disk-by\x2dpath-pci\x2d0000:09:00.3\x2dusb\x2d0:2.4.1:1.0\x2dscsi\x2d0:0:0:0.device
12.029s dev-disk-by\x2ddiskseq-2.device
12.029s sys-devices-pci0000:00-0000:00:08.1-0000:09:00.3-usb4-4\x2d2-4\x2d2.4-4\x2d2.4.1-4\x2d2.4.1:1.0-host7-target7:0:0-7:0:0:0-block-sda.device
12.029s dev-sda.device
12.029s dev-disk-by\x2did-ata\x2dSamsung_SSD_870_EVO_4TB_S6BCNG0R204535J.device
11.875s sys-devices-LNXSYSTM:00-LNXSYBUS:00-MSFT0101:00-tpm-tpm0.device
11.875s dev-tpm0.device
11.865s sys-devices-LNXSYSTM:00-LNXSYBUS:00-MSFT0101:00-tpmrm-tpmrm0.device
11.865s dev-tpmrm0.device
11.858s dev-ttyS2.device
11.858s sys-devices-platform-serial8250-serial8250:0-serial8250:0.2-tty-ttyS2.device
11.856s sys-devices-platform-serial8250-serial8250:0-serial8250:0.1-tty-ttyS1.device
11.856s dev-ttyS1.device
11.855s dev-ttyS0.device
11.855s sys-devices-pnp0-00:04-00:04:0-00:04:0.0-tty-ttyS0.device
11.854s sys-devices-platform-serial8250-serial8250:0-serial8250:0.3-tty-ttyS3.device
11.854s dev-ttyS3.device
11.848s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartnum-1.device
11.848s dev-disk-by\x2dpartlabel-EFI\x5cx20System\x5cx20Partition.device
11.848s dev-disk-by\x2ddiskseq-1\x2dpart1.device
11.848s dev-disk-by\x2dpartuuid-0565eec2\x2d1c4a\x2d49af\x2da2ed\x2d61a54730eb55.device
11.848s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartuuid-0565eec2\x2d1c4a\x2d49af\x2da2ed\x2d61a54730eb55.device
11.848s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R\x2dpart1.device
11.848s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R_1\x2dpart1.device
11.848s dev-nvme0n1p1.device
11.848s dev-disk-by\x2did-nvme\x2deui.002538531190b2bf\x2dpart1.device
11.848s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2duuid-0B60\x2dC88B.device
11.848s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart1.device
11.848s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartlabel-EFI\x5cx20System\x5cx20Partition.device
11.848s dev-disk-by\x2duuid-0B60\x2dC88B.device
11.848s sys-devices-pci0000:00-0000:00:01.1-0000:01:00.0-nvme-nvme0-nvme0n1-nvme0n1p1.device
11.829s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartuuid-752ed286\x2d3136\x2d48c4\x2d8566\x2d6bec34522b5b.device
11.829s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2duuid-1c480fc7\x2d2894\x2d4d01\x2da311\x2d824b39bad3be.device
11.829s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R_1\x2dpart3.device
11.829s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart3.device
11.829s dev-disk-by\x2dpartuuid-752ed286\x2d3136\x2d48c4\x2d8566\x2d6bec34522b5b.device
11.829s dev-nvme0n1p3.device
11.829s dev-disk-by\x2ddiskseq-1\x2dpart3.device
11.829s dev-disk-by\x2duuid-1c480fc7\x2d2894\x2d4d01\x2da311\x2d824b39bad3be.device
11.829s dev-disk-by\x2did-nvme\x2deui.002538531190b2bf\x2dpart3.device
11.829s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartnum-3.device
11.829s sys-devices-pci0000:00-0000:00:01.1-0000:01:00.0-nvme-nvme0-nvme0n1-nvme0n1p3.device
11.829s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R\x2dpart3.device
11.821s sys-module-configfs.device
11.818s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R_1\x2dpart2.device
11.818s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart2.device
11.818s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartuuid-6aea3a57\x2d73a1\x2d4fab\x2db7f6\x2d2cb7fd831def.device
11.818s sys-devices-pci0000:00-0000:00:01.1-0000:01:00.0-nvme-nvme0-nvme0n1-nvme0n1p2.device
11.818s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R\x2dpart2.device
11.818s dev-disk-by\x2did-nvme\x2deui.002538531190b2bf\x2dpart2.device
11.818s dev-disk-by\x2ddiskseq-1\x2dpart2.device
11.818s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2duuid-8616b453\x2d60bd\x2d42f4\x2dad3a\x2d53ff3f559899.device
11.818s dev-disk-by\x2duuid-8616b453\x2d60bd\x2d42f4\x2dad3a\x2d53ff3f559899.device
11.818s dev-disk-by\x2dpartuuid-6aea3a57\x2d73a1\x2d4fab\x2db7f6\x2d2cb7fd831def.device
11.818s dev-nvme0n1p2.device
11.818s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartnum-2.device
11.773s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R_1.device
11.773s dev-disk-by\x2did-nvme\x2dSamsung_SSD_970_EVO_Plus_2TB_S4J4NZ0R309221R.device
11.773s dev-disk-by\x2ddiskseq-1.device
11.773s dev-disk-by\x2dpath-pci\x2d0000:01:00.0\x2dnvme\x2d1.device
11.773s dev-disk-by\x2did-nvme\x2deui.002538531190b2bf.device
11.773s dev-nvme0n1.device
11.773s sys-devices-pci0000:00-0000:00:01.1-0000:01:00.0-nvme-nvme0-nvme0n1.device
9.542s dracut-initqueue.service
9.341s systemd-cryptsetup@luks\x2d1c480fc7\x2d2894\x2d4d01\x2da311\x2d824b39bad3be.service
3.045s NetworkManager-wait-online.service
1.863s greenboot-healthcheck.service
1.293s initrd-switch-root.service
1.009s systemd-rfkill.service
865ms systemd-binfmt.service
790ms firewalld.service
561ms input-remapper.service
503ms upower.service
450ms tuned.service
446ms systemd-resolved.service
432ms systemd-oomd.service
388ms udisks2.service
377ms systemd-tmpfiles-setup.service
366ms systemd-udev-trigger.service
345ms polkit.service
311ms accounts-daemon.service
298ms bootloader-update.service
287ms systemd-logind.service
255ms waydroid-container.service
212ms user@1000.service
211ms NetworkManager.service
197ms systemd-tmpfiles-setup-dev-early.service
180ms systemd-udevd.service
158ms systemd-journal-flush.service
147ms tuned-ppd.service
143ms ModemManager.service
121ms systemd-tmpfiles-clean.service
121ms chronyd.service
104ms var-lib-nfs-rpc_pipefs.mount
97ms boot.mount
90ms dev-zram0.swap
87ms dbus-broker.service
82ms avahi-daemon.service
78ms systemd-nsresourced.service
76ms audit-rules.service
73ms dracut-cmdline.service
68ms lvm2-monitor.service
66ms systemd-modules-load.service
66ms systemd-journald.service
63ms bluetooth.service
62ms dracut-pre-udev.service
62ms systemd-hostnamed.service
57ms systemd-vconsole-setup.service
56ms logrotate.service
55ms systemd-fsck@dev-disk-by\x2duuid-8616b453\x2d60bd\x2d42f4\x2dad3a\x2d53ff3f559899.service
54ms systemd-tmpfiles-setup-dev.service
52ms authselect-apply-changes.service
52ms unbound-anchor.service
51ms systemd-fsck@dev-disk-by\x2duuid-0B60\x2dC88B.service
51ms boot-efi.mount
49ms virtqemud.service
49ms virtlxcd.service
48ms rpm-ostreed.service
46ms auditd.service
46ms lm_sensors.service
45ms gssproxy.service
45ms virtvboxd.service
45ms cups.service
45ms plymouth-quit-wait.service
44ms plymouth-quit.service
43ms usr-share-sddm-themes.mount
42ms dracut-pre-trigger.service
40ms switcheroo-control.service
37ms plymouth-read-write.service
36ms tmp.mount
35ms systemd-userdbd.service
34ms systemd-zram-setup@zram0.service
33ms var.mount
31ms dev-binderfs.mount
31ms plymouth-switch-root.service
30ms dracut-shutdown.service
30ms dev-hugepages.mount
30ms systemd-homed.service
29ms proc-sys-fs-binfmt_misc.mount
29ms plymouth-start.service
29ms systemd-update-utmp.service
29ms dev-mqueue.mount
28ms foomaticrip-upgrade.service
28ms bazzite-hardware-setup.service
27ms systemd-machined.service
27ms lvm-devices-import.service
27ms rtkit-daemon.service
26ms modprobe@tun.service
25ms systemd-userdb-load-credentials.service
24ms systemd-sysctl.service
22ms dracut-pre-mount.service
22ms systemd-random-seed.service
19ms user-runtime-dir@1000.service
19ms rpc-statd-notify.service
17ms dracut-pre-pivot.service
17ms thermald.service
16ms uresourced.service
16ms sys-kernel-debug.mount
15ms sys-kernel-tracing.mount
14ms initrd-cleanup.service
13ms systemd-fsck-root.service
13ms kmod-static-nodes.service
12ms bazzite-flatpak-manager.service
12ms initrd-parse-etc.service
12ms sys-fs-fuse-connections.mount
11ms systemd-udev-load-credentials.service
11ms modprobe@loop.service
10ms systemd-network-generator.service
10ms var-home.mount
9ms initrd-udevadm-cleanup-db.service
8ms systemd-remount-fs.service
7ms alsa-restore.service
7ms systemd-user-sessions.service
6ms systemd-sysusers.service
5ms sshd-unix-local.socket
5ms ostree-remount.service
2ms systemd-sysext.socket
2ms systemd-importd.socket
1ms systemd-bootctl.socket
1ms systemd-coredump.socket
1ms systemd-udevd-control.socket
1ms systemd-ask-password.socket
1ms systemd-factory-reset.socket
1ms systemd-creds.socket
729us cups.socket
638us lvm2-lvmpolld.socket
423us avahi-daemon.socket
373us pcscd.socket
365us virtinterfaced.socket
333us dbus.socket
318us sssd-kcm.socket
299us systemd-machined.socket
276us systemd-mountfsd.socket
260us dm-event.socket
242us systemd-resolved-monitor.socket
232us systemd-oomd.socket
227us virtlxcd.socket
226us systemd-hostnamed.socket
191us systemd-nsresourced.socket
188us systemd-logind-varlink.socket
187us systemd-udevd-varlink.socket
185us virtlockd.socket
177us systemd-userdbd.socket
176us virtqemud.socket
170us virtnetworkd.socket
167us virtlockd-admin.socket
165us virtnodedevd.socket
164us virtnwfilterd.socket
162us virtstoraged.socket
159us virtsecretd.socket
154us virtvboxd.socket
146us virtproxyd.socket
139us iscsid.socket
133us systemd-resolved-varlink.socket
131us systemd-journald-audit.socket
119us virtlogd-admin.socket
116us virtlogd.socket
106us virtinterfaced-admin.socket
103us virtproxyd-ro.socket
103us virtproxyd-admin.socket
102us virtqemud-admin.socket
99us virtstoraged-admin.socket
97us virtnwfilterd-admin.socket
94us virtnodedevd-admin.socket
93us virtnodedevd-ro.socket
93us virtinterfaced-ro.socket
93us virtlxcd-ro.socket
92us virtnwfilterd-ro.socket
92us virtsecretd-admin.socket
92us virtlxcd-admin.socket
91us virtnetworkd-ro.socket
91us virtnetworkd-admin.socket
91us virtqemud-ro.socket
90us virtsecretd-ro.socket
90us virtstoraged-ro.socket
89us virtvboxd-admin.socket
88us virtvboxd-ro.socket
83us iscsiuio.socket
66us systemd-homed-activate.service
51us systemd-journald-dev-log.socket
47us systemd-journald.socket
27us systemd-rfkill.socket
12us systemd-udevd-kernel.socket

Just use sudo systemctl mask systemd-udev-settle this will prevent the process from loading altogether.

You can undo it later if need be with sudo systemctl unmask systemd-udev-settle

I got tired of waiting…and tested it…so good to have a faster boot that won’t hang randomly now.

Did you completely ignore anything I wrote?! It’s not about the 20 seconds wait time from the settle service, it’s about the additional 1 minute wait time that comes on top of that when I have my external drive plugged in during boot!

I was assuming your issue came into play after recent updates. I would give the workaround a try first and see if it makes a difference or not.

You said you had a couple of external drives in the original post. If you think of it this way: 20 seconds added to ‘systemd settle’ for each drive (main + two)…you end up with an extra minute for boot time, no?

I believe that until tested, these things should be viewed together as the same issue not separately. Feel free to prove me wrong. :sweat_smile:

No, my issue came into play after removing my internal drives, which I explained in the thread opener. The 20 second wait has been there pretty much the entire time I was using Bazzite and is what I perceived as normal and maybe due to the encryption process taking a while.

I also never said that I have both drives plugged in. I said that the long boot time happens when I have any of them plugged in. I also, just before your recent reply, said the minute long wait is in addition to the 20 second wait from the settle service. So it’s not 20 seconds, not 1 minute, but 1:20 minutes I’m sitting there on boot if a drive is plugged in.

And lastly, I don’t have to “prove you wrong” when you’re clearly not bothering to actually read properly, as it’s already proven by what I provided. With that kind of attitude I would also suggest to stay away from people’s support requests in general, because you’re just wasting their time and come off in a not particularly nice way.

This looks pretty normal to me. Because the udev-settle service for example is a just a service that waits until all the udev events have completed and all hardware is located/found and configured. This can happen with external harddrives that are connected through usb.

This service calls udevadm settle to wait until all events that have been queued by udev(7) have been processed. It is a crude way to wait until “all” hardware has been discovered. Services may pull in this service and order themselves after it to wait for the udev queue to be empty.

Using this service is not recommended. There can be no guarantee that hardware is fully discovered at any specific time, because the kernel does hardware detection asynchronously, and certain buses and devices take a very long time to become ready, and also additional hardware may be plugged in at any time. Instead, services should subscribe to udev events and react to any new hardware as it is discovered. Services that, based on configuration, expect certain devices to appear, may warn or report failure after a timeout. This timeout should be tailored to the hardware type. Waiting for systemd-udev-settle.service usually slows boot significantly, because it means waiting for all unrelated events too.

In my experience if the udev-settle service gets “stuck” its somekind of issue with usually some external hardware or accessory.

And those “disk services” in the systemd-blame look like just that its working on the hard drives.

So you’re saying settle.service is causing smartd.service & tuned.service to slow my boot time, even though they run at totally different times? Then why did none of this happen when I had those drives plugged in through my SATA ports? Why does it not happen with my M.2 drive?

Because I just used the mask command for it - and it still happens! Furthermore, tuned.service is also slowing down the shut-down time by about 30 seconds when the external drive is plugged in.

So this is, as I suspected, clearly not caused by settle.service.

WEll the smartd service is related to the disks too.

Not sure about the tuned as it takes only milliseconds (atleast in your blame paste).

As I’ve explained, smartd and tuned both cycle back & forth in red for about a minute during boot.

Just rebased to :testing for another issue (RX 6800: gfx ring timeout and GPU reset under high load (SMU driver/firmware version mismatch) · Issue #4464 · ublue-os/bazzite · GitHub) and this might be fixed there.