IWLWIFI - Failed to Start

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IWLWIFI - Failed to Start

2,689 Views
daviddugois
Contributor I

Hello,

I'm using a custom board ( IMX6D ) based on SabreSD ref design. kernel 4.1.15 - distro: debian stretch

I use a Wifi Module from INTEL AC 3165 over PCIexpress.

I can't start it due to a error :

[ 5.457874] iwlwifi 0000:01:00.0: enabling device (0140 -> 0142)
[ 5.496547] iwlwifi 0000:01:00.0: U iwl_request_firmware attempting to load firmware 'iwlwifi-7265D-13.ucode'
[ 5.595418] iwlwifi 0000:01:00.0: U iwl_req_fw_callback Loaded firmware file 'iwlwifi-7265D-13.ucode' (1008692 bytes).
[ 5.599077] iwlwifi 0000:01:00.0: loaded firmware version 25.30.13.0 op_mode iwlmvm
[ 5.725386] iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless AC 3165, REV=0x210
[ 5.759788] iwlwifi 0000:01:00.0: U iwl_pcie_prepare_card_hw iwl_trans_prepare_card_hw enter
[ 5.759811] iwlwifi 0000:01:00.0: U iwl_pcie_set_hw_ready hardware ready
[ 5.760201] iwlwifi 0000:01:00.0: U iwl_pcie_apm_init Init card's basic functions
[ 5.760251] iwlwifi 0000:01:00.0: L1 Disabled - LTR Disabled
[ 5.792863] iwlwifi 0000:01:00.0: U iwl_pcie_prepare_card_hw iwl_trans_prepare_card_hw enter
[ 5.792891] iwlwifi 0000:01:00.0: U iwl_pcie_set_hw_ready hardware ready
[ 5.792904] iwlwifi 0000:01:00.0: U iwl_pcie_apm_init Init card's basic functions
[ 5.792947] iwlwifi 0000:01:00.0: L1 Disabled - LTR Disabled
[ 5.817698] iwlwifi 0000:01:00.0: U iwl_mvm_nic_config Radio type=0x0-0x2-0x1
[ 6.006681] iwlwifi 0000:01:00.0: U iwl_pcie_nic_init Enabling shadow registers in device
[ 11.010936] iwlwifi 0000:01:00.0: Failed to load firmware chunk!
[ 11.015671] iwlwifi 0000:01:00.0: Could not load the [0] uCode section
[ 11.021684] iwlwifi 0000:01:00.0: Failed to start INIT ucode: -110
[ 11.026610] iwlwifi 0000:01:00.0: U iwl_trans_pcie_stop_device DEVICE_ENABLED bit was set and is now cleared
[ 11.026731] iwlwifi 0000:01:00.0: U iwl_pcie_apm_stop Stop card, put in low power state
[ 11.026756] iwlwifi 0000:01:00.0: U iwl_pcie_apm_stop_master stop master
[ 11.026817] iwlwifi 0000:01:00.0: U iwl_pcie_prepare_card_hw iwl_trans_prepare_card_hw enter
[ 11.026842] iwlwifi 0000:01:00.0: U iwl_pcie_set_hw_ready hardware ready
[ 11.026861] iwlwifi 0000:01:00.0: Failed to run INIT ucode: -110
[ 11.031674] iwlwifi 0000:01:00.0: U iwl_pcie_apm_stop Stop card, put in low power state
[ 11.031695] iwlwifi 0000:01:00.0: U iwl_pcie_apm_init Init card's basic functions
[ 11.031757] iwlwifi 0000:01:00.0: L1 Disabled - LTR Disabled
[ 11.041295] iwlwifi 0000:01:00.0: U iwl_pcie_apm_stop_master stop master

My PCIExpress is working (lspci -v)

01:00.0 Network controller: Intel Corporation Wireless 3165 (rev 81)
Subsystem: Intel Corporation Dual Band Wireless AC 3165
Flags: bus master, fast devsel, latency 0, IRQ 310
Memory at 01100000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 3c-f8-62-ff-ff-49-d7-a2
Capabilities: [14c] Latency Tolerance Reporting
Capabilities: [154] L1 PM Substates
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

based on wireless.wiki.kernel.org I use ucode 7265-13

iwlwifi-7265-12.ucode
iwlwifi-7265-13.ucode
iwlwifi-7265-14.ucode
iwlwifi-7265-16.ucode
iwlwifi-7265-17.ucode
iwlwifi-7265-9.ucode
iwlwifi-7265D-12.ucode
iwlwifi-7265D-13.ucode
iwlwifi-7265D-14.ucode
iwlwifi-7265D-16.ucode
iwlwifi-7265D-17.ucode
iwlwifi-7265D-21.ucode
iwlwifi-7265D-22.ucode

before asking I've try different tips from various forums

options iwlwifi bt_coex_active=0 swcrypto=1 11n_disable=8 debug=0xf

Could you please help me to find a solution ?

I've also try with older module 3160 from intel

Thank you very much

Labels (3)
0 Kudos
3 Replies

1,532 Views
igorpadykov
NXP Employee
NXP Employee

Hi David

one can try with nxp releases

linux-imx - i.MX Linux kernel 

Atttached Linux Manual in sect.40.4.2 Tests shows Intel Iwl6300 tested card and used

configurations.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,532 Views
daviddugois
Contributor I

Thank you Igor.

I’ve follow this manual, and it doesn’t work for me.

Intel Wireless support answer me it is probably an issue with IRQ line routing

I use the default DTSI file for imx6qdl from kernel 4.1.15

Find below my log

cat /proc/interrupts

309: 0 0 PCI-MSI 0 Edge PCIe PME, aerdrv

310: 0 0 PCI-MSI 1 Edge iwlwifi

lspci -vv | grep IRQ

Interrupt: pin A routed to IRQ 309

Interrupt: pin A routed to IRQ 310

Thank you

David

0 Kudos

1,532 Views
igorpadykov
NXP Employee
NXP Employee

Hi David

there were no interrupt related log errors, but firmware:

[ 11.010936] iwlwifi 0000:01:00.0: Failed to load firmware chunk!
[ 11.015671] iwlwifi 0000:01:00.0: Could not load the [0] uCode section

Also one can try with BD software:

Trusty Ubuntu for i.MX6 boards - Boundary Devices 

Best regards
igor

0 Kudos