[Bug 1574163] Re: systemd[1]: Failed to start Load Kernel Modules.

ppanon 1574163 at bugs.launchpad.net
Tue May 31 06:44:28 UTC 2016


Well, I was running 14.02 and tried the upgrade to 16.04, which failed miserably. After spending a fair it of time trying to put humpty dumpty together again, I finaly re-installed 16.04 from CD (server because I have an LVM disk setup which the desktop CD couldn't figure out), and then did an apt-get install unity-desktop to get the desktop GUI. I now have a number of outstanding issues:
ppanon at whiteygu:~$ sudo SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-modules-load
apply: /etc/modules-load.d/cups-filters.conf
load: lp
could not open moddep file '/lib/modules/4.4.0-22-generic/modules.dep.bin'
Failed to lookup alias 'lp': Function not implemented
load: ppdev
could not open moddep file '/lib/modules/4.4.0-22-generic/modules.dep.bin'
Failed to lookup alias 'ppdev': Function not implemented
load: parport_pc
could not open moddep file '/lib/modules/4.4.0-22-generic/modules.dep.bin'
Failed to lookup alias 'parport_pc': Function not implemented
apply: /etc/modules-load.d/modules.conf
apply: /lib/modules-load.d/open-iscsi.conf
load: iscsi_tcp
could not open moddep file '/lib/modules/4.4.0-22-generic/modules.dep.bin'
Failed to lookup alias 'iscsi_tcp': Function not implemented
load: ib_iser
could not open moddep file '/lib/modules/4.4.0-22-generic/modules.dep.bin'
Failed to lookup alias 'ib_iser': Function not implemented


There actually aren't any modules or files at all in /lib/modules/4.4.0-22-generic/
There is just a 'build' symbolic link to /usr/src/linux-headers-4.4.0-22-generic. That also means that, in addition to the above, I don't have any sound driver modules, including missing the snd-hda-intel for the onboard Azalia sound hardware that was being used under 14.04. I'm guessing that means either I'm missing installing some packages, that they should have been part of the linux-image package but got dropped from the package list at some point, or that the wrong directory is being searched. I can see missing the odd driver, but all of them missing seems a stretch.

I'm also have problems with the encrypted swap, being prompted to 
Please enter passphrase for disk RaidVol1-LogSwap (cryptswap1) on none!
multiple times during boot and during apt-get upgrade. I see some cryptswap related issues date back to 15.04, according to some posts. When I try to re-initialize the swap and rebuild the boot ramdisk, I get

ppanon at whiteygu:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.4.0-21-generic
WARNING: missing /lib/modules/4.4.0-21-generic
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/4.4.0-21-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_AMz3PJ/lib/modules/4.4.0-21-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_AMz3PJ/lib/modules/4.4.0-21-generic/modules.builtin: No such file or directory

So those problems also appear related to missing kernel modules.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1574163

Title:
  systemd[1]: Failed to start Load Kernel Modules.

Status in systemd package in Ubuntu:
  Invalid

Bug description:
  I recently upgraded to ubuntu 16.04 and since then my startup time has almost doubled.
  Also, i can see the following failure in the loading of a service.

  Description:	Ubuntu 16.04 LTS
  Release:	16.04

  Here is the log,

  $ systemctl status systemd-modules-load.service 
  ● systemd-modules-load.service - Load Kernel Modules
     Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sun 2016-04-24 09:50:31 IST; 43min ago
       Docs: man:systemd-modules-load.service(8)
             man:modules-load.d(5)
    Process: 721 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
   Main PID: 721 (code=exited, status=1/FAILURE)

  Apr 24 09:50:31 jaguar systemd[1]: Starting Load Kernel Modules...
  Apr 24 09:50:31 jaguar systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
  Apr 24 09:50:31 jaguar systemd[1]: Failed to start Load Kernel Modules.
  Apr 24 09:50:31 jaguar systemd[1]: systemd-modules-load.service: Unit entered failed state.
  Apr 24 09:50:31 jaguar systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.

  
  I don't know why this is happening. Also my  /usr/lib/modules-load.d/
   directory is empty. If you need more logs/details regarding the bug then i would surely help.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574163/+subscriptions



More information about the foundations-bugs mailing list