[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1006708: hw-detect: Fails to reload iwlwifi module (modprobe: FATAL: Module iwlwifi is in use)



Hello,

Le 13/12/2023 à 20:16, Cyril Brulebois a écrit :
Carsten Schoenert <c.schoenert@t-online.de> (2023-12-13):
The "trick" is to unload the iwlmvm module instead and load afterwards
the module iwlwifi again.

See the very bottom of check-missing-firmware.sh (hw-detect repository),
the loop over $modules. You could try intercepting $module = iwlwifi,
and adding a modprobe -r theotherone beforehand.

Wouldn't it be more generic to check /sys/module/${module}/holders like is done for mhi ?

Note: iwldvm is also loaded by iwlwifi (for older hardware I guess) and depends on it, but AFAICS it is not loaded when the requested firmware is missing, so there is no need to unload it. Is it expected that the behaviour is different with hardware using iwlmvm ?


Reply to: