[root@localhost ~]# uname -a
Linux localhost.localdomain 4.18.0-372.32.1.an8_6.aarch64 #1 SMP Fri Oct 28 12:04:47 CST 2022 aarch64 aarch64 aarch64 GNU/Linux
[root@localhost ~]# systemctl list-units --failed
  UNIT                       LOAD   ACTIVE SUB    DESCRIPTION                                                                 
● dev-mapper-ao\x2dswap.swap loaded failed failed /dev/mapper/ao-swap                                                         

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
[root@localhost ~]# dmesg | grep -iE "error|call trace|failed|tainted"
[   35.471062] hns3 0000:7d:00.0 enp125s0f0: failed to adjust link.
[   35.681062] hns3 0000:7d:00.2 enp125s0f2: failed to adjust link.
[   35.801084] hns3 0000:7d:00.3 enp125s0f3: failed to adjust link.
[root@localhost ~]# cat /var/log/boot.log | grep -iE "error|call trace|failed|tainted"
[FAILED] Failed to activate swap /dev/mapper/ao-swap.
[DEPEND] Dependency failed for Swap.
[root@localhost ~]# cat /var/log/messages | grep -iE "error|call trace|failed|tainted"
Dec 12 19:13:46 localhost systemd[1]: dev-mapper-ao\x2dswap.swap: Failed with result 'exit-code'.
Dec 12 19:13:46 localhost systemd[1]: Failed to activate swap /dev/mapper/ao-swap.
Dec 12 19:13:46 localhost systemd[1]: Dependency failed for Swap.
Dec 12 19:13:46 localhost systemd[1]: swap.target: Job swap.target/start failed with result 'dependency'.
Dec 12 19:13:57 localhost kernel: hns3 0000:7d:00.0 enp125s0f0: failed to adjust link.
Dec 12 19:13:57 localhost kernel: hns3 0000:7d:00.2 enp125s0f2: failed to adjust link.
Dec 12 19:13:58 localhost kernel: hns3 0000:7d:00.3 enp125s0f3: failed to adjust link.
Dec 12 19:13:58 localhost dbus-daemon[1708]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.resolve1.service': Unit dbus-org.freedesktop.resolve1.service not found.

