After many false starts, the following similar RedHat bug report, gave
me a hint to a workaround that suppresses the CSR_RESET errors in
iwlwifi.

https://bugzilla.redhat.com/show_bug.cgi?id=2138790

Bug 2138790 - No WiFi on T16 Intel Gen 12th Alder Lake Wifi 6E AX 211
[NEEDINFO]

This bug report cites the following kernel commit as being the source of
the bug.

https://github.com/torvalds/linux/blob/4fe89d07dcc2804c8b562f6c7896a45643d34b2f/drivers/net/wireless/intel/iwlwifi/iwl-
io.c#L478-L483

Noticing this section in that file...

/*
         * Wait for clock stabilization; once stabilized, access to
         * device-internal resources is supported, e.g. iwl_write_prph()
         * and accesses to uCode SRAM.
         */

        err = iwl_poll_bit(trans, CSR_GP_CNTRL, poll_ready, poll_ready, 25000);
        if (err < 0) {
                IWL_DEBUG_INFO(trans, "Failed to wake NIC\n");

                iwl_dump_host_monitor(trans);
        }

... I decided to disable the BIOS setting for "Wake On LAN" in the Power
section of the Gigabyte X570 UD v1.1 F37d BIOS (which is on by default).

So far this change has fully suppressed the CSR_RESET bug. Disabling
"Wake On LAN" in BIOS is sufficient without resorting to...

options iwlwifi power_save=0
options iwlmvm power_scheme=1
options iwlwifi uapsd_disable=1

in /etc/modprobe.d/iwlwifi.conf.

** Bug watch added: Red Hat Bugzilla #2138790
   https://bugzilla.redhat.com/show_bug.cgi?id=2138790

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1992194

Title:
  random CSR_RESET errors in iwlwifi appear under kinetic

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Kinetic:
  Confirmed

Bug description:
  A Gigabyte GC-WBAX210 WIFI 6E Aorus PCI card worked fine under Ubuntu
  22.04 LTS but under Ubuntu 22.10 fails to initialize properly half of
  the time. When this occurs, the kern.log shows...

  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581395] iwlwifi 0000:05:00.0: 
CSR_RESET = 0x10
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581410] iwlwifi 0000:05:00.0: 
Host monitor block 0x0 vector 0x0
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581427] iwlwifi 0000:05:00.0:  
   value [iter 0]: 0x3f7d8830
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581443] iwlwifi 0000:05:00.0:  
   value [iter 1]: 0x3f7d8830
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581459] iwlwifi 0000:05:00.0:  
   value [iter 2]: 0x3f7d8430
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581474] iwlwifi 0000:05:00.0:  
   value [iter 3]: 0x3f7d8830
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581490] iwlwifi 0000:05:00.0:  
   value [iter 4]: 0x3f7d8430
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581505] iwlwifi 0000:05:00.0:  
   value [iter 5]: 0x3f7d8830
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581521] iwlwifi 0000:05:00.0:  
   value [iter 6]: 0x3f7d8430
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581537] iwlwifi 0000:05:00.0:  
   value [iter 7]: 0x3f7d0830
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581552] iwlwifi 0000:05:00.0:  
   value [iter 8]: 0x3f7d0430
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581568] iwlwifi 0000:05:00.0:  
   value [iter 9]: 0x3f7d8830
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581583] iwlwifi 0000:05:00.0:  
   value [iter 10]: 0x3f7d0430
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581599] iwlwifi 0000:05:00.0:  
   value [iter 11]: 0x3f7d8830
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581614] iwlwifi 0000:05:00.0:  
   value [iter 12]: 0x3f7d0430
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581630] iwlwifi 0000:05:00.0:  
   value [iter 13]: 0x3f7d8830
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581646] iwlwifi 0000:05:00.0:  
   value [iter 14]: 0x3f7d0c30
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581659] iwlwifi 0000:05:00.0: 
Host monitor block 0x0 vector 0x1
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581675] iwlwifi 0000:05:00.0:  
   value [iter 0]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581691] iwlwifi 0000:05:00.0:  
   value [iter 1]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581706] iwlwifi 0000:05:00.0:  
   value [iter 2]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581722] iwlwifi 0000:05:00.0:  
   value [iter 3]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581737] iwlwifi 0000:05:00.0:  
   value [iter 4]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581753] iwlwifi 0000:05:00.0:  
   value [iter 5]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581768] iwlwifi 0000:05:00.0:  
   value [iter 6]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581784] iwlwifi 0000:05:00.0:  
   value [iter 7]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581799] iwlwifi 0000:05:00.0:  
   value [iter 8]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581815] iwlwifi 0000:05:00.0:  
   value [iter 9]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581830] iwlwifi 0000:05:00.0:  
   value [iter 10]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581845] iwlwifi 0000:05:00.0:  
   value [iter 11]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581861] iwlwifi 0000:05:00.0:  
   value [iter 12]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581877] iwlwifi 0000:05:00.0:  
   value [iter 13]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581893] iwlwifi 0000:05:00.0:  
   value [iter 14]: 0x040066c2
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581906] iwlwifi 0000:05:00.0: 
Host monitor block 0x0 vector 0x6
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581922] iwlwifi 0000:05:00.0:  
   value [iter 0]: 0xb00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581938] iwlwifi 0000:05:00.0:  
   value [iter 1]: 0xe00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581953] iwlwifi 0000:05:00.0:  
   value [iter 2]: 0xb00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581969] iwlwifi 0000:05:00.0:  
   value [iter 3]: 0xe00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.581984] iwlwifi 0000:05:00.0:  
   value [iter 4]: 0xb00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.582000] iwlwifi 0000:05:00.0:  
   value [iter 5]: 0xe00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.582015] iwlwifi 0000:05:00.0:  
   value [iter 6]: 0xb00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.582031] iwlwifi 0000:05:00.0:  
   value [iter 7]: 0xe00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.582046] iwlwifi 0000:05:00.0:  
   value [iter 8]: 0xb00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.582061] iwlwifi 0000:05:00.0:  
   value [iter 9]: 0xe00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.582077] iwlwifi 0000:05:00.0:  
   value [iter 10]: 0xb00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.582092] iwlwifi 0000:05:00.0:  
   value [iter 11]: 0xe00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.582282] iwlwifi 0000:05:00.0:  
   value [iter 12]: 0xf00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.582464] iwlwifi 0000:05:00.0:  
   value [iter 13]: 0xe00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.582638] iwlwifi 0000:05:00.0:  
   value [iter 14]: 0xa00c7c75
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.582806] iwlwifi 0000:05:00.0: 
Host monitor block 0x22 vector 0x0
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.582976] iwlwifi 0000:05:00.0:  
   value [iter 0]: 0x00000000
  Oct  2 10:59:26 howarth-X570-UD kernel: [    5.583157] iwlwifi: probe of 
