You are not logged in.

#1 2020-01-09 22:50:22

dodys
Member
From: Campinas, Brazil
Registered: 2014-09-16
Posts: 12

Hardened kernel, boot breaking after every update

Hi!
I am running linux-hardened on my laptop and I didn't have any problems until the start of this year. This issue happened already two times since the beginning of the year.
Now it seems like after every kernel update, the system doesn't boot on the next boot .
systemd-modules-load.service fails and from there on rfkill-unblock@bluetooth.service, lm_sensors.service and other services also fail.

I end up having to boot from a arch linux usb drive, and mount my partitions and run arch-chroot, so from there I can reinstall linux-hardened and get the system to boot.

Here is my pacman.log from the yesterday when the kernel was updated. And today while doing the rescue.

[2020-01-08T18:48:10-0300] [PACMAN] Running 'pacman -Syu'
[2020-01-08T18:48:10-0300] [PACMAN] synchronizing package lists
[2020-01-08T18:48:11-0300] [PACMAN] starting full system upgrade
[2020-01-08T18:49:23-0300] [ALPM] running '60-mkinitcpio-remove.hook'...
[2020-01-08T18:49:24-0300] [ALPM] running '70-dkms-remove.hook'...
[2020-01-08T18:49:24-0300] [ALPM-SCRIPTLET] ==> dkms remove nvidia/440.44 -k 5.4.7.a-1-hardened
[2020-01-08T18:49:39-0300] [ALPM-SCRIPTLET] ==> dkms remove vboxhost/6.1.0_OSE -k 5.4.7.a-1-hardened
[2020-01-08T18:49:49-0300] [ALPM-SCRIPTLET] ==> dkms remove wireguard/0.0.20191226 -k 5.4.7.a-1-hardened
[2020-01-08T18:49:58-0300] [ALPM-SCRIPTLET] ==> dkms remove bbswitch/0.8 -k 5.4.7.a-1-hardened
[2020-01-08T18:50:07-0300] [ALPM] running 'ghc-unregister.hook'...
[2020-01-08T18:50:09-0300] [ALPM] transaction started
[2020-01-08T18:50:09-0300] [ALPM] upgraded libcap (2.28-1 -> 2.29-1)
[2020-01-08T18:50:09-0300] [ALPM] upgraded ca-certificates-mozilla (3.48-1 -> 3.49-1)
[2020-01-08T18:50:09-0300] [ALPM] upgraded nss (3.48-1 -> 3.49-1)
[2020-01-08T18:50:09-0300] [ALPM] upgraded libwebp (1.0.3-1 -> 1.1.0-1)
[2020-01-08T18:50:09-0300] [ALPM] upgraded xvidcore (1.3.6-1 -> 1.3.7-1)
[2020-01-08T18:50:09-0300] [ALPM] upgraded libinput (1.14.3-1 -> 1.15.0-1)
[2020-01-08T18:50:09-0300] [ALPM] upgraded libglvnd (1.3.0-1 -> 1.3.0-2)
[2020-01-08T18:50:09-0300] [ALPM] upgraded libgusb (0.3.1-1 -> 0.3.1-2)
[2020-01-08T18:50:10-0300] [ALPM] upgraded chromium (79.0.3945.88-2 -> 79.0.3945.117-1)
[2020-01-08T18:50:10-0300] [ALPM] upgraded dhcpcd (8.1.4-1 -> 8.1.5-1)
[2020-01-08T18:50:11-0300] [ALPM] upgraded firefox (71.0-1 -> 72.0.1-1)
[2020-01-08T18:50:11-0300] [ALPM] upgraded grep (3.3-3 -> 3.4-1)
[2020-01-08T18:50:11-0300] [ALPM] upgraded haskell-haddock-library (1.8.0-7 -> 1.8.0-8)
[2020-01-08T18:50:11-0300] [ALPM] upgraded haskell-http (4000.3.14-72 -> 4000.3.14-73)
[2020-01-08T18:50:11-0300] [ALPM] upgraded haskell-streaming-commons (0.2.1.1-17 -> 0.2.1.2-1)
[2020-01-08T18:50:11-0300] [ALPM] upgraded haskell-http-client (0.6.4-35 -> 0.6.4-36)
[2020-01-08T18:50:11-0300] [ALPM] upgraded haskell-http-client-tls (0.3.5.3-150 -> 0.3.5.3-151)
[2020-01-08T18:50:11-0300] [ALPM] upgraded libevent (2.1.11-4 -> 2.1.11-5)
[2020-01-08T18:50:12-0300] [ALPM] upgraded linux-hardened (5.4.7.a-1 -> 5.4.8.a-1)
[2020-01-08T18:50:17-0300] [ALPM] upgraded linux-hardened-headers (5.4.7.a-1 -> 5.4.8.a-1)
[2020-01-08T18:50:17-0300] [ALPM] upgraded nodejs (13.5.0-2 -> 13.6.0-1)
[2020-01-08T18:50:17-0300] [ALPM] upgraded semver (6.3.0-2 -> 7.1.1-1)
[2020-01-08T18:50:17-0300] [ALPM] upgraded node-gyp (6.0.1-1 -> 6.1.0-1)
[2020-01-08T18:50:17-0300] [ALPM] upgraded notmuch-runtime (0.29.3-1 -> 0.29.3-2)
[2020-01-08T18:50:18-0300] [ALPM] upgraded pandoc (2.8-12 -> 2.8-14)
[2020-01-08T18:50:18-0300] [ALPM] upgraded python-setuptools (1:42.0.2-1 -> 1:43.0.0-1)
[2020-01-08T18:50:18-0300] [ALPM] installed python-contextlib2 (0.6.0-3)
[2020-01-08T18:50:18-0300] [ALPM] upgraded python-pip (19.2.3-3 -> 19.3-1)
[2020-01-08T18:50:18-0300] [ALPM] upgraded python-pyqt5 (5.14.0-3 -> 5.14.1-1)
[2020-01-08T18:50:18-0300] [ALPM] upgraded python-pyrsistent (0.15.6-1 -> 0.15.7-1)
[2020-01-08T18:50:18-0300] [ALPM] upgraded python2-setuptools (1:42.0.2-1 -> 1:43.0.0-1)
[2020-01-08T18:50:18-0300] [ALPM] upgraded python2-pip (19.2.3-3 -> 19.3-1)
[2020-01-08T18:50:19-0300] [ALPM] upgraded python2-pyqt5 (5.14.0-3 -> 5.14.1-1)
[2020-01-08T18:50:19-0300] [ALPM] upgraded udiskie (2.0.1-1 -> 2.0.2-1)
[2020-01-08T18:50:19-0300] [ALPM] upgraded vim-runtime (8.2.0033-1 -> 8.2.0100-1)
[2020-01-08T18:50:19-0300] [ALPM] upgraded vim (8.2.0033-1 -> 8.2.0100-1)
[2020-01-08T18:50:19-0300] [ALPM] upgraded wavpack (5.1.0-2 -> 5.2.0-1)
[2020-01-08T18:50:19-0300] [ALPM] upgraded wireguard-dkms (0.0.20191226-1 -> 0.0.20200105-1)
[2020-01-08T18:50:19-0300] [ALPM] transaction completed
[2020-01-08T18:50:20-0300] [ALPM] running '30-systemd-daemon-reload.hook'...
[2020-01-08T18:50:21-0300] [ALPM] running '30-systemd-udev-reload.hook'...
[2020-01-08T18:50:21-0300] [ALPM] running '30-systemd-update.hook'...
[2020-01-08T18:50:21-0300] [ALPM] running '60-depmod.hook'...
[2020-01-08T18:50:29-0300] [ALPM] running '70-dkms-install.hook'...
[2020-01-08T18:50:29-0300] [ALPM-SCRIPTLET] ==> dkms install nvidia/440.44 -k 5.4.8.a-1-hardened
[2020-01-08T18:52:03-0300] [ALPM-SCRIPTLET] ==> dkms install wireguard/0.0.20200105 -k 5.4.8.a-1-hardened
[2020-01-08T18:52:31-0300] [ALPM-SCRIPTLET] ==> dkms install vboxhost/6.1.0_OSE -k 5.4.8.a-1-hardened
[2020-01-08T18:53:07-0300] [ALPM-SCRIPTLET] ==> dkms install bbswitch/0.8 -k 5.4.8.a-1-hardened
[2020-01-08T18:53:22-0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2020-01-08T18:53:22-0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-hardened.preset: 'default'
[2020-01-08T18:53:22-0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-hardened -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-hardened.img
[2020-01-08T18:53:23-0300] [ALPM-SCRIPTLET] ==> Starting build: 5.4.8.a-1-hardened
[2020-01-08T18:53:23-0300] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-01-08T18:53:23-0300] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-01-08T18:53:24-0300] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2020-01-08T18:53:25-0300] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-01-08T18:53:26-0300] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2020-01-08T18:53:26-0300] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2020-01-08T18:53:26-0300] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2020-01-08T18:53:26-0300] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-01-08T18:53:26-0300] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-01-08T18:53:29-0300] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2020-01-08T18:53:33-0300] [ALPM-SCRIPTLET]   -> Running build hook: [lvm2]
[2020-01-08T18:53:34-0300] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-01-08T18:53:34-0300] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-01-08T18:53:35-0300] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-01-08T18:53:35-0300] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-hardened.img
[2020-01-08T18:53:39-0300] [ALPM-SCRIPTLET] ==> Image generation successful
[2020-01-08T18:53:39-0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-hardened.preset: 'fallback'
[2020-01-08T18:53:39-0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-hardened -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-hardened-fallback.img -S autodetect
[2020-01-08T18:53:39-0300] [ALPM-SCRIPTLET] ==> Starting build: 5.4.8.a-1-hardened
[2020-01-08T18:53:39-0300] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-01-08T18:53:40-0300] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-01-08T18:53:41-0300] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-01-08T18:53:46-0300] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2020-01-08T18:53:47-0300] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2020-01-08T18:53:47-0300] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2020-01-08T18:53:47-0300] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-01-08T18:53:47-0300] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-01-08T18:53:50-0300] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2020-01-08T18:53:52-0300] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2020-01-08T18:53:59-0300] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2020-01-08T18:54:03-0300] [ALPM-SCRIPTLET]   -> Running build hook: [lvm2]
[2020-01-08T18:54:04-0300] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-01-08T18:54:08-0300] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-01-08T18:54:10-0300] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-01-08T18:54:10-0300] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-hardened-fallback.img
[2020-01-08T18:54:19-0300] [ALPM-SCRIPTLET] ==> Image generation successful
[2020-01-08T18:54:19-0300] [ALPM] running 'ghc-register.hook'...
[2020-01-08T18:54:20-0300] [ALPM] running 'gtk-update-icon-cache.hook'...
[2020-01-08T18:54:20-0300] [ALPM] running 'texinfo-install.hook'...
[2020-01-08T18:54:20-0300] [ALPM] running 'update-ca-trust.hook'...
[2020-01-08T18:54:22-0300] [ALPM] running 'update-desktop-database.hook'...
[2020-01-09T18:59:38-0300] [PACMAN] Running 'pacman -Syy'
[2020-01-09T18:59:38-0300] [PACMAN] synchronizing package lists
[2020-01-09T18:59:46-0300] [PACMAN] Running 'pacman -Syu'
[2020-01-09T18:59:46-0300] [PACMAN] synchronizing package lists
[2020-01-09T18:59:47-0300] [PACMAN] starting full system upgrade
[2020-01-09T18:59:59-0300] [ALPM] transaction started
[2020-01-09T18:59:59-0300] [ALPM] upgraded archlinux-keyring (20191219-1 -> 20200108-1)
.... Just jumping through all the keys upgraded
[2020-01-09T19:00:03-0300] [ALPM-SCRIPTLET] ==> Updating trust database...
[2020-01-09T19:00:03-0300] [ALPM-SCRIPTLET] gpg: next trustdb check due at 2020-05-31
[2020-01-09T19:00:03-0300] [ALPM] upgraded iptables (1:1.8.3-3 -> 1:1.8.4-1)
[2020-01-09T19:00:04-0300] [ALPM] upgraded docker-compose (1.25.0-1 -> 1.25.1-1)
[2020-01-09T19:00:04-0300] [ALPM] upgraded libedit (20191211_3.1-1 -> 20191231_3.1-1)
[2020-01-09T19:00:04-0300] [ALPM] upgraded mesa (19.3.1-1 -> 19.3.2-1)
[2020-01-09T19:00:04-0300] [ALPM] upgraded gnucash (3.7-3 -> 3.8-3)
[2020-01-09T19:00:04-0300] [ALPM] upgraded osinfo-db (20190920-1 -> 20191125-1)
[2020-01-09T19:00:04-0300] [ALPM] upgraded libosinfo (1.6.0-1 -> 1.7.1-1)
[2020-01-09T19:00:04-0300] [ALPM] upgraded xchm (1.30-1 -> 1.31-1)
[2020-01-09T19:00:04-0300] [ALPM] transaction completed
[2020-01-09T19:00:04-0300] [ALPM] running '30-systemd-daemon-reload.hook'...
[2020-01-09T19:00:05-0300] [ALPM-SCRIPTLET] Running in chroot, ignoring request: daemon-reload
[2020-01-09T19:00:05-0300] [ALPM] running '30-systemd-update.hook'...
[2020-01-09T19:00:05-0300] [ALPM] running 'glib-compile-schemas.hook'...
[2020-01-09T19:00:05-0300] [ALPM] running 'gtk-update-icon-cache.hook'...
[2020-01-09T19:00:05-0300] [ALPM] running 'update-desktop-database.hook'...
[2020-01-09T19:00:13-0300] [PACMAN] Running 'pacman -S linux-hardened'
[2020-01-09T19:00:15-0300] [ALPM] running '70-dkms-remove.hook'...
[2020-01-09T19:00:16-0300] [ALPM-SCRIPTLET] ==> dkms remove nvidia/440.44 -k 5.4.8.a-1-hardened
[2020-01-09T19:00:28-0300] [ALPM-SCRIPTLET] ==> dkms remove wireguard/0.0.20200105 -k 5.4.8.a-1-hardened
[2020-01-09T19:00:36-0300] [ALPM-SCRIPTLET] ==> dkms remove vboxhost/6.1.0_OSE -k 5.4.8.a-1-hardened
[2020-01-09T19:00:44-0300] [ALPM-SCRIPTLET] ==> dkms remove bbswitch/0.8 -k 5.4.8.a-1-hardened
[2020-01-09T19:00:52-0300] [ALPM] transaction started
[2020-01-09T19:00:53-0300] [ALPM] reinstalled linux-hardened (5.4.8.a-1)
[2020-01-09T19:00:53-0300] [ALPM] transaction completed
[2020-01-09T19:00:53-0300] [ALPM] running '30-systemd-update.hook'...
[2020-01-09T19:00:53-0300] [ALPM] running '60-depmod.hook'...
[2020-01-09T19:01:00-0300] [ALPM] running '70-dkms-install.hook'...
[2020-01-09T19:01:00-0300] [ALPM-SCRIPTLET] ==> dkms install nvidia/440.44 -k 5.4.8.a-1-hardened
[2020-01-09T19:03:31-0300] [ALPM-SCRIPTLET] ==> dkms install wireguard/0.0.20200105 -k 5.4.8.a-1-hardened
[2020-01-09T19:04:26-0300] [ALPM-SCRIPTLET] ==> dkms install vboxhost/6.1.0_OSE -k 5.4.8.a-1-hardened
[2020-01-09T19:05:34-0300] [ALPM-SCRIPTLET] ==> dkms install bbswitch/0.8 -k 5.4.8.a-1-hardened
[2020-01-09T19:05:59-0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2020-01-09T19:06:00-0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-hardened.preset: 'default'
[2020-01-09T19:06:00-0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-hardened -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-hardened.img
[2020-01-09T19:06:00-0300] [ALPM-SCRIPTLET] ==> Starting build: 5.4.8.a-1-hardened
[2020-01-09T19:06:00-0300] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-01-09T19:06:00-0300] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-01-09T19:06:00-0300] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2020-01-09T19:06:01-0300] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-01-09T19:06:02-0300] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2020-01-09T19:06:02-0300] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2020-01-09T19:06:02-0300] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2020-01-09T19:06:02-0300] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-01-09T19:06:02-0300] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-01-09T19:06:03-0300] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2020-01-09T19:06:06-0300] [ALPM-SCRIPTLET]   -> Running build hook: [lvm2]
[2020-01-09T19:06:06-0300] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-01-09T19:06:06-0300] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-01-09T19:06:07-0300] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-01-09T19:06:07-0300] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-hardened.img
[2020-01-09T19:06:11-0300] [ALPM-SCRIPTLET] ==> Image generation successful
[2020-01-09T19:06:11-0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-hardened.preset: 'fallback'
[2020-01-09T19:06:11-0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-hardened -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-hardened-fallback.img -S autodetect
[2020-01-09T19:06:11-0300] [ALPM-SCRIPTLET] ==> Starting build: 5.4.8.a-1-hardened
[2020-01-09T19:06:11-0300] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-01-09T19:06:11-0300] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-01-09T19:06:12-0300] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-01-09T19:06:15-0300] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2020-01-09T19:06:15-0300] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2020-01-09T19:06:15-0300] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2020-01-09T19:06:15-0300] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-01-09T19:06:15-0300] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-01-09T19:06:17-0300] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2020-01-09T19:06:18-0300] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2020-01-09T19:06:22-0300] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2020-01-09T19:06:24-0300] [ALPM-SCRIPTLET]   -> Running build hook: [lvm2]
[2020-01-09T19:06:24-0300] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-01-09T19:06:26-0300] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-01-09T19:06:28-0300] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-01-09T19:06:29-0300] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-hardened-fallback.img
[2020-01-09T19:06:44-0300] [ALPM-SCRIPTLET] ==> Image generation successful

