I took this as a some kind of disk failure. I couldn't figure out which partition was at fault because systemd run things in parallel. After learning about systemd-analye blame and reading https://forums.mageia.org/en/viewtopic.php?f=7&t=13140&p=77006&hilit=systemd+analyze+blame#p77006 I figured out it was my /home partition. On the next boot, I fcsk'ed it and it corrected a lot of journal errors.
The following reboot sailed through ok. But the next bootup process stopped again with the same request for root password or Ctrl-D. This time my /root and /home were already mounted. I removed the windows partitions from /etc/fstab thinking it was trying to deal with the windows partition that failed to start after a windows 10 feature update. But everytime I rebooted, the same thing happen, the boot process stopped and I had to do a Ctrl-D to continue. I booted systemrescuecd and fsck'ed the root and home partition and they were clean.
The system because really slow once it finished booting and I logged in. Starting Firefox or Chrome would take in excess of 5 minutes before I could use it. Commands at the command line would pause for a while before continuing. I used gnome-disks to check SMART parameters and the short test showed no errors.
So I appreciate any help or ideas where to look for the cause of the problem.
Here are the output of the diagnostic commands (The postfix entry was in the most recent boot. In all the previous boots, the target (?) that consumed the most time was mandriva-everytime)
- Code: Select all
# systemd-analyze time
Startup finished in 13.861s (firmware) + 1min 9.471s (loader) + 1min 25.458s (kernel) + 18min 40.042s (userspace) = 21min 28.833s
graphical.target reached after 13min 41.678s in userspace
# uname -a
Linux localhost.localdomain 5.5.9-desktop-1.mga7 #1 SMP Thu Mar 12 08:02:44 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
# systemd-analyze blame
5min 173ms postfix.service
4min 51.265s mandriva-everytime.service
3min 44.452s systemd-tmpfiles-clean.service
3min 30.523s dev-sda11.device
2min 1.804s network-up.service
1min 31.321s shorewall.service
1min 28.019s systemd-logind.service
1min 28.012s avahi-daemon.service
1min 11.104s systemd-udevd.service
1min 9.249s sensord.service
1min 4.094s network.service
1min 1.851s resolvconf.service
43.749s mga-bg-res.service
33.306s udisks2.service
31.334s systemd-tmpfiles-setup.service
29.425s systemd-tmpfiles-setup-dev.service
28.758s systemd-backlight@backlight:intel_backlight.service
27.039s ModemManager.service
26.448s fedora-readonly.service
25.521s dkms-autorebuild.service
24.900s chronyd.service
23.834s lm_sensors.service
20.863s plymouth-start.service
17.281s systemd-fsck-root.service
14.061s preload.service
12.849s systemd-journal-flush.service
12.047s shorewall6.service
11.373s polkit.service
11.052s cups.service
9.976s systemd-user-sessions.service
9.953s mdmonitor.service
9.086s gpm.service
8.682s msec.service
8.682s partmon.service
7.794s dbus.service
7.744s upower.service
5.684s accounts-daemon.service
5.648s systemd-sysctl.service
4.795s acpid.service
4.440s plymouth-quit.service
4.436s plymouth-quit-wait.service
3.776s dracut-shutdown.service
3.628s dev-hugepages.mount
3.627s sys-kernel-debug.mount
3.064s systemd-rfkill.service
2.766s systemd-update-utmp.service
2.538s mdmonitor-takeover.service
1.870s systemd-random-seed.service
1.821s dev-mqueue.mount
1.448s systemd-vconsole-setup.service
1.428s dmraid-activation.service
1.159s systemd-remount-fs.service
969ms systemd-modules-load.service
955ms systemd-udev-trigger.service
945ms kmod-static-nodes.service
612ms bluetooth.service
499ms lvm2-activation.service
440ms dev-disk-by\x2duuid-f88a7451\x2d3c7c\x2d4fb6\x2da48f\x2de5e713027b7e.swap
356ms dnf-makecache.service
294ms systemd-journald.service
219ms systemd-fsck@dev-disk-by\x2duuid-74317e21\x2d9abd\x2d43ce\x2dac8d\x2d0a2943da2a36.service
112ms lvm2-monitor.service
98ms lvm2-activation-early.service
82ms home.mount
58ms user@1000.service
58ms plymouth-read-write.service
48ms fedora-loadmodules.service
24ms systemd-udev-settle.service
11ms tmp.mount
11ms systemd-update-utmp-runlevel.service
10ms user-runtime-dir@1000.service
6ms rtkit-daemon.service
3ms sys-fs-fuse-connections.mount
- Code: Select all
systemd-analyze critical-chain
graphical.target @13min 41.678s
└─multi-user.target @13min 41.678s
└─network.service @9min 37.390s +1min 4.094s
└─resolvconf.service @8min 35.538s +1min 1.851s
└─basic.target @8min 35.500s
└─mandriva-everytime.service @3min 44.234s +4min 51.265s
└─local-fs.target @8min 10.261s
└─home.mount @5min 34.511s +82ms
└─systemd-fsck@dev-disk-by\x2duuid-74317e21\x2d9abd\x2d43ce\x2dac8d\x2d0a2943da2a36.service @5min 34.248s +219ms
└─local-fs-pre.target @5min 34.247s
└─lvm2-monitor.service @5min 34.135s +112ms
└─systemd-journald.socket @1min 48.666s
└─-.mount @1min 48.612s
└─system.slice @1min 48.612s
└─-.slice @1min 48.612s
My disk configs
- Code: Select all
# lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1 ntfs WINRE_DRV 6AE61DB7E61D848B
├─sda2 vfat SYSTEM_DRV B020-3591
├─sda3 vfat LRS_ESP 7E25-59BC
├─sda4
├─sda5 ntfs Windows8_OS EAEE290AEE28D09D
├─sda6 ntfs LENOVO 8E82CA9582CA8167
├─sda7 ntfs PBR_DRV 00F22DDDF22DD824
├─sda8
├─sda9 swap f88a7451-3c7c-4fb6-a48f-e5e713027b7e [SWAP]
├─sda10 ext4 74317e21-9abd-43ce-ac8d-0a2943da2a36 26.4G 91% /home
└─sda11 ext4 27f9d6d3-47b4-46a5-9969-4f403b20d347 35.5G 23% /
sr0 iso9660 SYSRCD603 2019-04-14-11-35-22-00
# more /etc/fstab
# Entry for /dev/sda11 :
UUID=27f9d6d3-47b4-46a5-9969-4f403b20d347 / ext4 noatime,acl 1 1
# Entry for /dev/sda10 :
UUID=74317e21-9abd-43ce-ac8d-0a2943da2a36 /home ext4 noatime,acl 1 2
# Entry for /dev/sda5 :
#UUID=EAEE290AEE28D09D /media/win_c ntfs-3g defaults,nofail,umask=000 0 0
# Entry for /dev/sda6 :
#UUID=8E82CA9582CA8167 /media/win_d ntfs-3g defaults,nofail,umask=000 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda9 :
UUID=f88a7451-3c7c-4fb6-a48f-e5e713027b7e swap swap defaults 0 0
# journalctl -ab | grep -i 74317e21
May 02 17:21:20 localhost.localdomain systemd[1]: dev-disk-by\x2duuid-74317e21\x2d9abd\x2d43ce\x2dac8d\x2d0a2943da2a36.device: Job dev-disk-by\x2duuid-74317e21\x2d9abd\x2d43ce\x2dac8d\x2d0a2943da2a36.device/start timed out.
May 02 17:21:20 localhost.localdomain systemd[1]: Timed out waiting for device /dev/disk/by-uuid/74317e21-9abd-43ce-ac8d-0a2943da2a36.
May 02 17:21:20 localhost.localdomain systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/74317e21-9abd-43ce-ac8d-0a2943da2a36.
May 02 17:21:20 localhost.localdomain systemd[1]: systemd-fsck@dev-disk-by\x2duuid-74317e21\x2d9abd\x2d43ce\x2dac8d\x2d0a2943da2a36.service: Job systemd-fsck@dev-disk-by\x2duuid-74317e21\x2d9abd\x2d43ce\x2dac8d\x2d0a2943da2a36.service/start failed with result 'dependency'.
May 02 17:21:20 localhost.localdomain systemd[1]: dev-disk-by\x2duuid-74317e21\x2d9abd\x2d43ce\x2dac8d\x2d0a2943da2a36.device: Job dev-disk-by\x2duuid-74317e21\x2d9abd\x2d43ce\x2dac8d\x2d0a2943da2a36.device/start failed with result 'timeout'.
May 02 17:23:36 localhost.localdomain systemd[1]: Starting File System Check on /dev/disk/by-uuid/74317e21-9abd-43ce-ac8d-0a2943da2a36...
May 02 17:23:36 localhost.localdomain systemd[1]: Started File System Check on /dev/disk/by-uuid/74317e21-9abd-43ce-ac8d-0a2943da2a36.
May 02 17:23:36 localhost.localdomain audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck@dev-disk-by\x2duuid-74317e21\x2d9abd\x2d43ce\x2dac8d\x2d0a2943da2a36 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 02 17:23:36 localhost.localdomain kernel: audit: type=1130 audit(1588411416.422:47): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck@dev-disk-by\x2duuid-74317e21\x2d9abd\x2d43ce\x2dac8d\x2d0a2943da2a36 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
I've also attached the journalctl -xb output.
Thanks in advance.