Intel iwlwifi AX211: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1

Bug #1979182 reported by You-Sheng Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
New
Undecided
Unassigned
Kinetic
Fix Released
Undecided
Unassigned
linux-oem-5.17 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
High
You-Sheng Yang
Kinetic
Invalid
Undecided
Unassigned

Bug Description

[SRU Justification]

[Impact]

Kernel warning dumps at boot on Intel iwlwifi AX211 equipped platforms
running oem-5.17 kernel:

kernel: iwlwifi 0000:00:14.3: WRT: Failed to set DRAM buffer for alloc
id 1, ret=-1
kernel: iwlwifi 0000:00:14.3: WRT: Failed to set DRAM buffer for alloc
id 2, ret=-1
kernel: iwlwifi 0000:00:14.3: WRT: Failed to set DRAM buffer for alloc
id 3, ret=-1

[Fix]

v5.18-rc1 upstream commit c76c83097587 ("iwlwifi: dbg-tlv: clean up
iwl_dbg_tlv_update_drams()" skips unnecessary dumps and therefore avoid
this kernel warning.

Commit ab23da483bd7 is to allocation debug fragments correctly.

[Test Case]

Reboot with prebuilt kernel and it shall no longer warns about it.

[Where problems could occur]

The original patch was meant to avoid allocating a struct iwl_dram_info
on the stack by reusing an existing debug-only fragment, there is no
impact for ordinary driver use.

[Other Info]

While this affects only v5.17 and above, and the fixes are in v5.18-rc1,
it follows oem-5.17 is the only victim here.

========== original bug report ==========

kernel: iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
kernel: iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-69.ucode failed with error -2
kernel: iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
kernel: iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.36
kernel: iwlwifi 0000:00:14.3: loaded firmware version 68.01d30b0c.0 so-a0-gf-a0-68.ucode op_mode iwlmvm
kernel: iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz, REV=0x370
kernel: iwlwifi 0000:00:14.3: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
kernel: iwlwifi 0000:00:14.3: WRT: Failed to set DRAM buffer for alloc id 2, ret=-1
kernel: iwlwifi 0000:00:14.3: WRT: Failed to set DRAM buffer for alloc id 3, ret=-1
kernel: iwlwifi 0000:00:14.3: loaded PNVM version 05a8dfca
kernel: iwlwifi 0000:00:14.3: Detected RF GF, rfid=0x2010d000
kernel: iwlwifi 0000:00:14.3: base HW address: 44:e5:17:0a:ca:a3
kernel: iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
NetworkManager[696]: <info> [1655707791.6929] rfkill3: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:14.3/ieee80211/phy0/rfkill3) (driver iwlwifi)
kernel: iwlwifi 0000:00:14.3: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
kernel: iwlwifi 0000:00:14.3: WRT: Failed to set DRAM buffer for alloc id 2, ret=-1
kernel: iwlwifi 0000:00:14.3: WRT: Failed to set DRAM buffer for alloc id 3, ret=-1
kernel: iwlwifi 0000:00:14.3: Got NSS = 4 - trimming to 2
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: u 1834 F.... pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-06-20 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
MachineType: Dell Inc. Precision 14 5470
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.17.0-3012-oem root=UUID=14d395bf-b38f-46c5-9afa-c8f307b808d5 ro i915.enable_psr2_sel_fetch=0 ibt=off quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.17.0-3012.13+exp.25+lp1979182.1-oem 5.17.9
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.17.0-3012-oem N/A
 linux-backports-modules-5.17.0-3012-oem N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.2
Tags: jammy
Uname: Linux 5.17.0-3012-oem x86_64
UnreportableReason: This report is about a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: False
dmi.bios.date: 05/13/2022
dmi.bios.release: 1.3
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.3.0
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.3.0:bd05/13/2022:br1.3:svnDellInc.:pnPrecision145470:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:sku0B29:
dmi.product.family: Precision
dmi.product.name: Precision 14 5470
dmi.product.sku: 0B29
dmi.sys.vendor: Dell Inc.

You-Sheng Yang (vicamo)
summary: - Intel iwlwifi AX211: WRT: Failed to DRAM buffer for alloc id 1, ret=-1
+ Intel iwlwifi AX211: WRT: Failed to set DRAM buffer for alloc id 1,
+ ret=-1
Revision history for this message
You-Sheng Yang (vicamo) wrote :

The fix is commit c76c83097587 ("iwlwifi: dbg-tlv: clean up iwl_dbg_tlv_update_drams()") from v5.18-rc1.

tags: added: apport-collected jammy
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote : AlsaInfo.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : CurrentDmesg.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : IwConfig.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lspci.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lspci-vt.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb-t.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb-v.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : PaInfo.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcEnviron.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcInterrupts.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcModules.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : RfKill.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : UdevDb.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : WifiSyslog.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : acpidump.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote :

