Bug 206097 - Failed firmware loading or bugged firmware in iwlmvm/iwlwifi
Summary: Failed firmware loading or bugged firmware in iwlmvm/iwlwifi
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless-intel (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: Default virtual assignee for network-wireless-intel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-06 09:36 UTC by Valerio Passini
Modified: 2020-08-17 20:38 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.4.8 and previous kernels up to 5.3.x (the first installed on my machine)
Tree: Mainline
Regression: No


Attachments
dmesg output (98.15 KB, text/plain)
2020-01-06 09:36 UTC, Valerio Passini
Details

Description Valerio Passini 2020-01-06 09:36:07 UTC
Created attachment 286645 [details]
dmesg output

Hello! Sometime, the wifi card cannot be seen by network-manager and shows this bug in dmseg probably after a failed firmware load.


lspci -vv:

00:14.3 Network controller: Intel Corporation Wireless-AC 9560 [Jefferson Peak] (rev 10)
        Subsystem: Intel Corporation Wireless-AC 9560 [Jefferson Peak]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at da214000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: iwlwifi

 
A sample of the dmesg output:

[    3.712706] iwlwifi 0000:00:14.3: Not valid error log pointer 0x00000000 for Init uCode
[    3.712726] iwlwifi 0000:00:14.3: Fseq Registers:
[    3.712735] iwlwifi 0000:00:14.3: 0x575A5368 | FSEQ_ERROR_CODE
[    3.712743] iwlwifi 0000:00:14.3: 0x00000000 | FSEQ_TOP_INIT_VERSION
[    3.712751] iwlwifi 0000:00:14.3: 0x50025D8F | FSEQ_CNVIO_INIT_VERSION
[    3.712760] iwlwifi 0000:00:14.3: 0x0000A384 | FSEQ_OTP_VERSION
[    3.712768] iwlwifi 0000:00:14.3: 0xB52F182E | FSEQ_TOP_CONTENT_VERSION
[    3.712776] iwlwifi 0000:00:14.3: 0xEAE75B73 | FSEQ_ALIVE_TOKEN
[    3.712784] iwlwifi 0000:00:14.3: 0x41189600 | FSEQ_CNVI_ID
[    3.712793] iwlwifi 0000:00:14.3: 0xF8DBEEF5 | FSEQ_CNVR_ID
[    3.712802] iwlwifi 0000:00:14.3: 0x01000100 | CNVI_AUX_MISC_CHIP
[    3.712812] iwlwifi 0000:00:14.3: 0x01300202 | CNVR_AUX_MISC_CHIP
[    3.712823] iwlwifi 0000:00:14.3: 0x0000485B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[    3.712864] iwlwifi 0000:00:14.3: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[    3.712935] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x3030001, CPU2 Status: 0x0
[    3.712936] iwlwifi 0000:00:14.3: Failed to start INIT ucode: -110
[    3.712938] iwlwifi 0000:00:14.3: Firmware not running - cannot dump error
[    3.724776] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110

The wi-fi card can be restored after a cycle of: modprobe -r iwlmvm/ modprobe iwlmvm.


dmesg:
 cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  196.934790] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  196.934804] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[  196.934805] cfg80211: failed to load regulatory.db
