You are not logged in.

#1 2017-07-01 04:32:56

htfy96
Member
Registered: 2015-10-22
Posts: 11

[SOLVED] dkms install failed after upgrading kernel to 4.11.7-1

Recently I upgraded my kernel to official 4.11.7-1. During upgrade, pacman complained that dkms install for all modules had failed.  Downgrading to 4.11.6-3 fixed this issue. Log is recorded below:

(1/6) Install DKMS modules
==> dkms install broadcom-wl/6.30.223.271 -k 4.11.7-1-ARCH
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.7-1-ARCH
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 v4l2loopback/0.9.1 -k 4.11.7-1-ARCH
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.

`journalctl -xe`:

-- Subject: Unit systemd-modules-load.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has finished shutting down.
Jul 01 12:28:02 lzPC systemd[1]: Stopping Load Kernel Modules...
-- Subject: Unit systemd-modules-load.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has begun shutting down.
Jul 01 12:28:02 lzPC systemd[1]: Starting Load Kernel Modules...
-- Subject: Unit systemd-modules-load.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has begun starting up.
Jul 01 12:28:02 lzPC systemd-modules-load[2653]: Failed to lookup alias 'acpi_call': Function not implemented
Jul 01 12:28:02 lzPC systemd-modules-load[2653]: Failed to lookup alias 'sg': Function not implemented
Jul 01 12:28:02 lzPC systemd-modules-load[2653]: Failed to lookup alias 'vboxdrv': Function not implemented
Jul 01 12:28:02 lzPC systemd-modules-load[2653]: Failed to lookup alias 'vboxpci': Function not implemented
Jul 01 12:28:02 lzPC systemd-modules-load[2653]: Failed to lookup alias 'vboxnetadp': Function not implemented
Jul 01 12:28:02 lzPC systemd-modules-load[2653]: Failed to lookup alias 'vboxnetflt': Function not implemented
Jul 01 12:28:02 lzPC systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jul 01 12:28:02 lzPC systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has failed.
-- 
-- The result is failed.
Jul 01 12:28:02 lzPC systemd[1]: systemd-modules-load.service: Unit entered failed state.
Jul 01 12:28:02 lzPC systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jul 01 12:28:13 lzPC systemd[1]: Starting Load Kernel Modules...
-- Subject: Unit systemd-modules-load.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has begun starting up.
Jul 01 12:28:13 lzPC systemd-modules-load[5410]: Failed to lookup alias 'acpi_call': Function not implemented
Jul 01 12:28:13 lzPC systemd-modules-load[5410]: Failed to lookup alias 'sg': Function not implemented
Jul 01 12:28:13 lzPC systemd-modules-load[5410]: Failed to lookup alias 'vboxdrv': Function not implemented
Jul 01 12:28:13 lzPC systemd-modules-load[5410]: Failed to lookup alias 'vboxpci': Function not implemented
Jul 01 12:28:13 lzPC systemd-modules-load[5410]: Failed to lookup alias 'vboxnetadp': Function not implemented
Jul 01 12:28:13 lzPC systemd-modules-load[5410]: Failed to lookup alias 'vboxnetflt': Function not implemented
Jul 01 12:28:13 lzPC systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jul 01 12:28:13 lzPC systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has failed.
-- 
-- The result is failed.
Jul 01 12:28:13 lzPC systemd[1]: systemd-modules-load.service: Unit entered failed state.
Jul 01 12:28:13 lzPC systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jul 01 12:28:14 lzPC sudo[5743]:       lz : TTY=pts/1 ; PWD=/home/lz ; USER=root ; COMMAND=/usr/bin/journalctl -xe
Jul 01 12:28:14 lzPC sudo[5743]: pam_unix(sudo:session): session opened for user root by lz(uid=0)
Jul 01 12:28:16 lzPC systemd[1]: Starting Load Kernel Modules...
-- Subject: Unit systemd-modules-load.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has begun starting up.
Jul 01 12:28:16 lzPC systemd-modules-load[5984]: Failed to lookup alias 'acpi_call': Function not implemented
Jul 01 12:28:16 lzPC systemd-modules-load[5984]: Failed to lookup alias 'sg': Function not implemented
Jul 01 12:28:16 lzPC systemd-modules-load[5984]: Failed to lookup alias 'vboxdrv': Function not implemented
Jul 01 12:28:16 lzPC systemd-modules-load[5984]: Failed to lookup alias 'vboxpci': Function not implemented
Jul 01 12:28:16 lzPC systemd-modules-load[5984]: Failed to lookup alias 'vboxnetadp': Function not implemented
Jul 01 12:28:16 lzPC systemd-modules-load[5984]: Failed to lookup alias 'vboxnetflt': Function not implemented
Jul 01 12:28:16 lzPC systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jul 01 12:28:16 lzPC systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has failed.
-- 
-- The result is failed.
Jul 01 12:28:16 lzPC systemd[1]: systemd-modules-load.service: Unit entered failed state.
Jul 01 12:28:16 lzPC systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.

Last edited by htfy96 (2017-07-09 08:04:05)

Offline

#2 2017-07-01 08:06:46

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

Re: [SOLVED] dkms install failed after upgrading kernel to 4.11.7-1

Offline

#3 2017-07-01 11:32:15

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [SOLVED] dkms install failed after upgrading kernel to 4.11.7-1

htfy96 wrote:

During upgrade, pacman complained that dkms install for all modules had failed.

For me, the VirtualBox modules have been failing to load directly after the DKMS hook for a while, certainly while on 4.11.6.x, but on reboot everyone is fine, which is what I do after -Syu anyway as routine. Does everything work normally after reboot? Because that could be very different problems. I think the bug report linked by @loqs relates to having the newly recompiled modules available prior to a reboot. But if your modules are dead even after reboot, that probably means the dkms recompile failed, which is different.

Offline

#4 2017-07-09 08:04:33

htfy96
Member
Registered: 2015-10-22
Posts: 11

Re: [SOLVED] dkms install failed after upgrading kernel to 4.11.7-1

This has been fixed in linux-4.11.9-1 and dkms-2.4.0-2.

Last edited by htfy96 (2017-07-09 08:05:00)

Offline

Board footer

Powered by FluxBB