2023-11-30 02:03:44

by Len Brown

[permalink] [raw]
Subject: iwlwifi: WRT: Invalid buffer destination

Automated suspend/resume testing is grumpy about iwlwifi, because
iwlwifi dmesg's with the words "Invalid" and "Failed", which our
heuristics highlight as issues a human should review.

If this is normal, can you delete the messages? If this is a failure,
can we fix it?

thanks,
-Len

[20168.810433] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[20168.967756] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[20168.967806] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[20168.967857] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[20168.967919] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[20168.969387] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
[20169.074918] iwlwifi 0000:00:14.3: Failed to create debugfs
directory under netdev:wlp0s20f3
[20169.076354] iwlwifi 0000:00:14.3: Failed to create debugfs
directory under netdev:p2p-dev-wlp0s20

ps.

lenb@lenb-Dell-XPS-13-9315:~/src/linux$ grep IWLWIFI .config
CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLWIFI_OPMODE_MODULAR=y
# CONFIG_IWLWIFI_DEBUG is not set
CONFIG_IWLWIFI_DEBUGFS=y
CONFIG_IWLWIFI_DEVICE_TRACING=y


2023-11-30 11:07:48

by Benjamin Berg

[permalink] [raw]
Subject: Re: iwlwifi: WRT: Invalid buffer destination

On Wed, 2023-11-29 at 21:03 -0500, Len Brown wrote:
> Automated suspend/resume testing is grumpy about iwlwifi, because
> iwlwifi dmesg's with the words "Invalid" and "Failed", which our
> heuristics highlight as issues a human should review.
>
> If this is normal, can you delete the messages?  If this is a
> failure, can we fix it?

I had been looking a bit at either removing messages with level
KERN_ERR or or fixing the underlying issue. With the plan to get clean
runs with regard to kernel log level at least. I didn't look for
specific keywords like "invalid" or "failed" though.

I believe The debugfs one is an actual bug (harmless though) for which
a patch should be posted soon.

I don't remember seeing the "WRT: Invalid buffer destination" message.
Will need to take a closer look, but quite likely it should just be
hidden unless the IWL_DL_FW debug flag is set (i.e. use IWL_DEBUG_FW).

Benjamin

>
> thanks,
> -Len
>
> [20168.810433] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
> [20168.967756] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
> [20168.967806] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
> [20168.967857] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
> [20168.967919] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
> [20168.969387] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
> [20169.074918] iwlwifi 0000:00:14.3: Failed to create debugfs
> directory under netdev:wlp0s20f3
> [20169.076354] iwlwifi 0000:00:14.3: Failed to create debugfs
> directory under netdev:p2p-dev-wlp0s20


>
> ps.
>
> lenb@lenb-Dell-XPS-13-9315:~/src/linux$ grep IWLWIFI .config
> CONFIG_IWLWIFI=m
> CONFIG_IWLWIFI_LEDS=y
> CONFIG_IWLWIFI_OPMODE_MODULAR=y
> # CONFIG_IWLWIFI_DEBUG is not set
> CONFIG_IWLWIFI_DEBUGFS=y
> CONFIG_IWLWIFI_DEVICE_TRACING=y
>
>