Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#4139 - iwlwifi: Microcode SW error detected. #9120

Open
openwrt-bot opened this issue Nov 17, 2021 · 1 comment
Open

FS#4139 - iwlwifi: Microcode SW error detected. #9120

openwrt-bot opened this issue Nov 17, 2021 · 1 comment
Labels
flyspray packages

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Nov 17, 2021

wrobelda:

Supply the following if possible:

  • Device problem occurs on

X64 Proxmox (qemu) VM

  • Software versions of OpenWrt/LEDE release, packages, etc.
    Linux OpenWrt 5.4.154 #0 SMP Sun Oct 24 09:01:35 2021 x86_64 GNU/Linux
    OpenWrt 21.02.1, r16325-88151b8303
    kmod-iwlwifi - 5.4.154+5.10.68-1-1
    iwlwifi-firmware-iwl8260c - 20201118-3

  • Steps to reproduce

Have configured both AP and STA yesterday. This worked for several hours since, but crashed overnight.

[18211.488837] iwlwifi 0000:00:10.0: Queue 10 is active on fifo 1 and stuck for 10000 ms. SW [119, 54] HW [119, 54] FH TRB=0x0c011107a
[18211.493968] iwlwifi 0000:00:10.0: Microcode SW error detected. Restarting 0x2000000.
[18211.496629] iwlwifi 0000:00:10.0: Start IWL Error Log Dump:
[18211.498455] iwlwifi 0000:00:10.0: Status: 0x00000040, count: 6
[18211.500301] iwlwifi 0000:00:10.0: Loaded firmware version: 36.ad812ee0.0 8000C-36.ucode
[18211.502497] iwlwifi 0000:00:10.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
[18211.504528] iwlwifi 0000:00:10.0: 0x000000E3 | trm_hw_status0
[18211.507031] iwlwifi 0000:00:10.0: 0x00000000 | trm_hw_status1
[18211.509576] iwlwifi 0000:00:10.0: 0x0002438C | branchlink2
[18211.511743] iwlwifi 0000:00:10.0: 0x00039C06 | interruptlink1
[18211.514053] iwlwifi 0000:00:10.0: 0x00004B86 | interruptlink2
[18211.516209] iwlwifi 0000:00:10.0: 0x00000000 | data1
[18211.518231] iwlwifi 0000:00:10.0: 0x00000080 | data2
[18211.519939] iwlwifi 0000:00:10.0: 0x07830000 | data3
[18211.521507] iwlwifi 0000:00:10.0: 0x26404625 | beacon time
[18211.523079] iwlwifi 0000:00:10.0: 0xE8E669DE | tsf low
[18211.524473] iwlwifi 0000:00:10.0: 0x0000000C | tsf hi
[18211.525970] iwlwifi 0000:00:10.0: 0x00000000 | time gp1
[18211.527540] iwlwifi 0000:00:10.0: 0xEF89D2A4 | time gp2
[18211.528932] iwlwifi 0000:00:10.0: 0x00000001 | uCode revision type
[18211.530420] iwlwifi 0000:00:10.0: 0x00000024 | uCode version major
[18211.532032] iwlwifi 0000:00:10.0: 0xAD812EE0 | uCode version minor
[18211.533568] iwlwifi 0000:00:10.0: 0x00000201 | hw version
[18211.534925] iwlwifi 0000:00:10.0: 0x00489008 | board version
[18211.536486] iwlwifi 0000:00:10.0: 0x116B001C | hcmd
[18211.537928] iwlwifi 0000:00:10.0: 0x02E62002 | isr0
[18211.539310] iwlwifi 0000:00:10.0: 0x01800000 | isr1
[18211.540638] iwlwifi 0000:00:10.0: 0x08001812 | isr2
[18211.541981] iwlwifi 0000:00:10.0: 0x0041F480 | isr3
[18211.543396] iwlwifi 0000:00:10.0: 0x00000000 | isr4
[18211.544817] iwlwifi 0000:00:10.0: 0x116A001C | last cmd Id
[18211.546303] iwlwifi 0000:00:10.0: 0x00000000 | wait_event
[18211.547699] iwlwifi 0000:00:10.0: 0x00004988 | l2p_control
[18211.549094] iwlwifi 0000:00:10.0: 0x00009C20 | l2p_duration
[18211.550572] iwlwifi 0000:00:10.0: 0x000003BF | l2p_mhvalid
[18211.552072] iwlwifi 0000:00:10.0: 0x00009110 | l2p_addr_match
[18211.553549] iwlwifi 0000:00:10.0: 0x0000001D | lmpm_pmg_sel
[18211.554872] iwlwifi 0000:00:10.0: 0x14100651 | timestamp
[18211.556213] iwlwifi 0000:00:10.0: 0x00340828 | flow_handler
[18211.557650] iwlwifi 0000:00:10.0: Start IWL Error Log Dump:
[18211.558952] iwlwifi 0000:00:10.0: Status: 0x00000040, count: 7
[18211.560317] iwlwifi 0000:00:10.0: 0x00000070 | NMI_INTERRUPT_LMAC_FATAL
[18211.561882] iwlwifi 0000:00:10.0: 0x00000000 | umac branchlink1
[18211.563291] iwlwifi 0000:00:10.0: 0xC0086B3C | umac branchlink2
[18211.564775] iwlwifi 0000:00:10.0: 0xC0083D08 | umac interruptlink1
[18211.566262] iwlwifi 0000:00:10.0: 0xC0083D08 | umac interruptlink2
[18211.567754] iwlwifi 0000:00:10.0: 0x00000800 | umac data1
[18211.569116] iwlwifi 0000:00:10.0: 0xC0083D08 | umac data2
[18211.570374] iwlwifi 0000:00:10.0: 0xDEADBEEF | umac data3
[18211.571608] iwlwifi 0000:00:10.0: 0x00000024 | umac major
[18211.572920] iwlwifi 0000:00:10.0: 0xAD812EE0 | umac minor
[18211.574126] iwlwifi 0000:00:10.0: 0xC088628C | frame pointer
[18211.575451] iwlwifi 0000:00:10.0: 0xC088628C | stack pointer
[18211.576629] iwlwifi 0000:00:10.0: 0x00CD014E | last host cmd
[18211.577767] iwlwifi 0000:00:10.0: 0x00000000 | isr status reg
[18211.578979] iwlwifi 0000:00:10.0: Fseq Registers:
[18211.580105] iwlwifi 0000:00:10.0: 0xA349E85B | FSEQ_ERROR_CODE
[18211.581237] iwlwifi 0000:00:10.0: 0xE1EAA921 | FSEQ_TOP_INIT_VERSION
[18211.582405] iwlwifi 0000:00:10.0: 0x6F978347 | FSEQ_CNVIO_INIT_VERSION
[18211.583702] iwlwifi 0000:00:10.0: 0x0000A056 | FSEQ_OTP_VERSION
[18211.585072] iwlwifi 0000:00:10.0: 0x2602412E | FSEQ_TOP_CONTENT_VERSION
[18211.586554] iwlwifi 0000:00:10.0: 0x7660E6DE | FSEQ_ALIVE_TOKEN
[18211.588094] iwlwifi 0000:00:10.0: 0xC1001788 | FSEQ_CNVI_ID
[18211.589535] iwlwifi 0000:00:10.0: 0xBEB2DE9C | FSEQ_CNVR_ID
[18211.590793] iwlwifi 0000:00:10.0: 0x03000000 | CNVI_AUX_MISC_CHIP
[18211.592088] iwlwifi 0000:00:10.0: 0x0BADCAFE | CNVR_AUX_MISC_CHIP
[18211.593408] iwlwifi 0000:00:10.0: 0x0BADCAFE | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[18211.595082] iwlwifi 0000:00:10.0: 0x0BADCAFE | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[18211.596946] iwlwifi 0000:00:10.0: Collecting data: trigger 2 fired.
[18211.598413] ieee80211 phy0: Hardware restart was requested
[18212.159886] iwlwifi 0000:00:10.0: Failed updating beacon data
[18212.161346] iwlwifi 0000:00:10.0: Failed to send MAC context (action:2): -5
[18212.162815] iwlwifi 0000:00:10.0: failed to update MAC f4:8c:50:93:28:4a

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Nov 17, 2021