[  196.948236] Intel(R) Wireless WiFi driver for Linux
[  196.948237] Copyright(c) 2003- 2015 Intel Corporation
[  196.951730] iwlwifi 0000:00:14.3: Found debug destination: EXTERNAL_DRAM
[  196.951731] iwlwifi 0000:00:14.3: Found debug configuration: 0
[  196.951940] iwlwifi 0000:00:14.3: loaded firmware version 46.a41adfe7.0 op_mode iwlmvm
[  196.955395] iwlwifi 0000:00:14.3: Detected Intel(R) Dual Band Wireless AC 9560, REV=0x318
[  196.963512] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[  196.963739] iwlwifi 0000:00:14.3: Allocated 0x00400000 bytes for firmware monitor.
[  197.010075] iwlwifi 0000:00:14.3: base HW address: d0:ab:d5:6c:eb:25
[  197.077447] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[  197.078206] thermal thermal_zone4: failed to read out thermal zone (-61)
[  197.090329] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
[  197.124025] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[  197.238574] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[  197.302730] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
[  197.311795] iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS
[  197.334332] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[  197.451499] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[  197.525764] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
[  197.541245] iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS
[  202.075188] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[  202.190761] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[  202.261419] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
[  202.279396] iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS
[  205.558676] wlp0s20f3: authenticate with 1c:15:1f:7e:d4:6d
[  205.562333] wlp0s20f3: send auth to 1c:15:1f:7e:d4:6d (try 1/3)
[  205.613149] wlp0s20f3: authenticated
[  205.614308] wlp0s20f3: associate with 1c:15:1f:7e:d4:6d (try 1/3)
[  205.645436] wlp0s20f3: RX AssocResp from 1c:15:1f:7e:d4:6d (capab=0x411 status=0 aid=2)
[  205.651358] wlp0s20f3: associated
Comment 1 Ken Perkins 2020-02-22 16:00:06 UTC
I have a very similar issue on a fresh install of 19.10 with kernel 5.3.5-40-generic on a brand new X1 G7 with the same AC 9560 Wifi chip:

Interestingly, when I use the bootable image from my 19.10 USB, it boots into kernel 5.3.5-18-generic, where the wifi works.

aside: Neither situation has a working Bluetooth, although I have not researched that yet.