0000:05:00.0 failed with error -110

  compared to a successful initialization which shows...

  Oct  2 11:00:00 howarth-X570-UD kernel: [    5.473105] iwlwifi 0000:05:00.0: 
enabling device (0000 -> 0002)
  Oct  2 11:00:00 howarth-X570-UD kernel: [    5.474187] iwlwifi 0000:05:00.0: 
Direct firmware load for iwlwifi-ty-a0-gf-a0-72.ucode failed with error -2
  Oct  2 11:00:00 howarth-X570-UD kernel: [    5.475714] iwlwifi 0000:05:00.0: 
api flags index 2 larger than supported by driver
  Oct  2 11:00:00 howarth-X570-UD kernel: [    5.475723] iwlwifi 0000:05:00.0: 
TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.36
  Oct  2 11:00:00 howarth-X570-UD kernel: [    5.476150] iwlwifi 0000:05:00.0: 
loaded firmware version 71.058653f6.0 ty-a0-gf-a0-71.ucode op_mode iwlmvm
  Oct  2 11:00:00 howarth-X570-UD kernel: [    5.680828] iwlwifi 0000:05:00.0: 
Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
  Oct  2 11:00:00 howarth-X570-UD kernel: [    5.829996] iwlwifi 0000:05:00.0: 
loaded PNVM version 881c99e1
  Oct  2 11:00:00 howarth-X570-UD kernel: [    5.841619] iwlwifi 0000:05:00.0: 
Detected RF GF, rfid=0x10d000
  Oct  2 11:00:00 howarth-X570-UD kernel: [    5.910248] iwlwifi 0000:05:00.0: 
base HW address: 28:df:eb:5b:80:97
  Oct  2 11:00:00 howarth-X570-UD kernel: [    5.925699] iwlwifi 0000:05:00.0 
wlp5s0: renamed from wlan0

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: linux-generic 5.19.0.19.19
  ProcVersionSignature: Ubuntu 5.19.0-19.19-generic 5.19.7
  Uname: Linux 5.19.0-19-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.23.1-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  howarth    1839 F.... wireplumber
   /dev/snd/controlC2:  howarth    1839 F.... wireplumber
   /dev/snd/controlC0:  howarth    1839 F.... wireplumber
   /dev/snd/seq:        howarth    1835 F.... pipewire
  CRDA: N/A
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Oct  7 13:42:48 2022
  InstallationDate: Installed on 2022-03-31 (189 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220326)
  MachineType: Gigabyte Technology Co., Ltd. X570 UD
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-19-generic 
root=UUID=5436e544-69ea-41e9-b626-c5e8d95b5207 ro quiet splash vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-5.19.0-19-generic N/A
   linux-backports-modules-5.19.0-19-generic  N/A
   linux-firmware                             20220923.gitf09bebf3-0ubuntu1
  SourcePackage: linux
  UpgradeStatus: Upgraded to kinetic on 2022-09-29 (7 days ago)
  dmi.bios.date: 01/18/2021
  dmi.bios.release: 5.17
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F32
  dmi.board.asset.tag: Default string
  dmi.board.name: X570 UD
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 3
  dmi.chassis.vendor: Default string
  dmi.chassis.version: Default string
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrF32:bd01/18/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570UD:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnX570UD:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
  dmi.product.family: X570 MB
  dmi.product.name: X570 UD
  dmi.product.sku: Default string
  dmi.product.version: Default string
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1992194/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to