2021-04-19 09:40:04

by Gonsolo

[permalink] [raw]
Subject: iwlwifi: Microcode SW error

Hi all!

My internet was very slow and I saw the following in dmesg:

[Apr19 10:50] iwlwifi 0000:02:00.0: Queue 10 is active on fifo 1 and stuck for 10000 ms. SW [40, 93] HW [40, 93] FH TRB=0x0c010a037
[ +0,001244] iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.

The rest of the message is at the end of this message.
The kernel version is "Linux Limone 5.12.0-051200rc7-lowlatency" from https://kernel.ubuntu.com/~kernel-ppa/mainline.
The relevant output of lspci is:
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)

I would be glad to provide additional details if somebody is interested
to fix this bug.

Regards,
Andreas

[[Apr19 10:50] iwlwifi 0000:02:00.0: Queue 10 is active on fifo 1 and stuck for 10000 ms. SW [40, 93] HW [40, 93] FH TRB=0x0c010a037
[ +0,001244] iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
[ +0,000160] iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
[ +0,000004] iwlwifi 0000:02:00.0: Status: 0x00000040, count: 6
[ +0,000005] iwlwifi 0000:02:00.0: Loaded firmware version: 17.3216344376.0 7260-17.ucode
[ +0,000005] iwlwifi 0000:02:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
[ +0,000005] iwlwifi 0000:02:00.0: 0x000002B0 | trm_hw_status0
[ +0,000003] iwlwifi 0000:02:00.0: 0x00000000 | trm_hw_status1
[ +0,000004] iwlwifi 0000:02:00.0: 0x00000B30 | branchlink2
[ +0,000004] iwlwifi 0000:02:00.0: 0x000164C0 | interruptlink1
[ +0,000003] iwlwifi 0000:02:00.0: 0x000164C0 | interruptlink2
[ +0,000004] iwlwifi 0000:02:00.0: 0x00000000 | data1
[ +0,000003] iwlwifi 0000:02:00.0: 0x00000080 | data2
[ +0,000003] iwlwifi 0000:02:00.0: 0x07030000 | data3
[ +0,000004] iwlwifi 0000:02:00.0: 0x5440EBF3 | beacon time
[ +0,000004] iwlwifi 0000:02:00.0: 0xF0BCB49D | tsf low
[ +0,000003] iwlwifi 0000:02:00.0: 0x00000097 | tsf hi
[ +0,000003] iwlwifi 0000:02:00.0: 0x00000000 | time gp1
[ +0,000004] iwlwifi 0000:02:00.0: 0x0845CB55 | time gp2
[ +0,000003] iwlwifi 0000:02:00.0: 0x00000000 | uCode revision type
[ +0,000004] iwlwifi 0000:02:00.0: 0x00000011 | uCode version major
[ +0,000003] iwlwifi 0000:02:00.0: 0xBFB58538 | uCode version minor
[ +0,000004] iwlwifi 0000:02:00.0: 0x00000144 | hw version
[ +0,000003] iwlwifi 0000:02:00.0: 0x40489204 | board version
[ +0,000003] iwlwifi 0000:02:00.0: 0x0000001C | hcmd
[ +0,000004] iwlwifi 0000:02:00.0: 0x00022002 | isr0
[ +0,000003] iwlwifi 0000:02:00.0: 0x00000000 | isr1
[ +0,000003] iwlwifi 0000:02:00.0: 0x0000000A | isr2
[ +0,000003] iwlwifi 0000:02:00.0: 0x0041D4C0 | isr3
[ +0,000004] iwlwifi 0000:02:00.0: 0x00000000 | isr4
[ +0,000003] iwlwifi 0000:02:00.0: 0x00000110 | last cmd Id
[ +0,000003] iwlwifi 0000:02:00.0: 0x00000000 | wait_event
[ +0,000004] iwlwifi 0000:02:00.0: 0x00000080 | l2p_control
[ +0,000003] iwlwifi 0000:02:00.0: 0x00010020 | l2p_duration
[ +0,000004] iwlwifi 0000:02:00.0: 0x0000003F | l2p_mhvalid
[ +0,000003] iwlwifi 0000:02:00.0: 0x00000080 | l2p_addr_match
[ +0,000003] iwlwifi 0000:02:00.0: 0x00000005 | lmpm_pmg_sel
[ +0,000003] iwlwifi 0000:02:00.0: 0x15041745 | timestamp
[ +0,000004] iwlwifi 0000:02:00.0: 0x00348098 | flow_handler
[ +0,000066] iwlwifi 0000:02:00.0: Fseq Registers:
[ +0,000057] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_ERROR_CODE
[ +0,000057] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_TOP_INIT_VERSION
[ +0,000056] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVIO_INIT_VERSION
[ +0,000056] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_OTP_VERSION
[ +0,000071] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_TOP_CONTENT_VERSION
[ +0,000069] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_ALIVE_TOKEN
[ +0,000074] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVI_ID
[ +0,000074] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVR_ID
[ +0,000061] iwlwifi 0000:02:00.0: 0x00000000 | CNVI_AUX_MISC_CHIP
[ +0,000061] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_AUX_MISC_CHIP
[ +0,000059] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[ +0,000062] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[ +0,000073] iwlwifi 0000:02:00.0: Collecting data: trigger 2 fired.
[ +0,000008] ieee80211 phy0: Hardware restart was requested


2021-04-19 09:40:13

by Johannes Berg

[permalink] [raw]
Subject: Re: iwlwifi: Microcode SW error

On Mon, 2021-04-19 at 11:08 +0200, Gon Solo wrote:
>
> [Apr19 10:50] iwlwifi 0000:02:00.0: Queue 10 is active on fifo 1 and stuck for 10000 ms. SW [40, 93] HW [40, 93] FH TRB=0x0c010a037
> [ +0,001244] iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
>
> The rest of the message is at the end of this message.
> The kernel version is "Linux Limone 5.12.0-051200rc7-lowlatency" from https://kernel.ubuntu.com/~kernel-ppa/mainline.
> The relevant output of lspci is:
> 02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
>
> I would be glad to provide additional details if somebody is interested
> to fix this bug.
>
> Regards,
> Andreas
>
> [[Apr19 10:50] iwlwifi 0000:02:00.0: Queue 10 is active on fifo 1 and stuck for 10000 ms. SW [40, 93] HW [40, 93] FH TRB=0x0c010a037
> [ +0,001244] iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
> [ +0,000160] iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
> [ +0,000004] iwlwifi 0000:02:00.0: Status: 0x00000040, count: 6
> [ +0,000005] iwlwifi 0000:02:00.0: Loaded firmware version: 17.3216344376.0 7260-17.ucode
> [ +0,000005] iwlwifi 0000:02:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN

Do you use MFP?

Could be related to

https://patchwork.kernel.org/project/linux-wireless/patch/202104[email protected]changeid/

I saw similar issues internally without that fix.

johannes

2021-04-19 10:29:41

by Gonsolo

[permalink] [raw]
Subject: Re: iwlwifi: Microcode SW error

> Do you use MFP?

I don't think so. I'm running unmodified kernels from Ubuntu PPA and
don't meddle with WIFI configs.
How can I find out?

> Could be related to
> https://patchwork.kernel.org/project/linux-wireless/patch/202104[email protected]changeid/
> I saw similar issues internally without that fix.

A quick "git grep" didn't show any of these two patches in the 5.12-rc7 kernel.

--
g

2021-04-19 10:30:11

by Johannes Berg

[permalink] [raw]
Subject: Re: iwlwifi: Microcode SW error

On Mon, 2021-04-19 at 11:54 +0200, Gonsolo wrote:
> > Do you use MFP?
>
> I don't think so. I'm running unmodified kernels from Ubuntu PPA and
> don't meddle with WIFI configs.
> How can I find out?
>
> > Could be related to
> > https://patchwork.kernel.org/project/linux-wireless/patch/202104[email protected]changeid/
> > I saw similar issues internally without that fix.
>
> A quick "git grep" didn't show any of these two patches in the 5.12-
> rc7 kernel.
>
Yeah, my bad, I only put the offending patch into -next, I
misremembered. Sorry for the noise.

johannes