Bug#1026906: /lib/firmware/iwlwifi-cc-a0-72.ucode: "Microcode SW error detected" after idle for a while and breaks wifi

2023-12-19 Thread Yuxuan Wang
On Tue, Dec 19, 2023 at 2:47 PM Diederik de Haas  wrote:
>
> On Friday, 23 December 2022 18:40:32 CET Yuxuan Wang wrote:
> > Package: firmware-iwlwifi
> > Version: 20221109-4
> >
> > With firmware iwlwifi-cc-a0-72.ucode, the wifi chip would throw "Microcode
> > SW error detected" after the system is idle for a while. After wakig up the
> > system, the wifi would appears to be connected (in NetworkManager), but
> > pinging the router will give "Destination Host Unreachable", and I have to
> > turn wifi off and one again in NetworkManager to fix it.
> >
> > This is the kernel log when the error happens:
> > ...
> > (delay=0ms). Dec 20 16:00:14 perch kernel: ieee80211 phy0: Hardware restart
> > was requested
> >
> > The hardware info according to `lspci -nn -d ::280` is:
> >
> > 3b:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200
> > [8086:2723] (rev 1a)
> >
> > I tried to downgrade it, via:
> >
> > mv /lib/firmware/iwlwifi-cc-a0-72.ucode
> > /lib/firmware/iwlwifi-cc-a0-72.ucode.backup
> >
> > And then reload the kernel models, which loaded 71 instead, but that still
> > has a similar issue: instead of "Destination Host Unreachable", pinging the
> > router gives me super high latency (in seconds instead of milliseconds) and
> > the network is almost unusable, and I have to turn wifi off and on again in
> > NetworkManager to fix it. The kernel log for 71 is:
> >
> > I have to downgrade again (from 71 to 63, there's no version in between) to
> > fix the issue.
>
> So to summarize: It works with 63, but it fails with 71 or 72? And in order to
> make it work, you have to (actively) remove the 71 and 72 versions?

Correct.



Bug#1026906: /lib/firmware/iwlwifi-cc-a0-72.ucode: "Microcode SW error detected" after idle for a while and breaks wifi

2023-12-19 Thread Diederik de Haas
On Friday, 23 December 2022 18:40:32 CET Yuxuan Wang wrote:
> Package: firmware-iwlwifi
> Version: 20221109-4
> 
> With firmware iwlwifi-cc-a0-72.ucode, the wifi chip would throw "Microcode
> SW error detected" after the system is idle for a while. After wakig up the
> system, the wifi would appears to be connected (in NetworkManager), but
> pinging the router will give "Destination Host Unreachable", and I have to
> turn wifi off and one again in NetworkManager to fix it.
> 
> This is the kernel log when the error happens:
> ...
> (delay=0ms). Dec 20 16:00:14 perch kernel: ieee80211 phy0: Hardware restart
> was requested
> 
> The hardware info according to `lspci -nn -d ::280` is:
> 
> 3b:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200
> [8086:2723] (rev 1a)
> 
> I tried to downgrade it, via:
> 
> mv /lib/firmware/iwlwifi-cc-a0-72.ucode
> /lib/firmware/iwlwifi-cc-a0-72.ucode.backup
> 
> And then reload the kernel models, which loaded 71 instead, but that still
> has a similar issue: instead of "Destination Host Unreachable", pinging the
> router gives me super high latency (in seconds instead of milliseconds) and
> the network is almost unusable, and I have to turn wifi off and on again in
> NetworkManager to fix it. The kernel log for 71 is:
> 
> I have to downgrade again (from 71 to 63, there's no version in between) to
> fix the issue.

So to summarize: It works with 63, but it fails with 71 or 72? And in order to 
make it work, you have to (actively) remove the 71 and 72 versions?


signature.asc
Description: This is a digitally signed message part.


Bug#1026906: /lib/firmware/iwlwifi-cc-a0-72.ucode: "Microcode SW error detected" after idle for a while and breaks wifi

2022-12-23 Thread Yuxuan Wang
Package: firmware-iwlwifi
Version: 20221109-4
Severity: important
File: /lib/firmware/iwlwifi-cc-a0-72.ucode
X-Debbugs-Cc: fishyw...@gmail.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

With firmware iwlwifi-cc-a0-72.ucode, the wifi chip would throw "Microcode SW
error detected" after the system is idle for a while. After wakig up the system,
the wifi would appears to be connected (in NetworkManager), but pinging the
router will give "Destination Host Unreachable", and I have to turn wifi off and
one again in NetworkManager to fix it.

This is the kernel log when the error happens:

Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: Microcode SW error 
detected. Restarting 0x0.
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: Start IWL Error Log 
Dump:
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: Transport status: 
0x004A, valid: 6
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: Loaded firmware 
version: 72.daa05125.0 cc-a0-72.ucode
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x0071 | 
NMI_INTERRUPT_UMAC_FATAL
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0xA210 | 
trm_hw_status0
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x | 
trm_hw_status1
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x004FBE16 | branchlink2
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x004F23FE | 
interruptlink1
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x004F23FE | 
interruptlink2
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0xB5C2 | data1
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x1000 | data2
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x | data3
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x2540D56E | beacon time
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0xB0C55A96 | tsf low
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x043B | tsf hi
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x | time gp1
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x59D3B493 | time gp2
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x0001 | uCode 
revision type
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x0048 | uCode 
version major
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0xDAA05125 | uCode 
version minor
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x0340 | hw version
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x00489000 | board 
version
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x8086FC03 | hcmd
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x2402 | isr0
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x0040 | isr1
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x08F2 | isr2
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x00C3380C | isr3
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x | isr4
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x05E4001C | last cmd Id
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0xB5C2 | wait_event
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x0094 | l2p_control
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x00010034 | 
l2p_duration
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x000F | l2p_mhvalid
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x | 
l2p_addr_match
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x0009 | 
lmpm_pmg_sel
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x | timestamp
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x5078 | 
flow_handler
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: Start IWL Error Log 
Dump:
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: Transport status: 
0x004A, valid: 7
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x20003463 | 
ADVANCED_SYSASSERT
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x | umac 
branchlink1
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x80455E3C | umac 
branchlink2
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0xC0081200 | umac 
interruptlink1
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x | umac 
interruptlink2
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0xB0C55A88 | umac data1
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x59D3B483 | umac data2
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x57C61FD2 | umac data3
Dec 20 16:00:14 perch kernel: iwlwifi :3b:00.0: 0x0048 | umac major
Dec