Full dmesg logs: [ 4025.449065] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 43.2.23.17
[ 4025.449356] iwlwifi 0000:00:14.3: loaded firmware version 48.4fa0041f.0 op_mode iwlmvm
[ 4025.454528] iwlwifi 0000:00:14.3: Detected Intel(R) Wireless-AC 9560 160MHz, REV=0x354
[ 4026.493165] iwlwifi 0000:00:14.3: Collecting data: trigger 15 fired.
[ 4026.493277] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[ 4026.493284] iwlwifi 0000:00:14.3: Status: 0x00000000, count: -1886528279
[ 4026.493288] iwlwifi 0000:00:14.3: Loaded firmware version: 48.4fa0041f.0
[ 4026.493293] iwlwifi 0000:00:14.3: 0x1BCA3CF1 | ADVANCED_SYSASSERT          
[ 4026.493297] iwlwifi 0000:00:14.3: 0x2597D400 | trm_hw_status0
[ 4026.493300] iwlwifi 0000:00:14.3: 0xD7117613 | trm_hw_status1
[ 4026.493302] iwlwifi 0000:00:14.3: 0xFDF2C957 | branchlink2
[ 4026.493305] iwlwifi 0000:00:14.3: 0x9BFBFEF9 | interruptlink1
[ 4026.493308] iwlwifi 0000:00:14.3: 0xB6A3C149 | interruptlink2
[ 4026.493311] iwlwifi 0000:00:14.3: 0x6A203955 | data1
[ 4026.493314] iwlwifi 0000:00:14.3: 0xF589BCC7 | data2
[ 4026.493317] iwlwifi 0000:00:14.3: 0xE68D27FF | data3
[ 4026.493320] iwlwifi 0000:00:14.3: 0xBF49456A | beacon time
[ 4026.493323] iwlwifi 0000:00:14.3: 0x12B5DE48 | tsf low
[ 4026.493326] iwlwifi 0000:00:14.3: 0xF39DCF26 | tsf hi
[ 4026.493329] iwlwifi 0000:00:14.3: 0x19BDB17C | time gp1
[ 4026.493331] iwlwifi 0000:00:14.3: 0xE7EDE7F4 | time gp2
[ 4026.493334] iwlwifi 0000:00:14.3: 0x495950A6 | uCode revision type
[ 4026.493337] iwlwifi 0000:00:14.3: 0x73EEC5D5 | uCode version major
[ 4026.493340] iwlwifi 0000:00:14.3: 0x1C09133D | uCode version minor
[ 4026.493343] iwlwifi 0000:00:14.3: 0x6FE4ED00 | hw version
[ 4026.493346] iwlwifi 0000:00:14.3: 0x6980D31F | board version
[ 4026.493349] iwlwifi 0000:00:14.3: 0x40A5AA8C | hcmd
[ 4026.493352] iwlwifi 0000:00:14.3: 0x2AA45944 | isr0
[ 4026.493355] iwlwifi 0000:00:14.3: 0xA24E72E6 | isr1
[ 4026.493358] iwlwifi 0000:00:14.3: 0x02332276 | isr2
[ 4026.493361] iwlwifi 0000:00:14.3: 0x3AC5627F | isr3
[ 4026.493363] iwlwifi 0000:00:14.3: 0xA60735FE | isr4
[ 4026.493366] iwlwifi 0000:00:14.3: 0xE602EA27 | last cmd Id
[ 4026.493369] iwlwifi 0000:00:14.3: 0xC2BAE829 | wait_event
[ 4026.493372] iwlwifi 0000:00:14.3: 0x432B2243 | l2p_control
[ 4026.493375] iwlwifi 0000:00:14.3: 0xF9AF022C | l2p_duration
[ 4026.493378] iwlwifi 0000:00:14.3: 0x80B661EB | l2p_mhvalid
[ 4026.493381] iwlwifi 0000:00:14.3: 0x14171013 | l2p_addr_match
[ 4026.493384] iwlwifi 0000:00:14.3: 0x16FFFB42 | lmpm_pmg_sel
[ 4026.493387] iwlwifi 0000:00:14.3: 0xD90A9DE6 | timestamp
[ 4026.493390] iwlwifi 0000:00:14.3: 0xB81A4616 | flow_handler
[ 4026.493431] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[ 4026.493434] iwlwifi 0000:00:14.3: Status: 0x00000000, count: 7
[ 4026.493438] iwlwifi 0000:00:14.3: 0x201013F1 | ADVANCED_SYSASSERT
[ 4026.493441] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[ 4026.493444] iwlwifi 0000:00:14.3: 0xC008CF5C | umac branchlink2
[ 4026.493447] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink1
[ 4026.493450] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[ 4026.493453] iwlwifi 0000:00:14.3: 0x00000003 | umac data1
[ 4026.493456] iwlwifi 0000:00:14.3: 0x20000302 | umac data2
[ 4026.493458] iwlwifi 0000:00:14.3: 0x01300202 | umac data3
[ 4026.493461] iwlwifi 0000:00:14.3: 0x00000030 | umac major
[ 4026.493464] iwlwifi 0000:00:14.3: 0x4FA0041F | umac minor
[ 4026.493467] iwlwifi 0000:00:14.3: 0x00005CE7 | frame pointer
[ 4026.493470] iwlwifi 0000:00:14.3: 0xC0887F58 | stack pointer
[ 4026.493473] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
[ 4026.493476] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
[ 4026.493496] iwlwifi 0000:00:14.3: Fseq Registers:
[ 4026.493516] iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_ERROR_CODE
[ 4026.493537] iwlwifi 0000:00:14.3: 0x00000000 | FSEQ_TOP_INIT_VERSION
[ 4026.493557] iwlwifi 0000:00:14.3: 0x2CE193DF | FSEQ_CNVIO_INIT_VERSION
[ 4026.493578] iwlwifi 0000:00:14.3: 0x0000A384 | FSEQ_OTP_VERSION
[ 4026.493598] iwlwifi 0000:00:14.3: 0x10BAD500 | FSEQ_TOP_CONTENT_VERSION
[ 4026.493620] iwlwifi 0000:00:14.3: 0x0940B04E | FSEQ_ALIVE_TOKEN
[ 4026.493641] iwlwifi 0000:00:14.3: 0x77FFE572 | FSEQ_CNVI_ID
[ 4026.493661] iwlwifi 0000:00:14.3: 0x6090C4B0 | FSEQ_CNVR_ID
[ 4026.493682] iwlwifi 0000:00:14.3: 0x20000302 | CNVI_AUX_MISC_CHIP
[ 4026.493705] iwlwifi 0000:00:14.3: 0x01300202 | CNVR_AUX_MISC_CHIP
[ 4026.493726] iwlwifi 0000:00:14.3: 0x0000485B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[ 4026.493777] iwlwifi 0000:00:14.3: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[ 4026.493813] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x5c52, CPU2 Status: 0x3
[ 4026.493816] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
[ 4026.493832] iwlwifi 0000:00:14.3: Firmware not running - cannot dump error
[ 4026.506162] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110

Note You need to log in before you can comment on or make changes to this bug.