Bug 208285
Summary: | iwlwifi: 7265: BAD_COMMAND on CHANNEL_SWITCH_TIME_EVENT_CMD | ||
---|---|---|---|
Product: | Drivers | Reporter: | Max Gautier (mg) |
Component: | network-wireless-intel | Assignee: | DO NOT USE - assign "network-wireless-intel" component instead (linuxwifi) |
Status: | CLOSED CODE_FIX | ||
Severity: | high | CC: | linuxwifi, luca, mg |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 5.7.4-arch1-1 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
Kernel config file
full kernel log (on 5.7.4) full kernel log (on 5.7.2) bugfix |
Description
Max Gautier
2020-06-22 15:13:50 UTC
Created attachment 289817 [details]
full kernel log (on 5.7.4)
Problem is visible in the log after the "Microcode SW error" line. Grep for "blocked for more".
Created attachment 289819 [details]
full kernel log (on 5.7.2)
Idem
Created attachment 289847 [details]
bugfix
Can you please test this patch?
Thanks.
I'll do that and report next time I hit the bug. Or if I don't encounter it for some time. First observations : Without the patch I had : [ 4949.427785] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 6, ignoring [ 4949.734984] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 6, ignoring [ 4949.837423] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 6, ignoring [ 4949.939766] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 6, ignoring [ 4950.042180] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 6, ignoring [ 4950.144818] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 6, ignoring [ 4950.247028] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 6, ignoring [ 4950.349444] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 6, ignoring [ 4950.451871] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 6, ignoring [ 4950.554169] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 6, ignoring [ 4950.656542] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 6, ignoring [ 4950.759173] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 6, ignoring [ 4950.861461] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 6, ignoring [ 4950.951656] ol-mgautier kernel: iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000. With the patch I get : [ 2463.416871] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2463.479693] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2463.582114] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2463.684513] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2463.786857] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2463.889291] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2463.991695] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2464.094091] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2464.196514] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2464.298861] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2464.401293] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2464.503692] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2464.606061] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2464.708495] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2464.810896] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2464.913264] ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring [ 2464.926904] ol-mgautier kernel: wlp2s0: driver channel switch failed, disconnecting [ 2466.330146] ol-mgautier kernel: wlp2s0: authenticate with 60:35:c0:22:08:36 So the ECSA stuff seems to not trigger the bug anymore. Is that relevant (since you changed the driver channel switch makes me thinks so) ? Yes the CSA your AP sends seems bogus, so we decide to ignore it. No FW crash anymore? You reconnect afterwards? Yep, no firmware crash. And yes, I reconnect (I didn't notice it right away but I was working online and did not noticed any disruption afterwards; and my imap synchronizer logs do not show any signs of not working 1 minutes after that log item ; so I think it's safe to suppose the wifi was correctly up (the rest of the log - with the patch) Jun 23 18:02:58 ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring Jun 23 18:02:58 ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring Jun 23 18:02:58 ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring Jun 23 18:02:58 ol-mgautier kernel: wlp2s0: cannot understand ECSA IE operating class, 5, ignoring Jun 23 18:02:58 ol-mgautier kernel: wlp2s0: driver channel switch failed, disconnecting Jun 23 18:03:00 ol-mgautier kernel: wlp2s0: authenticate with 60:35:c0:22:08:36 Jun 23 18:03:00 ol-mgautier kernel: wlp2s0: send auth to 60:35:c0:22:08:36 (try 1/3) Jun 23 18:03:00 ol-mgautier kernel: wlp2s0: 60:35:c0:22:08:36 denied authentication (status 1) Jun 23 18:03:01 ol-mgautier kernel: wlp2s0: authenticate with 60:35:c0:22:08:36 Jun 23 18:03:01 ol-mgautier kernel: wlp2s0: send auth to 60:35:c0:22:08:36 (try 1/3) Jun 23 18:03:01 ol-mgautier kernel: wlp2s0: 60:35:c0:22:08:36 denied authentication (status 1) Jun 23 18:03:03 ol-mgautier kernel: wlp2s0: authenticate with 60:35:c0:22:08:35 Jun 23 18:03:03 ol-mgautier kernel: wlp2s0: send auth to 60:35:c0:22:08:35 (try 1/3) Jun 23 18:03:03 ol-mgautier kernel: wlp2s0: authenticated Jun 23 18:03:03 ol-mgautier kernel: wlp2s0: associate with 60:35:c0:22:08:35 (try 1/3) Jun 23 18:03:03 ol-mgautier kernel: wlp2s0: RX AssocResp from 60:35:c0:22:08:35 (capab=0x11 status=0 aid=2) Jun 23 18:03:03 ol-mgautier kernel: wlp2s0: associated Jun 23 18:03:03 ol-mgautier kernel: wlp2s0: Limiting TX power to 23 (23 - 0) dBm as advertised by 60:35:c0:22:08:35 Ok thanks. I'll let Luca drive the bug from here. Patch is pending review internally. |