Re: [BUG] iwlwifi: card unusable after firmware crash

From: Rui Salvaterra
Date: Tue Dec 08 2020 - 18:18:46 EST


Hi, Luca,

On Tue, 8 Dec 2020 at 16:27, Coelho, Luciano <luciano.coelho@xxxxxxxxx> wrote:
>
> On Tue, 2020-12-08 at 11:27 +0000, Rui Salvaterra wrote:
> >
> > [ 3174.003910] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
> > [ 3174.003913] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
>
> It looks like your machine is reporting RF-Kill to the WiFi device.

Yes, that's an artifact of how I tested: I rebooted the router, the
Wi-Fi interface disassociated and the dmesg was clean. However, after
the router came up, the laptop didn't reconnect (and the connection
had completely disappeared from nmtui). Afterwards, I did the rfkill
cycle you see, and only then I got the register dump.

> There seems to be some sort of race there that is causing us to still
> try to communicate with the device (and thus you see the transaction
> failed dump), but that will obviously fail when RF-Kill is enabled.

I'm not sure about that, the card was already dead before the rfkill cycle.

Thanks,
Rui