網路卡初始化時間太長(看起來像是韌體問題)

網路卡初始化時間太長(看起來像是韌體問題)

問題是系統開機後約2分鐘才可用。但之後網路就可以正常運作了。

/var/log/messages包含以下錯誤訊息:

Apr 22 17:52:41 glorx530 kernel: [    1.967945] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
Apr 22 17:52:41 glorx530 kernel: [    1.968497] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000-6.ucode failed with error -2
Apr 22 17:52:41 glorx530 kernel: [    1.968790] iwlwifi 0000:03:00.0: Falling back to user helper
....
Apr 22 17:53:23 glorx530 kernel: [   62.477819] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000-5.ucode failed with error -2
Apr 22 17:53:23 glorx530 kernel: [   62.477820] iwlwifi 0000:03:00.0: Falling back to user helper
....
Apr 22 17:54:24 glorx530 kernel: [  123.954134] iwlwifi 0000:03:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm

看起來內核(或 iwlwifi 驅動程式?)嘗試從 加載固件iwlwifi-6000-6.ucode,然後iwlwifi-6000-5.ucode從其他文件(哪個?)加載固件,這次成功並且此時網絡可用。

/lib/firmware 目錄中沒有iwlwifi-6000-6.ucodeiwlwifi-6000-5.ucode檔案(但有iwlwifi-6000-4.ucode)。

I tried to find the firmware for my network card on manufacturer site (I have "Intel Corporation Centrino Ultimate-N 6300" network card), but the package I downloaded contains iwlwifi-6000-4.ucode- and it's identical to the file I have already installed into /lib/韌體.

我懷疑真正的問題不是缺少韌體文件,而是驅動程式等待 1 分鐘以嘗試從列表中加載下一個韌體文件。

歡迎任何解決此問題的想法。

更新:我會嘗試複製(或連結)iwlwifi-6000-4.ucodeiwlwifi-6000-6.ucode,但這不是真正的方法。

更新1:我嘗試過,但沒有幫助。

這個問題在這裡討論:

https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1398458

那裡建議的解決方法對我有幫助。我建立了一個檔案 /etc/udev/rules.d/50-firmware.rules :

SUBSYSTEM=="firmware", ACTION=="add", ATTR{loading}="-1"

相關內容