Search Linux Wireless

Issue with iwlwifi Firmware Loading When Compiled into the Kernel

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

 



Dear Maintainer,

Recently, I met an issue that I would like to bring to your attention and 
seek your expertise on.

When I compile the iwlwifi driver directly into the kernel by setting 
[CONFIG_IWLWIFI=y], I encounter an error message stating, "iwlwifi direct 
firmware load for iwlwifi-so-XXXX failed." However, the relevant firmware 
files are present in the /lib/firmware directory.

Based on my observations, I suspect that when iwlwifi is compiled into the 
kernel, it attempts to load the firmware before the /lib/firmware directory
mounted. Consequently, the firmware cannot be found. Once the filesystem is
 mounted, iwlwifi does not attempt to reload the firmware.

To address this issue, I have considered two potential solutions:

1、Modify the Driver Code: Implement a mechanism, such as delayed_work, to 
give iwlwifi another chance to load the firmware after the filesystem has 
been mounted. This would involve adding additional logic to the driver to 
handle retries for firmware loading.

2、Modify the Kconfig: Change the configuration to allow iwlwifi to be 
compiled only as a module [CONFIG_IWLWIFI=m]. This way, the module can be 
loaded after the filesystem is fully mounted, ensuring that the firmware
 can be found and loaded successfully.


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux