GithubHelp home page GithubHelp logo

Comments (12)

dwfreed avatar dwfreed commented on June 26, 2024

It would be helpful if you provided the contents of your /usr/lib/modules-load.d/*, /run/modules-load.d/*, and /etc/modules-load.d/*, and their paths (this is important due to the override behavior).

from openrc.

udeved avatar udeved commented on June 26, 2024

Here you go:

$ ls /etc/modules-load.d
mhwd-gpu.conf  modules.conf
ls /usr/lib/modules-load.d/
virtualbox-host-dkms.conf

/run/modules-load.d doesn't exist on arch/manjaro.

cat /etc/modules-load.d/modules.conf
# List of modules to load at boot
cat /etc/modules-load.d/mhwd-gpu.conf
##
## Generated by mhwd - Manjaro Hardware Detection
##

nvidia
$ cat /usr/lib/modules-load.d/virtualbox-host-dkms.conf
vboxdrv
vboxpci
vboxnetadp
vboxnetflt

I just realized, it may be caused by the patch I add?
https://github.com/manjaro/packages-openrc/blob/master/openrc/use-optional-modules-load-d.patch

from openrc.

dwfreed avatar dwfreed commented on June 26, 2024

Is this happening in /etc/init.d/modules or /etc/init.d/modules-load? (Zap them both, then try to start them again, modules-load first)

from openrc.

udeved avatar udeved commented on June 26, 2024

The patch add optional modules-load.d support, but it is set false by default.
The boot msg are produced with standard /etc/conf.d/modules set.

$ cat /etc/conf.d/modules
# You can define a list modules for a specific kernel version,
# a released kernel version, a main kernel version or just a list.
# The most specific versioned variable will take precedence.

# if openrc should make use of /etc/modules-load.d
# systemd places stuff there
use_modules_load_d=false

#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules_2="ipv6"
#modules="ohci1394"

# You can give modules a different name when they load - the new name
# will also be used to pick arguments below.
#modules="dummy:dummy1"

# Give the modules some arguments if needed, per version if necessary.
# Again, the most specific versioned variable will take precedence.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="debug2"
#module_ieee1394_args_2_6_23="debug3"
#module_ieee1394_args_2_6="debug4"
#module_ieee1394_args_2="debug5"

# You should consult your kernel documentation and configuration
# for a list of modules and their options.

modules="nvidia vboxdrv vboxnetadp vboxpci vboxnetflt"

from openrc.

dwfreed avatar dwfreed commented on June 26, 2024

You didn't answer my question. Does this happen when starting /etc/init.d/modules-load, or /etc/init.d/modules? As I said, zap them both, then try starting modules-load first (modules has 'want modules-load', so starting modules will start modules-load first).

from openrc.

udeved avatar udeved commented on June 26, 2024

With the new modules-load service started dynamically.

Dynamic Runlevel: needed/wanted
 modules-load                                                                                          [  started  ]
 xdm-setup                                                                                             [  started  ]

from openrc.

dwfreed avatar dwfreed commented on June 26, 2024

You don't have commit c289774 applied. The comments are ignored properly with that commit applied. As for why the other loads are failing, try removing the -q from the modload command to see what error it gives.

from openrc.

udeved avatar udeved commented on June 26, 2024

I built from 0.21.4 release, no git version here.
I think its too early to close.

from openrc.

dwfreed avatar dwfreed commented on June 26, 2024

c289774 isn't in 0.21.4; I'm waiting for @williamh to make a release.

from openrc.

udeved avatar udeved commented on June 26, 2024

Aha, ok, so 0.21.5 will fix it, fine with me, since its only messages that can be ignored and modules still load.

from openrc.

udeved avatar udeved commented on June 26, 2024

Nope, 0.21.5 still produces error messages at boot.
I removed the patch to make sure, and used default /etc/conf.d/modules

* Loading module nvidia ...
 * Failed to load nvidia
 [ !! ]
 * Loading module vboxdrv ...
 * Failed to load vboxdrv
 [ !! ]
 * Loading module vboxpci ...
 * Failed to load vboxpci
 [ !! ]
 * Loading module vboxnetadp ...
 * Failed to load vboxnetadp
 [ !! ]
 * Loading module vboxnetflt ...
 * Failed to load vboxnetflt
 [ !! ]
 * Autoloaded 0 module(s)

from openrc.

udeved avatar udeved commented on June 26, 2024

PR #96 fixes it in 0.21.5

from openrc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.