And my journalctl from the failed boot (only posting the interesting part to make it brief):

Jan 09 18:54:08 archer systemd[1]: Created slice system-getty.slice.
Jan 09 18:54:08 archer systemd[1]: Created slice system-netctl.slice.
Jan 09 18:54:08 archer systemd[1]: Created slice system-rfkill\x2dunblock.slice.
Jan 09 18:54:08 archer systemd[1]: Created slice system-systemd\x2dcryptsetup.slice.
Jan 09 18:54:08 archer systemd[1]: Created slice system-systemd\x2dfsck.slice.
Jan 09 18:54:08 archer systemd[1]: Created slice User and Session Slice.
Jan 09 18:54:08 archer systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
Jan 09 18:54:08 archer systemd[1]: Started Forward Password Requests to Wall Directory Watch.
Jan 09 18:54:08 archer systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
Jan 09 18:54:08 archer systemd[1]: Reached target Paths.
Jan 09 18:54:08 archer systemd[1]: Reached target Remote File Systems.
Jan 09 18:54:08 archer systemd[1]: Reached target Slices.
Jan 09 18:54:08 archer systemd[1]: Reached target Swap.
Jan 09 18:54:08 archer systemd[1]: Listening on Device-mapper event daemon FIFOs.
Jan 09 18:54:08 archer systemd[1]: Listening on LVM2 metadata daemon socket.
Jan 09 18:54:08 archer systemd[1]: Listening on LVM2 poll daemon socket.
Jan 09 18:54:08 archer systemd[1]: Listening on Process Core Dump Socket.
Jan 09 18:54:08 archer systemd[1]: Listening on initctl Compatibility Named Pipe.
Jan 09 18:54:08 archer systemd[1]: Listening on Journal Audit Socket.
Jan 09 18:54:08 archer systemd[1]: Listening on Journal Socket (/dev/log).
Jan 09 18:54:08 archer systemd[1]: Listening on Journal Socket.
Jan 09 18:54:08 archer systemd[1]: Listening on udev Control Socket.
Jan 09 18:54:08 archer systemd[1]: Listening on udev Kernel Socket.
Jan 09 18:54:08 archer systemd[1]: Mounting Huge Pages File System...
Jan 09 18:54:08 archer systemd[1]: Mounting POSIX Message Queue File System...
Jan 09 18:54:08 archer systemd[1]: Mounting Kernel Debug File System...
Jan 09 18:54:08 archer systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
Jan 09 18:54:08 archer systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
Jan 09 18:54:08 archer systemd[1]: Starting Set Up Additional Binary Formats...
Jan 09 18:54:08 archer systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
Jan 09 18:54:08 archer systemd[1]: Starting Journal Service...
Jan 09 18:54:08 archer systemd[1]: Starting Load Kernel Modules...
Jan 09 18:54:08 archer systemd[1]: Starting Remount Root and Kernel File Systems...
Jan 09 18:54:08 archer kernel: EXT4-fs (dm-2): re-mounted. Opts: (null)
Jan 09 18:54:08 archer systemd[1]: Starting udev Coldplug all Devices...
Jan 09 18:54:08 archer systemd[1]: Mounted Huge Pages File System.
Jan 09 18:54:08 archer systemd[1]: Mounted POSIX Message Queue File System.
Jan 09 18:54:08 archer systemd[1]: Mounted Kernel Debug File System.
Jan 09 18:54:08 archer systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jan 09 18:54:08 archer systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jan 09 18:54:08 archer systemd[1]: Failed to start Load Kernel Modules.
Jan 09 18:54:08 archer systemd[1]: Started Remount Root and Kernel File Systems.
Jan 09 18:54:08 archer systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 395 (systemd-b>
Jan 09 18:54:08 archer systemd[1]: Mounting Arbitrary Executable File Formats File System...
Jan 09 18:54:08 archer systemd[1]: Condition check resulted in FUSE Control File System being skipped.
Jan 09 18:54:08 archer systemd[1]: Mounting Kernel Configuration File System...
Jan 09 18:54:08 archer systemd[1]: Started LVM2 metadata daemon.
Jan 09 18:54:08 archer systemd[1]: Condition check resulted in First Boot Wizard being skipped.
Jan 09 18:54:08 archer systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
Jan 09 18:54:08 archer systemd[1]: Starting Load/Save Random Seed...
...
Jan 09 18:54:08 archer systemd-modules-load[397]: Failed to lookup module alias 'crypto_user': Function not implemented
Jan 09 18:54:08 archer systemd-modules-load[397]: Failed to lookup module alias 'vboxdrv': Function not implemented
Jan 09 18:54:08 archer systemd-modules-load[397]: Failed to lookup module alias 'vboxnetadp': Function not implemented
Jan 09 18:54:08 archer systemd-modules-load[397]: Failed to lookup module alias 'vboxnetflt': Function not implemented
Jan 09 18:54:08 archer systemd-random-seed[406]: Kernel entropy pool is not initialized yet, waiting until it is.
Jan 09 18:54:08 archer audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udev-trigger comm="systemd" exe="/usr/lib>
Jan 09 18:54:08 archer kernel: audit: type=1130 audit(1578606848.207:2): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udev-trigger co>
Jan 09 18:54:08 archer systemd[1]: Started Journal Service.
...
Jan 09 18:54:10 archer systemd[1]: Started Bumblebee C Daemon.
-- Subject: A start job for unit bumblebeed.service has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit bumblebeed.service has finished successfully.
-- 
-- The job identifier is 115.
....
Jan 09 18:54:10 archer bumblebeed[660]: modprobe: FATAL: Module bbswitch not found in directory /lib/modules/5.4.7.a-1-hardened
Jan 09 18:54:10 archer bumblebeed[656]: [   14.150450] [ERROR]Module bbswitch could not be loaded (timeout?)
Jan 09 18:54:10 archer bumblebeed[656]: [   14.150486] [WARN]No switching method available. The dedicated card will always be on.
Jan 09 18:54:10 archer bumblebeed[656]: [   14.150494] [ERROR]Invalid configuration: no driver configured.
....
Jan 09 18:54:10 archer systemd[1]: Starting RFKill-Unblock bluetooth...
-- Subject: A start job for unit rfkill-unblock@bluetooth.service has begun execution
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit rfkill-unblock@bluetooth.service has begun execution.
-- 
-- The job identifier is 99.
Jan 09 18:54:10 archer rfkill[663]: rfkill: cannot open /dev/rfkill: No such file or directory
Jan 09 18:54:10 archer systemd[1]: bumblebeed.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- An ExecStart= process belonging to unit bumblebeed.service has exited.
-- 
-- The process' exit code is 'exited' and its exit status is 1.
Jan 09 18:54:10 archer systemd[1]: bumblebeed.service: Failed with result 'exit-code'.
Jan 09 18:54:10 archer systemd[1]: Failed to start RFKill-Unblock bluetooth.
-- Subject: A start job for unit rfkill-unblock@bluetooth.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit rfkill-unblock@bluetooth.service has finished with a failure.
-- 
-- The job identifier is 99 and the job result is failed.
Jan 09 18:54:10 archer sensors[666]: No sensors found!
Jan 09 18:54:10 archer sensors[666]: Make sure you loaded all the kernel drivers you need.
Jan 09 18:54:10 archer sensors[666]: Try sensors-detect to find out which these are.
Jan 09 18:54:10 archer audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=rfkill-unblock@bluetooth comm="systemd" exe="/usr>
Jan 09 18:54:10 archer systemd[1]: lm_sensors.service: Main process exited, code=exited, status=1/FAILURE

I can also find the other of the first failure of this year, but was pretty much the same as this one.

If you need any other logs or command outputs just let me know.

Thanks

Last edited by dodys (2020-01-09 23:26:58)

Offline

#2 2020-01-09 23:00:59

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Hardened kernel, boot breaking after every update

Jan 09 18:54:08 archer systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.

What was the Linux version for that boot?  (should be in the first few lines of the journal for that boot)

Offline

#3 2020-01-09 23:07:49

dodys
Member
From: Campinas, Brazil
Registered: 2014-09-16
Posts: 12

Re: Hardened kernel, boot breaking after every update

loqs wrote:

What was the Linux version for that boot?

Here it is:

Jan 09 18:54:08 archer kernel: Linux version 5.4.7.a-1-hardened (linux-hardened@archlinux) (gcc version 9.2.0 (GCC)) #1 SMP PREEMPT Thu, 02 Jan 2020 19:52:39 +0000

Which is odd, it should be 5.4.8.a-1.

Offline

#4 2020-01-09 23:10:44

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Hardened kernel, boot breaking after every update

Is /boot mounted when you perform the update?

Offline

#5 2020-01-09 23:18:54

dodys
Member
From: Campinas, Brazil
Registered: 2014-09-16
Posts: 12

Re: Hardened kernel, boot breaking after every update

Yes, it should be, otherwise it should fail during mkinitcpio-install.hook right?

Also on my current running boot I can see:

$ lsblk -f
NAME           FSTYPE   FSAVAIL FSUSE% MOUNTPOINT
sda                                                                                    
├─sda1         ext4       364.9M    18% /boot

and

$ cat /etc/fstab 
/dev/sda1               /boot           ext4         defaults        	     0       2

Offline

#6 2020-01-09 23:28:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Hardened kernel, boot breaking after every update

Logical follow up question, is GRUB or whatever bootloader you use actually configured to boot from there and are you sure you are mounting it when you chroot to fix it?

No the mkinitcpio.hook will not fail, it will simply write into the "directory" /boot and not the "partition" /boot pay close attention when going in with the Arch chroot. Your "/boot" directory will likely contain (newer/older) kernel images , where you'd expect them to be on the partition (or vice-versa) this can go both ways

Last edited by V1del (2020-01-09 23:29:25)

Online

#7 2020-01-09 23:36:50

dodys
Member
From: Campinas, Brazil
Registered: 2014-09-16
Posts: 12

Re: Hardened kernel, boot breaking after every update

Yes, I manually mounted my boot partition before running the chroot.
Here is the steps I've done

# cryptsetup luksOpen /dev/mapper/lvm-lvroot myarch
# monut /dev/mapper/myarch /mnt
# mount /dev/sda1 /mnt/boot
# arch-chroot /mnt

That's exactly how I fixed the first time the issue happened and also this time.
After the fix I could use the system and boot normally everyday, until the next kernel update.

Offline

#8 2020-01-09 23:50:43

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Hardened kernel, boot breaking after every update

/dev/sda1 is not a persistent name.  Do any other filesystems other than the one mounted on /boot contain vmlinuz-linux-hardened?

Offline

#9 2020-01-10 01:44:09

dodys
Member
From: Campinas, Brazil
Registered: 2014-09-16
Posts: 12

Re: Hardened kernel, boot breaking after every update

no, I don't have other filesystems

Offline

Board footer

Powered by FluxBB