FS#54496 - [dkms] Job for systemd-modules-load.service failed because the control process exited with error

Attached to Project: Arch Linux
Opened by Stefan (steinwanderer) - Saturday, 17 June 2017, 19:33 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 17 June 2017, 20:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

dkms triggers systemd-modules-load.service, which will of course fail in case of a kernel update, because it tries to load the new modules into the old (still running) kernel.

Additional info:

Job for systemd-modules-load.service failed because the control process exited with error code.
See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.
systemd[1]: Failed to start Load Kernel Modules.

https://www.reddit.com/r/archlinux/comments/6herws/systemd_error_for_dkms_modules_when_updating/
https://github.com/dell/dkms/commit/f5bfb12fef1fc06e56355cdba500eaa98d4e6aa8
https://bbs.archlinux.de/viewtopic.php?id=30539

* package version(s)

dkms 2.4.0-1

* config and/or log files etc.

# pacman -U linux-zen-headers-4.11.5-1-x86_64.pkg.tar.xz linux-zen-4.11.5-1-x86_64.pkg.tar.xz

Suche nach in Konflikt stehenden Paketen...

Pakete (2) linux-zen-4.11.5-1 linux-zen-headers-4.11.5-1

Gesamtgröße der installierten Pakete: 136,04 MiB
Größendifferenz der Aktualisierung: 0,00 MiB

