You are not logged in.

#1 2014-05-07 11:30:55

psycepa
Member
Registered: 2009-02-22
Posts: 45

[SOLVED] failed to load module iwldvm (error 256) at boot

For two or three months (but I'm not sure - might be a bit longer) I receive following error during boot up:

[    0.590987] iwlwifi 0000:05:00.0: failed to load module iwldvm (error 256), is dynamic loading enabled?

After boot up the wlan device is not available and NetworkManager doesn't show up any connection available.
iwlwifi is loaded but there is no iwldvm.

I need to do

sudo rmmod iwlwifi && sudo modprobe iwlwifi

and then both iwlwifi and iwldvm are present, the device appears and I am able to connect to wifi.

uname -r
3.14.2-1-ARCH
uname -m
x86_64
dmesg | grep iwl
[    0.583842] iwlwifi 0000:05:00.0: irq 45 for MSI/MSI-X
[    0.586665] iwlwifi 0000:05:00.0: loaded firmware version 8.83.5.1 build 33692 op_mode iwldvm
[    0.590987] iwlwifi 0000:05:00.0: failed to load module iwldvm (error 256), is dynamic loading enabled?
[  386.517585] iwlwifi 0000:05:00.0: irq 45 for MSI/MSI-X
[  386.573324] iwlwifi 0000:05:00.0: loaded firmware version 8.83.5.1 build 33692 op_mode iwldvm
[  386.672309] iwlwifi 0000:05:00.0: CONFIG_IWLWIFI_DEBUG disabled
[  386.672313] iwlwifi 0000:05:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[  386.672315] iwlwifi 0000:05:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[  386.672317] iwlwifi 0000:05:00.0: Detected Intel(R) WiFi Link 5100 AGN, REV=0x54
[  386.672375] iwlwifi 0000:05:00.0: L1 Disabled; Enabling L0S
[  386.714037] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[  386.738400] iwlwifi 0000:05:00.0: L1 Disabled; Enabling L0S
[  386.741304] iwlwifi 0000:05:00.0: Radio type=0x1-0x2-0x0
[  386.838394] iwlwifi 0000:05:00.0: L1 Disabled; Enabling L0S
[  386.841561] iwlwifi 0000:05:00.0: Radio type=0x1-0x2-0x0

I have googled it up and searched the forums but to no avail.

Any idea what I can do to fix this module loading thing?
Thanks in advance.

Last edited by psycepa (2014-05-08 19:00:16)

Offline

#2 2014-05-08 10:50:40

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: [SOLVED] failed to load module iwldvm (error 256) at boot

Check if your initrd (with lsinitcpio) to see if iwldvm is included.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-05-08 18:59:17

psycepa
Member
Registered: 2009-02-22
Posts: 45

Re: [SOLVED] failed to load module iwldvm (error 256) at boot

Rexilion wrote:

Check if your initrd (with lsinitcpio) to see if iwldvm is included.


Thanks a bunch! Spot on.

Did

lsinitcpio -l /boot/initramfs-linux.img | grep iwl
./usr/lib/firmware/iwlwifi-7260-7.ucode
./usr/lib/firmware/iwlwifi-3160-7.ucode
./usr/lib/firmware/iwlwifi-6000-4.ucode
./usr/lib/firmware/iwlwifi-6050-5.ucode
./usr/lib/firmware/iwlwifi-6000g2a-5.ucode
./usr/lib/firmware/iwlwifi-6000g2b-6.ucode
./usr/lib/firmware/iwlwifi-5000-5.ucode
./usr/lib/firmware/iwlwifi-5150-2.ucode
./usr/lib/firmware/iwlwifi-2000-6.ucode
./usr/lib/firmware/iwlwifi-2030-6.ucode
./usr/lib/firmware/iwlwifi-105-6.ucode
./usr/lib/firmware/iwlwifi-135-6.ucode
./usr/lib/firmware/iwlwifi-1000-5.ucode
./usr/lib/firmware/iwlwifi-100-5.ucode
./usr/lib/modules/3.14.2-1-ARCH/kernel/iwlwifi.ko

So I've added iwldvm int MODULES array in /etc/mkinitcpio.conf

MODULES="iwldvm"

then

mkinitcpio -p linux

reboot and voilà - no error message and the device is there.

iwldvm pulls iwlwifi so all works well.

I don't know why this changed suddenly since I can't recall ever adding that module to modules array... oh well

Anyway - thank you very much!

Offline

#4 2014-05-09 08:58:52

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: [SOLVED] failed to load module iwldvm (error 256) at boot

Might be a kernel bug. mkinitcpio checks modules for dependency's. Maybe those dependency's got lost in the latest storm of git commits entering the kernel big_smile .

Or, it could be a bug in mkinitcpio (unlikely, but possible).

EDIT: Just ran into this myself. usb-storage.ko is not automatically loaded anymore. I think that the kernel is tightening it's dependency's?

Last edited by Rexilion (2014-05-09 10:39:38)


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

Board footer

Powered by FluxBB