For oem-5.14 and generic-5.15, hwe-5.15, Intel AX211 takes the linux-modules-iwlwifi-<ABI> package to fix a stability issue as bug 1962515.

And since the fix is in v5.18-rc1, this issue shall affect only oem-5.17.

Revision history for this message
You-Sheng Yang (vicamo) wrote :
description: updated
Changed in linux-oem-5.17 (Ubuntu):
status: New → Invalid
Changed in linux-oem-5.17 (Ubuntu Jammy):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.17 (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-5.17/5.17.0-1013.14 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (91.4 KiB)

This bug was fixed in the package linux-oem-5.17 - 5.17.0-1013.14

---------------
linux-oem-5.17 (5.17.0-1013.14) jammy; urgency=medium

  * jammy/linux-oem-5.17: 5.17.0-1013.14 -proposed tracker (LP: #1979417)

  * Fix AMDGPU probe failure (LP: #1980374)
    - drm/amdgpu: enable amdgpu_dc module parameter

  * Enable WiFi hotspot feature for MediaTek MT7921 (LP: #1979173)
    - mt76: mt7921: Add AP mode support
    - SAUCE: mt76: mt7921: not support beacon offload disable command
    - SAUCE: mt76: mt7921: fix command timeout in AP stop period

  * Suppress harmless warning from hp-wmi (LP: #1980307)
    - platform/x86: hp-wmi: Ignore Sanitization Mode event

  * CVE-2022-1679
    - SAUCE: ath9k: fix use-after-free in ath9k_hif_usb_rx_cb

  * Fix WD22TB4 suspend and resume, two external monitor can not output
    (LP: #1979267)
    - drm/dp/mst: Read the extended DPCD capabilities during system resume

  * Intel iwlwifi AX211: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
    (LP: #1979182)
    - iwlwifi: yoyo: fix DBGC allocation flow
    - iwlwifi: dbg-tlv: clean up iwl_dbg_tlv_update_drams()

  * CVE-2022-21123 // CVE-2022-21125 // CVE-2022-21166
    - Documentation: Add documentation for Processor MMIO Stale Data
    - x86/speculation/mmio: Enumerate Processor MMIO Stale Data bug
    - x86/speculation: Add a common function for MD_CLEAR mitigation update
    - x86/speculation/mmio: Add mitigation for Processor MMIO Stale Data
    - x86/bugs: Group MDS, TAA & Processor MMIO Stale Data mitigations
    - x86/speculation/mmio: Enable CPU Fill buffer clearing on idle
    - x86/speculation/mmio: Add sysfs reporting for Processor MMIO Stale Data
    - x86/speculation/srbds: Update SRBDS mitigation selection
    - x86/speculation/mmio: Reuse SRBDS mitigation for SBDS
    - KVM: x86/speculation: Disable Fill buffer clear within guests
    - x86/speculation/mmio: Print SMT warning

  * Add support for Raptor Lake (LP: #1978794)
    - x86/cpu: Add new Alderlake and Raptorlake CPU model numbers
    - powercap: intel_rapl: add support for RaptorLake
    - perf/x86: Add new Alder Lake and Raptor Lake support
    - perf/x86/msr: Add new Alder Lake and Raptor Lake support
    - perf/x86/cstate: Add new Alder Lake and Raptor Lake support
    - perf/x86/uncore: Clean up uncore_pci_ids[]
    - perf/x86/uncore: Add new Alder Lake and Raptor Lake support
    - i2c: i801: Add support for Intel Raptor Lake PCH-S
    - spi: pxa2xx: Add support for Intel Raptor Lake PCH-S
    - pinctrl: alderlake: Add Raptor Lake-S ACPI ID
    - mfd: intel-lpss: Add Intel Raptor Lake PCH-S PCI IDs
    - HID: intel-ish-hid: ipc: add ADL and RPL device id
    - spi: intel: Add support for Raptor Lake-S SPI serial flash

  * Miscellaneous Ubuntu changes
    - [Config] Adjust annotation
    - [Config] Update config after rebase

  [ Ubuntu: 5.17.0-8.8~22.04.6 ]

  * jammy/linux-hwe-5.17: 5.17.0-8.8~22.04.6 -proposed tracker (LP: #1980479)
  * Jammy update: v5.17.15 upstream stable release (LP: #1980389)
    - pcmcia: db1xxx_ss: restrict to MIPS_DB1XXX boards
    - staging: greybus: codecs: fix type confusion of list iterator variable
    - iio: adc: ad7124: Remove shift fro...

Changed in linux-oem-5.17 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
You-Sheng Yang (vicamo) wrote :

verified linux-oem-5.17 version 5.17.0-1013.14 from jammy-proposed.

tags: added: verification-done-jammy
removed: verification-needed-jammy
Changed in linux (Ubuntu Kinetic):
status: New → Fix Released
Changed in linux (Ubuntu):
status: New → Fix Released
Changed in linux-oem-5.17 (Ubuntu Kinetic):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.