wrobelda:

I updated the microcode by hand to the most recent one from [[https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/iwlwifi-8000C-36.ucode?id=7db04787b4d62fc96e6b305229af4221cd89ee0b|External Linklinux-wireless]], but getting:

[ 12.141082] iwlwifi 0000:00:10.0: loaded firmware version 36.ca7b901d.0 8000C-36.ucode op_mode iwlmvm
[ 12.229490] iwlwifi 0000:00:10.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[ 12.366540] iwlwifi 0000:00:10.0: base HW address: f4:8c:50:93:28:49
[ 12.368516] iwlwifi 0000:00:10.0: Microcode SW error detected. Restarting 0x2000000.
[ 12.370592] iwlwifi 0000:00:10.0: Start IWL Error Log Dump:
[ 12.372269] iwlwifi 0000:00:10.0: Status: 0x00000040, count: 6
[ 12.373973] iwlwifi 0000:00:10.0: Loaded firmware version: 36.ca7b901d.0 8000C-36.ucode
[ 12.375910] iwlwifi 0000:00:10.0: 0x00000DC3 | ADVANCED_SYSASSERT
[ 12.377864] iwlwifi 0000:00:10.0: 0x000002F0 | trm_hw_status0
[ 12.379554] iwlwifi 0000:00:10.0: 0x00000000 | trm_hw_status1
[ 12.381146] iwlwifi 0000:00:10.0: 0x0001298A | branchlink2
[ 12.382723] iwlwifi 0000:00:10.0: 0x0001C962 | interruptlink1
[ 12.384342] iwlwifi 0000:00:10.0: 0x00000000 | interruptlink2
[ 12.385951] iwlwifi 0000:00:10.0: 0x00000020 | data1
[ 12.387484] iwlwifi 0000:00:10.0: 0xDEADBEEF | data2
[ 12.388952] iwlwifi 0000:00:10.0: 0xDEADBEEF | data3
[ 12.390499] iwlwifi 0000:00:10.0: 0x00000000 | beacon time
[ 12.391992] iwlwifi 0000:00:10.0: 0x00004142 | tsf low
[ 12.393460] iwlwifi 0000:00:10.0: 0x00000000 | tsf hi
[ 12.394957] iwlwifi 0000:00:10.0: 0x00000000 | time gp1
[ 12.396397] iwlwifi 0000:00:10.0: 0x00004143 | time gp2
[ 12.397865] iwlwifi 0000:00:10.0: 0x00000009 | uCode revision type
[ 12.399509] iwlwifi 0000:00:10.0: 0x00000024 | uCode version major
[ 12.401116] iwlwifi 0000:00:10.0: 0xCA7B901D | uCode version minor
[ 12.402732] iwlwifi 0000:00:10.0: 0x00000201 | hw version
[ 12.404176] iwlwifi 0000:00:10.0: 0x18489008 | board version
[ 12.405715] iwlwifi 0000:00:10.0: 0x0010016A | hcmd
[ 12.407164] iwlwifi 0000:00:10.0: 0x00022080 | isr0
[ 12.408433] iwlwifi 0000:00:10.0: 0x00000000 | isr1
[ 12.409776] iwlwifi 0000:00:10.0: 0x28201802 | isr2
[ 12.411145] iwlwifi 0000:00:10.0: 0x004000C0 | isr3
[ 12.412480] iwlwifi 0000:00:10.0: 0x00000000 | isr4
[ 12.413818] iwlwifi 0000:00:10.0: 0x0010016A | last cmd Id
[ 12.415255] iwlwifi 0000:00:10.0: 0x00000000 | wait_event
[ 12.416850] iwlwifi 0000:00:10.0: 0x000081FD | l2p_control
[ 12.418314] iwlwifi 0000:00:10.0: 0x00000000 | l2p_duration
[ 12.419734] iwlwifi 0000:00:10.0: 0x00000000 | l2p_mhvalid
[ 12.421127] iwlwifi 0000:00:10.0: 0x00000000 | l2p_addr_match
[ 12.422681] iwlwifi 0000:00:10.0: 0x0000000F | lmpm_pmg_sel
[ 12.423991] iwlwifi 0000:00:10.0: 0x10032208 | timestamp
[ 12.425292] iwlwifi 0000:00:10.0: 0x00000818 | flow_handler
[ 12.426718] iwlwifi 0000:00:10.0: Start IWL Error Log Dump:
[ 12.427967] iwlwifi 0000:00:10.0: Status: 0x00000040, count: 7
[ 12.429263] iwlwifi 0000:00:10.0: 0x00000070 | NMI_INTERRUPT_LMAC_FATAL
[ 12.430691] iwlwifi 0000:00:10.0: 0x00000000 | umac branchlink1
[ 12.432032] iwlwifi 0000:00:10.0: 0xC008694C | umac branchlink2
[ 12.433344] iwlwifi 0000:00:10.0: 0xC0083B0C | umac interruptlink1
[ 12.434770] iwlwifi 0000:00:10.0: 0xC0083B0C | umac interruptlink2
[ 12.436088] iwlwifi 0000:00:10.0: 0x00000800 | umac data1
[ 12.437340] iwlwifi 0000:00:10.0: 0xC0083B0C | umac data2
[ 12.438626] iwlwifi 0000:00:10.0: 0xDEADBEEF | umac data3
[ 12.439841] iwlwifi 0000:00:10.0: 0x00000024 | umac major
[ 12.441042] iwlwifi 0000:00:10.0: 0xCA7B901D | umac minor
[ 12.442284] iwlwifi 0000:00:10.0: 0xC088628C | frame pointer
[ 12.443585] iwlwifi 0000:00:10.0: 0xC088628C | stack pointer
[ 12.444712] iwlwifi 0000:00:10.0: 0x0010016A | last host cmd
[ 12.445998] iwlwifi 0000:00:10.0: 0x00000000 | isr status reg
[ 12.447270] iwlwifi 0000:00:10.0: Fseq Registers:
[ 12.448305] iwlwifi 0000:00:10.0: 0xA349E85B | FSEQ_ERROR_CODE
[ 12.449717] iwlwifi 0000:00:10.0: 0xE1EAA921 | FSEQ_TOP_INIT_VERSION
[ 12.451118] iwlwifi 0000:00:10.0: 0x6F978347 | FSEQ_CNVIO_INIT_VERSION
[ 12.452467] iwlwifi 0000:00:10.0: 0x0000A056 | FSEQ_OTP_VERSION
[ 12.453757] iwlwifi 0000:00:10.0: 0x2602412E | FSEQ_TOP_CONTENT_VERSION
[ 12.455120] iwlwifi 0000:00:10.0: 0x7660E6DE | FSEQ_ALIVE_TOKEN
[ 12.456323] iwlwifi 0000:00:10.0: 0xC1001788 | FSEQ_CNVI_ID
[ 12.457522] iwlwifi 0000:00:10.0: 0xBEB2DE9C | FSEQ_CNVR_ID
[ 12.458762] iwlwifi 0000:00:10.0: 0x03000000 | CNVI_AUX_MISC_CHIP
[ 12.460881] iwlwifi 0000:00:10.0: 0x00000000 | CNVR_AUX_MISC_CHIP
[ 12.464031] iwlwifi 0000:00:10.0: 0x0BADCAFE | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[ 12.466587] iwlwifi 0000:00:10.0: 0x0BADCAFE | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[ 12.468858] iwlwifi 0000:00:10.0: iwlwifi transaction failed, dumping registers
[ 12.471314] iwlwifi 0000:00:10.0: iwlwifi device config registers:
[ 12.475650] iwlwifi 0000:00:10.0: 00000000: 24f38086 00100506 0280003a 00000010 fea90004 00000000 00000000 00000000
[ 12.479453] iwlwifi 0000:00:10.0: 00000020: 00000000 00000000 00000000 00108086 00000000 000000c8 00000000 0000010b
[ 12.483160] iwlwifi 0000:00:10.0: 00000040: 00020010 10008ec0 00100c10 0145e811 10110040 00000000 00000000 00000000
[ 12.485796] iwlwifi 0000:00:10.0: 00000060: 00000000 00080812 00000005 00000000 00010001 00000000 00000000 00000000
[ 12.488383] iwlwifi 0000:00:10.0: 00000080: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 12.490988] iwlwifi 0000:00:10.0: 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 12.493225] iwlwifi 0000:00:10.0: 000000c0: 00000000 00000000 c823d001 0d000000 00814005 fee00000 00000000 00004037
[ 12.495422] iwlwifi 0000:00:10.0: 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 12.497497] iwlwifi 0000:00:10.0: 00000100: 24f38086 00100506 0280003a 00000010 fea90004 00000000 00000000 00000000
[ 12.499567] iwlwifi 0000:00:10.0: 00000120: 00000000 00000000 00000000 00108086 00000000 000000c8 00000000 0000010b
[ 12.501792] iwlwifi 0000:00:10.0: 00000140: 00020010 10008ec0 00100c10 0145e811 10110040 00000000 00000000 00000000
[ 12.503774] iwlwifi 0000:00:10.0: iwlwifi device memory mapped registers:
[ 12.505378] iwlwifi 0000:00:10.0: 00000000: 18489008 00000040 00000000 ba00008b 00000000 00000000 00000019 00000000
[ 12.507331] iwlwifi 0000:00:10.0: 00000020: 00000000 08040005 00000201 d55555d5 d55555d5 d55555d5 80008040 001f0046
[ 12.509245] iwlwifi 0000:00:10.0: FW error in SYNC CMD PHY_CONFIGURATION_CMD
[ 12.510797] CPU: 0 PID: 33 Comm: kworker/0:1 Not tainted 5.4.154 #0
[ 12.512322] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
[ 12.515314] Workqueue: events 0xffffffff815c90a0
[ 12.516526] Call Trace:
[ 12.517563] 0xffffffff818f343c
[ 12.518722] 0xffffffffa0222154 [iwlwifi@000000005ac89185+0x32000]
[ 12.520370] ? 0xffffffff810e78f0
[ 12.521704] 0xffffffffa022b838 [iwlwifi@000000005ac89185+0x32000]
[ 12.523268] 0xffffffffa0339121 [iwlmvm@00000000f23834d0+0x3a000]
[ 12.524824] 0xffffffffa033917e [iwlmvm@00000000f23834d0+0x3a000]
[ 12.526467] ? 0xffffffffa033917e [iwlmvm@00000000f23834d0+0x3a000]
[ 12.527939] 0xffffffffa032b88e [iwlmvm@00000000f23834d0+0x3a000]
[ 12.529494] 0xffffffffa032be09 [iwlmvm@00000000f23834d0+0x3a000]
[ 12.531032] ? 0xffffffffa0216679 [iwlwifi@000000005ac89185+0x32000]
[ 12.532553] ? 0xffffffffa032ba50 [iwlmvm@00000000f23834d0+0x3a000]
[ 12.534123] ? 0xffffffffa022734c [iwlwifi@000000005ac89185+0x32000]
[ 12.535816] 0xffffffffa0335d31 [iwlmvm@00000000f23834d0+0x3a000]
[ 12.537427] 0xffffffffa021899c [iwlwifi@000000005ac89185+0x32000]
[ 12.538954] 0xffffffff815c90d7
[ 12.540112] 0xffffffff810c4724
[ 12.541284] 0xffffffff810c48bf
[ 12.542486] 0xffffffff810c983b
[ 12.543595] ? 0xffffffff810c4890
[ 12.544688] ? 0xffffffff810c9730
[ 12.545835] 0xffffffff81a00202
[ 12.547061] iwlwifi 0000:00:10.0: Failed to run INIT calibrations: -5
[ 12.548578] iwlwifi 0000:00:10.0: Collecting data: trigger 16 fired.
[ 13.712898] iwlwifi 0000:00:10.0: Failed to run INIT ucode: -5
[ 14.157743] 8021q: adding VLAN 0 to HW filter on device eth0
[ 14.248300] br-lan: port 1(eth0) entered blocking state
[ 14.257586] br-lan: port 1(eth0) entered disabled state
[ 14.259949] device eth0 entered promiscuous mode
[ 14.265917] br-lan: port 1(eth0) entered blocking state
[ 14.273286] br-lan: port 1(eth0) entered forwarding state
[ 14.330775] 8021q: adding VLAN 0 to HW filter on device eth1

@aparcar aparcar added the packages label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray packages
Projects
None yet
Development

No branches or pull requests

2 participants