:: Installation fortsetzen? [J/n]
(2/2) Prüfe Schlüssel im Schlüsselring [#################################################################] 100%
(2/2) Überprüfe Paket-Integrität [#################################################################] 100%
(2/2) Lade Paket-Dateien [#################################################################] 100%
(2/2) Prüfe auf Dateikonflikte [#################################################################] 100%
(2/2) Überprüfe verfügbaren Festplattenspeicher [#################################################################] 100%
:: Starte pre-transaction hooks...
(1/1) Remove DKMS modules
==> dkms remove tp_smapi/0.42 -k 4.11.4-1-zen
==> dkms remove vboxhost/5.1.22_OSE -k 4.11.4-1-zen
==> dkms remove wireguard/0.0.20170613 -k 4.11.4-1-zen
==> dkms remove crystalhd/3.10.0 -k 4.11.4-1-zen
==> dkms remove phc-intel/0.3.2 -k 4.11.4-1-zen
:: Verarbeite Paketänderungen...
(1/2) Aktualisiere linux-zen-headers [#################################################################] 100%
(2/2) Aktualisiere linux-zen [#################################################################] 100%
>>> Updating module dependencies. Please wait ...
:: Starte post-transaction hooks...
(1/3) Install DKMS modules
==> dkms install tp_smapi/0.42 -k 4.11.5-1-zen
Job for systemd-modules-load.service failed because the control process exited with error code.
See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.
==> dkms install vboxhost/5.1.22_OSE -k 4.11.5-1-zen
Job for systemd-modules-load.service failed because the control process exited with error code.
See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.
==> dkms install wireguard/0.0.20170613 -k 4.11.5-1-zen
Job for systemd-modules-load.service failed because the control process exited with error code.
See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.
==> dkms install crystalhd/3.10.0 -k 4.11.5-1-zen
Job for systemd-modules-load.service failed because the control process exited with error code.
See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.
==> dkms install phc-intel/0.3.2 -k 4.11.5-1-zen
Job for systemd-modules-load.service failed because the control process exited with error code.
See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.
(2/3) Updating linux-zen initcpios
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> Starting build: 4.11.5-1-zen
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [resume]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
==> Generating module dependencies
==> Creating lz4-compressed initcpio image: /boot/initramfs-linux-zen.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
==> Starting build: 4.11.5-1-zen
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [resume]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
==> Generating module dependencies
==> Creating lz4-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
==> Image generation successful
(3/3) Arming ConditionNeedsUpdate...


# from journal:

Jun 16 04:06:55 systemd-modules-load[10232]: Failed to lookup alias 'vboxdrv': Function not implemented
Jun 16 04:06:55 systemd-modules-load[10232]: Failed to lookup alias 'vboxpci': Function not implemented
Jun 16 04:06:55 systemd-modules-load[10232]: Failed to lookup alias 'vboxnetadp': Function not implemented
Jun 16 04:06:55 systemd-modules-load[10232]: Failed to lookup alias 'vboxnetflt': Function not implemented
Jun 16 04:06:55 systemd[1]: Failed to start Load Kernel Modules.
Jun 16 04:07:35 systemd-modules-load[13001]: Failed to lookup alias 'sg': Function not implemented
Jun 16 04:07:35 systemd-modules-load[13001]: Failed to lookup alias 'tpm-rng': Function not implemented
Jun 16 04:07:35 systemd-modules-load[13001]: Failed to lookup alias 'vboxdrv': Function not implemented
Jun 16 04:07:35 systemd-modules-load[13001]: Failed to lookup alias 'vboxpci': Function not implemented
Jun 16 04:07:35 systemd-modules-load[13001]: Failed to lookup alias 'vboxnetadp': Function not implemented
Jun 16 04:07:35 systemd-modules-load[13001]: Failed to lookup alias 'vboxnetflt': Function not implemented
Jun 16 04:07:35 systemd[1]: Failed to start Load Kernel Modules.
Jun 16 04:07:51 systemd-modules-load[14441]: Failed to lookup alias 'sg': Function not implemented
Jun 16 04:07:51 systemd-modules-load[14441]: Failed to lookup alias 'tpm-rng': Function not implemented
Jun 16 04:07:51 systemd-modules-load[14441]: Failed to lookup alias 'vboxdrv': Function not implemented
Jun 16 04:07:51 systemd-modules-load[14441]: Failed to lookup alias 'vboxpci': Function not implemented
Jun 16 04:07:51 systemd-modules-load[14441]: Failed to lookup alias 'vboxnetadp': Function not implemented
Jun 16 04:07:51 systemd-modules-load[14441]: Failed to lookup alias 'vboxnetflt': Function not implemented
Jun 16 04:07:51 systemd[1]: Failed to start Load Kernel Modules.
Jun 16 04:08:02 systemd-modules-load[15372]: Failed to lookup alias 'sg': Function not implemented
Jun 16 04:08:02 systemd-modules-load[15372]: Failed to lookup alias 'tpm-rng': Function not implemented
Jun 16 04:08:02 systemd-modules-load[15372]: Failed to lookup alias 'vboxdrv': Function not implemented
Jun 16 04:08:02 systemd-modules-load[15372]: Failed to lookup alias 'vboxpci': Function not implemented
Jun 16 04:08:02 systemd-modules-load[15372]: Failed to lookup alias 'vboxnetadp': Function not implemented
Jun 16 04:08:02 systemd-modules-load[15372]: Failed to lookup alias 'vboxnetflt': Function not implemented
Jun 16 04:08:02 systemd[1]: Failed to start Load Kernel Modules.
Jun 16 04:08:10 systemd-modules-load[16658]: Failed to lookup alias 'sg': Function not implemented
Jun 16 04:08:10 systemd-modules-load[16658]: Failed to lookup alias 'tpm-rng': Function not implemented
Jun 16 04:08:10 systemd-modules-load[16658]: Failed to lookup alias 'vboxdrv': Function not implemented
Jun 16 04:08:10 systemd-modules-load[16658]: Failed to lookup alias 'vboxpci': Function not implemented
Jun 16 04:08:10 systemd-modules-load[16658]: Failed to lookup alias 'vboxnetadp': Function not implemented
Jun 16 04:08:10 systemd-modules-load[16658]: Failed to lookup alias 'vboxnetflt': Function not implemented
Jun 16 04:08:10 systemd[1]: Failed to start Load Kernel Modules.


Reverting https://github.com/dell/dkms/commit/f5bfb12fef1fc06e56355cdba500eaa98d4e6aa8 correct this.
Please refer to the attached patch.

best regards
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 17 June 2017, 20:15 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#54481 

Loading...