Bug 217963 - 6.5.5 hardware access timeout / HW error / GPF in iwlwifi
Summary: 6.5.5 hardware access timeout / HW error / GPF in iwlwifi
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless-intel (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: Default virtual assignee for network-wireless-intel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-02 06:32 UTC by Pawel
Modified: 2023-10-25 07:18 UTC (History)
2 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
6.5.5-hw-error (536.34 KB, text/plain)
2023-10-02 06:36 UTC, Pawel
Details
6.5.5-gpf (174.97 KB, text/plain)
2023-10-02 06:37 UTC, Pawel
Details
6.4.15-ok (505.74 KB, text/plain)
2023-10-02 06:37 UTC, Pawel
Details

Description Pawel 2023-10-02 06:32:45 UTC
Hardware: Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x370
Works just fine with 6.4.15 (and older)
Using FC37, updated to the latest available kernel 6.5.5, can't use WiFi or even boot.
Linux firmware package: linux-firmware-20230919-1 (latest available version for F37)

First boot:
Timeout waiting for hardware access (CSR_GP_CNTRL 0xffffffff)
at __iwl_trans_pcie_grab_nic_access+0x14a/0x150
followed by HW error, resetting before reading at
iwl_fwrt_dump_lmac_error_log+0x50c/0x600 
The interface didn't ever plumb.

Second boot: GPF. I don't have the traces, but I swear it originated from iwlwifi module from what I saw on the console.

I've attached the traces for both the failed boots, and the normal boot from 6.4.15 for reference.
Comment 1 Pawel 2023-10-02 06:36:41 UTC
Created attachment 305176 [details]
6.5.5-hw-error
Comment 2 Pawel 2023-10-02 06:37:10 UTC
Created attachment 305177 [details]
6.5.5-gpf
Comment 3 Pawel 2023-10-02 06:37:46 UTC
Created attachment 305178 [details]
6.4.15-ok
Comment 4 Bagas Sanjaya 2023-10-05 10:58:56 UTC
(In reply to Pawel from comment #0)
> Hardware: Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x370
> Works just fine with 6.4.15 (and older)
> Using FC37, updated to the latest available kernel 6.5.5, can't use WiFi or
> even boot.
> Linux firmware package: linux-firmware-20230919-1 (latest available version
> for F37)
> 
> First boot:
> Timeout waiting for hardware access (CSR_GP_CNTRL 0xffffffff)
> at __iwl_trans_pcie_grab_nic_access+0x14a/0x150
> followed by HW error, resetting before reading at
> iwl_fwrt_dump_lmac_error_log+0x50c/0x600 
> The interface didn't ever plumb.
> 
> Second boot: GPF. I don't have the traces, but I swear it originated from
> iwlwifi module from what I saw on the console.
> 
> I've attached the traces for both the failed boots, and the normal boot from
> 6.4.15 for reference.

Then please do bisection to find the culprit (see Documentation/admin-guide/bug-bisect.rst for reference).
Comment 5 Gregory Greenman 2023-10-08 08:53:46 UTC
Hi

Could you please test it with our backport driver?
It will help to understand if some code is missing upstream.
 
https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
Comment 6 Bagas Sanjaya 2023-10-25 00:42:34 UTC
(In reply to Gregory Greenman from comment #5)
> Hi
> 
> Could you please test it with our backport driver?
> It will help to understand if some code is missing upstream.
>  
> https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git

Pawel, have you done above testing?
Comment 7 Pawel 2023-10-25 01:14:30 UTC
@b(In reply to Bagas Sanjaya from comment #6)
> (In reply to Gregory Greenman from comment #5)
> > Hi
> > 
> > Could you please test it with our backport driver?
> > It will help to understand if some code is missing upstream.
> >  
> >
> https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
> 
> Pawel, have you done above testing?

I'm sorry, I don't have the capacity to.
I've upgraded to FC38, things work fine out of the box.

Linux firmware: 20230919
Kernel: 6.5.7
loaded firmware version 81.31fc9ae6.0 so-a0-hr-b0-81.ucode

Note You need to log in before you can comment on or make changes to this bug.