Summary: | x11-drivers/nvidia-drivers-440.44-r1 - unable to unload module | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Gentookh <ghz3> |
Component: | OpenRC | Assignee: | Jeroen Roovers (RETIRED) <jer> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | floppym |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Gentookh
2020-02-01 15:50:42 UTC
I don't see how this is in any way related to "init" or OpenRC. The "Used by 1" does not indicate that the module was loaded by PID 1. Rather, it means the module is currently in use by 1 kernel module or program. https://en.wikipedia.org/wiki/Lsmod It seems likely that something is holding the device open for display output. As for why they are being loaded in the first place, please check these files: /etc/conf.d/modules /etc/modules-load.d/*.conf /run/modules-load.d/*.conf /usr/lib/modules-load.d/*.conf Nothing there, any other places to look out for? Or better ask kernel guys? # grep -c nvidia /etc/conf.d/modules /etc/modules-load.d/*.conf /run/modules-load.d/*.conf /usr/lib/modules-load.d/*.conf /etc/conf.d/modules:0 grep: /etc/modules-load.d/*.conf: No such file or directory grep: /run/modules-load.d/*.conf: No such file or directory grep: /usr/lib/modules-load.d/*.conf: No such file or directory Possibly it's being loaded by an initramfs, or some other program. You might have better luck removing the module using "modprobe -r" instead of "rmmod" due to the configuration in /etc/modprobe.d/nvidia-rmmod.conf. modprobe -r nvidia Will look in initrams, I have a custom oneā¦ # modprobe -r nvidia modprobe: FATAL: Module nvidia is in use. Thanks for the suggestion with initramfs! I've moved blacklist.conf inside my custom initramfs and now modules are not loading. Issue can be closed. |