FedoraForum.org - Fedora Support Forums and Community
Results 1 to 11 of 11
  1. #1
    Join Date
    Nov 2016
    Location
    MD
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Failed to Start Load Kernel Modules

    On Fedora 25, I'm receiving the following message during boot:

    "Failed to Start Load Kernel Modules"

    http://i.imgur.com/a0tZeV6.jpg

    Code:
    $ systemctl status systemd-modules-load.service● systemd-modules-load.service - Load Kernel Modules
       Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static;
       Active: inactive (dead)
    Condition: start condition failed at Sun 2016-12-18 00:44:06 EST; 8min ago
               ├─ ConditionDirectoryNotEmpty=|/lib/modules-load.d was not met
               ├─ ConditionDirectoryNotEmpty=|/usr/lib/modules-load.d was not met
               ├─ ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d was not 
               ├─ ConditionDirectoryNotEmpty=|/etc/modules-load.d was not met
               ├─ ConditionDirectoryNotEmpty=|/run/modules-load.d was not met
               ├─ ConditionKernelCommandLine=|modules-load was not met
               └─ ConditionKernelCommandLine=|rd.modules-load was not met
         Docs: man:systemd-modules-load.service(8)
               man:modules-load.d(5)
    It has persisted through several kernel updates (I am now on 4.8.14).

    I'm not sure if this is the cause of any issues, but as I am also receiving occasional hard lockups I thought I would try fix to eliminate it as a cause. Any help is appreciated.

  2. #2
    Join Date
    Mar 2012
    Location
    München, Deutschland
    Posts
    897
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Re: Failed to Start Load Kernel Modules

    I have for the long time (from Fedora 24) the same problem. And I just now decided to look into it. And here is what it says: Bugzilla redhat.com 1322625.

    _nobody_

  3. #3
    Join Date
    Aug 2014
    Location
    Tucson, AZ
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Failed to Start Load Kernel Modules

    I did not have this issue on Fedora 24. After upgrading my Fedora 24 to 25, the issue was present.

    I then did a clean install of Fedora 25. Rebooted and no issue. I then did a system update (no changes from initial clean install) and the problem exists. After several attempts to find a solution I gave up and went back to CentOS 7.3.

    Good luck. Seems this problem has existed for quite some time.

  4. #4
    Join Date
    Mar 2012
    Location
    München, Deutschland
    Posts
    897
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Re: Failed to Start Load Kernel Modules

    Quote Originally Posted by nobody
    I have for the long time (from Fedora 24) the same problem. And I just now decided to look into it. And here is what it says: Bugzilla redhat.com 1322625.
    Seems, that these people with Bugzilla redhat.com 1322625 are completely correct. I disables in my kernel line selinux (in RED) and no message "Failed to Start Load Kernel Modules" anymore. It disappeared.

    [ 0.000000] Linux version 4.8.14-300.fc25.x86_64 (mockbuild@bkernel02.phx2.fedoraproject.org) (gcc version 6.2.1 20160916 (Red Hat 6.2.1-2) (GCC) ) #1 SMP Mon Dec 12 16:31:04 UTC 2016
    [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.8.14-300.fc25.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap selinux=0 LANG=en_US.UTF-8
    This is just a workaround, until they solve the problem.

    _nobody_

  5. #5
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    7,133
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)

    Re: Failed to Start Load Kernel Modules

    instead of/before disabling selinux, try regenerating dracut:

    Code:
    dracut --regenerate-all --force

  6. #6
    Join Date
    Nov 2016
    Location
    MD
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Failed to Start Load Kernel Modules

    I am not able to get this systemd service to succeed. I tried dracut, I tried starting it manually after "setenforce 0". I tried modifying the /etc/selinux/config. I tried passing selinux=0 as a kernel boot param. It always fails.

    Unlike the folks in the bugzilla report I am not trying to load virtualbox modules. I am not trying to load any modules whatsoever (unless they were added by the initial installer?). All of the directories mentioned in the error are empty or non-existent.

    Perhaps that is why this is failing? Because it is trying to load kernel modules and there are none?

    Maybe everyone gets this error and just doesn't notice it because it is hidden by plymouth?

  7. #7
    Join Date
    Mar 2012
    Location
    München, Deutschland
    Posts
    897
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up Re: Failed to Start Load Kernel Modules

    Actually, I've noticed that this problem went away. I did not lately paid attention to this.

    It says in https://bugzilla.redhat.com/show_bug.cgi?id=1322625#c19 that the problem is solved.

    Michael Young 2016-07-18 14:32:50 EDT
    As already mentioned, selinux-policy-3.13.1-191.5.fc24 is not a complete fix for the problem.
    Selinux policy with kernel 4.8.14-300.fc25.x86_64 is: selinux-policy-3.13.1-225.3.fc25.noarch : SELinux policy configuration .

    I removed selinux=0 from grub2 boot line, and yes, message did not appear!

    _nobody_

  8. #8
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    16,567
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)

    Re: Failed to Start Load Kernel Modules

    Results from Fedora 24 and Fedora 25.

    PHP Code:
    gjohnson@fedora24b=> systemctl status systemd-modules-load.service 
    ● systemd-modules-load.service - Load Kernel Modules
       
    Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
       
    Active: inactive (dead)
    Condition: start condition failed at Sun 2016-12-18 23:35:21 EST; 5h 1min ago
               none of the trigger conditions were met
         Docs
    : man:systemd-modules-load.service(8)
               
    man:modules-load.d(5)
    gjohnson@fedora24b=> rpm -qa | grep selinux-policy
    selinux
    -policy-3.13.1-191.21.fc24.noarch
    selinux
    -policy-targeted-3.13.1-191.21.fc24.noarch 
    PHP Code:
    gjohnson@f25-test=> systemctl status systemd-modules-load
    ● systemd-modules-load.service - Load Kernel Modules
       
    Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
       
    Active: inactive (dead)
    Condition: start condition failed at Mon 2016-12-19 09:40:40 EST; 4h 59min left
               
    ├─ ConditionDirectoryNotEmpty=|/lib/modules-load.d was not met
               
    ├─ ConditionDirectoryNotEmpty=|/usr/lib/modules-load.d was not met
               
    ├─ ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d was not met
               
    ├─ ConditionDirectoryNotEmpty=|/etc/modules-load.d was not met
               
    ├─ ConditionDirectoryNotEmpty=|/run/modules-load.d was not met
               
    ├─ ConditionKernelCommandLine=|modules-load was not met
               
    └─ ConditionKernelCommandLine=|rd.modules-load was not met
         
    Docs: man:systemd-modules-load.service(8)
               
    man:modules-load.d(5)
    gjohnson@f25-test=> rpm -qa | grep selinux-policy
    selinux
    -policy-targeted-3.13.1-225.3.fc25.noarch
    selinux
    -policy-3.13.1-225.3.fc25.noarch 

  9. #9
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    7,133
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)

    Re: Failed to Start Load Kernel Modules

    Quote Originally Posted by tranceFusion
    I am not able to get this systemd service to succeed. I tried dracut, I tried starting it manually after "setenforce 0". I tried modifying the /etc/selinux/config. I tried passing selinux=0 as a kernel boot param. It always fails.

    Unlike the folks in the bugzilla report I am not trying to load virtualbox modules. I am not trying to load any modules whatsoever (unless they were added by the initial installer?). All of the directories mentioned in the error are empty or non-existent.

    Perhaps that is why this is failing? Because it is trying to load kernel modules and there are none?

    Maybe everyone gets this error and just doesn't notice it because it is hidden by plymouth?
    I had a similar manifestation for a period because of pptp modules which as far as I know aren't used anyway in my system. I don't dial up to pptp from it and connect via LAN to broadband controlled by a separate modem. either way, for me it was resolved a few kernels back without any intervention in terminal. however, since you already stated the problem is still present that is why I suggested dracut. turning selinux off should be the last resort.

    https://bugzilla.redhat.com/show_bug.cgi?id=1400041

  10. #10
    Join Date
    Mar 2012
    Location
    München, Deutschland
    Posts
    897
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Re: Failed to Start Load Kernel Modules

    Quote Originally Posted by glennzo
    Results from Fedora 24 and Fedora 25.
    OK Mr Bassinator,

    [intel@localhost ~]$ uname -r
    4.8.14-300.fc25.x86_64
    [intel@localhost ~]$ rpm -qa | grep selinux-policy
    selinux-policy-3.13.1-225.3.fc25.noarch
    selinux-policy-targeted-3.13.1-225.3.fc25.noarch
    [intel@localhost ~]$ systemctl status systemd-modules-load
    ● systemd-modules-load.service - Load Kernel Modules
    Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disable
    Active: failed (Result: exit-code) since Mon 2016-12-19 06:50:02 CET; 4h 51min ago
    Docs: man:systemd-modules-load.service(8)
    man:modules-load.d(5)
    Process: 601 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
    Main PID: 601 (code=exited, status=1/FAILURE)

    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
    [intel@localhost ~]$ echo $?
    3

    [intel@localhost ~]$
    Quote Originally Posted by antikythera
    OK AK,

    Added my input to this Bugzilla.
    https://bugzilla.redhat.com/show_bug.cgi?id=1400041#c21

    _nobody_
    Last edited by nobody; 19th December 2016 at 11:56 AM. Reason: https://bugzilla.redhat.com/show_bug.cgi?id=1400041#c21

  11. #11
    Join Date
    Mar 2012
    Location
    München, Deutschland
    Posts
    897
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking Re: Failed to Start Load Kernel Modules


Similar Threads

  1. systemd failed to load kernel modules?
    By LinuxPinux in forum Using Fedora
    Replies: 7
    Last Post: 28th February 2017, 12:45 PM
  2. Replies: 2
    Last Post: 20th November 2016, 10:04 AM
  3. Failed to start Load Kernel Modules Virtualbox
    By Seth666 in forum Using Fedora
    Replies: 3
    Last Post: 13th August 2016, 01:28 PM
  4. "Failed to start Load Kernel Modules." after Fedup Upgrade
    By JackC in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 4th June 2015, 01:59 PM
  5. Replies: 7
    Last Post: 25th June 2007, 05:45 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •