Comments (12)
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.
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.
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.
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.
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.
With the new modules-load service started dynamically.
Dynamic Runlevel: needed/wanted
modules-load [ started ]
xdm-setup [ started ]
from openrc.
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.
I built from 0.21.4 release, no git version here.
I think its too early to close.
from openrc.
c289774 isn't in 0.21.4; I'm waiting for @williamh to make a release.
from openrc.
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.
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.
PR #96 fixes it in 0.21.5
from openrc.
Related Issues (20)
- *.start shell not start with local service
- Enhancement: SSD_SCHEDULER env variable for start-stop-daemon HOT 4
- Create /run/user HOT 1
- Troubles with crash service
- Parallezing `do_unmount` HOT 6
- rc-update requires the "delete" sub-command, but says it "removed"
- 'man start-stop-daemon' fails to mention the -q/--quiet option
- dynamically adding init services from boot HOT 3
- Supervise-daemon allow --wait argument for better conversion compatibility
- swclock init: may send the clock backwards of current deptree reference. HOT 10
- openrc and docker cgroup v2 path conflict HOT 1
- If rc_sys is docker, should not clean up /run
- unable access keyboard and mouse HOT 3
- [Feature Request] knowing when the boot is finished HOT 1
- Trying to build OpenRC as static HOT 1
- openrc start-stop-daemon scheduler param is not working with musl libc
- fsck init script doesn't work with encrypted bcachefs filesystem
- Openrc based /etc/fstab not works
- OpenRC detect RC system type podman ?
- Set nice value through rc_ulimit?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openrc.