FS#46719 - [dkms] dkms.service load blacklisted modules when started

Attached to Project: Community Packages
Opened by Simon (symen) - Wednesday, 14 October 2015, 17:43 GMT
Last edited by Sébastien Luttringer (seblu) - Friday, 23 October 2015, 16:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When starting dkms.service, a script is called (/usr/lib/systemd/scripts/dkms or dkms.systemd in the package source) in order to compile the right modules, and then to load them all. However it does even load blacklisted modules.

That can cause issues for exemple when using both bbswitch-dkms and nvidia-dkms, because the nvidia module is not supposed to be autoloaded here (and thus is blacklisted). Loading it causes the nvidia card to power back on indefinitely.

This behavior can be avoided by adding the '-b' option when calling modprobe at line 26 of the script.


Additional info:
Package version: 2.2.0.3-15
Configuration: default (LOAD=yes in /etc/default/dkms)


Steps to reproduce:
- Blacklist some module managed by dkms (e.g. add modprobe.blacklist=mymodule as a kernel argument)
- Ensure mymodule hasn't been loaded yet
- systemctl start dkms.service
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Friday, 23 October 2015, 16:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.2.0.3-16

Loading...