You are not logged in.
Pages: 1
If I've set module options in my boot loader's kernel command line and I've also set options for the same module in /etc/modprobe.d/ how is the application of those options handled? Does one supercede the other? What if I have conflicting options in the modprobe.d folder and the kernel command line?
For instance assume this is my boot loader's entry:
ghost ~ cat /boot/loader/entries/arch-lvm.conf
title Arch Linux (LVM)
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options cryptdevice=UUID=145628bb-0138-4b8b-bc94-2d041c756539:lvm:allow-discards root=/dev/mapper/lvmvg-root i915.enable_rc6=1 i915.disable_power_well=1 i915.enable_psr=-1 quiet rwBut, if I have the following in /etc/modprobe.d/i915.conf:
ghost ~ cat /etc/modprobe.d/i915.conf
options enable_rc6=1 disable_power_well=0 enable_psr=1 enable_fbc=1 enable_psr=1Which option will be applied for disable_power_well? Will it be the '0' from modprobe.d or the '1' from arch-lvm.conf?
"the wind-blown way, wanna win? don't play"
Offline
Which option will be applied for disable_power_well? Will it be the '0' from modprobe.d or the '1' from arch-lvm.conf?
Why not just try it and see what happens?
FWIW, I think that the kernel option will be applied first and then be superseded by the modprobe.d option when the filesystem is loaded.
If I'm right you owe me a biscuit ![]()
Jin, Jîyan, Azadî
Offline
Mod note: Moving thread to "Kernel & Hardware".
Offline
systool -vm i915The precedence isn't documented, so the behavior is unspecified. Last I know is that the kernel cmdline overrode the modprode.d options, but the NOT the install key.
Offline
Pages: 1