Hello,
Moving on to the next miniPCIe device and driver, during testing this
card had an issue with a combo 2,4GHz WPA2,3 SSID.
On Ubuntu boot I get:
[ 58.746843] iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree:
[ 58.746856] iwl4965: Copyright(c) 2003-2011 Intel Corporation
[ 58.747013] iwl4965 0000:02:00.0: can't disable ASPM; OS doesn't
have ASPM control
[ 58.747278] iwl4965 0000:02:00.0: Detected Intel(R) Wireless WiFi
Link 4965AGN, REV=0x4
[ 58.789586] iwl4965 0000:02:00.0: device EEPROM VER=0x36, CALIB=0x5
[ 58.789655] iwl4965 0000:02:00.0: Tunable channels: 13 802.11bg, 19
802.11a channels
[ 69.134094] iwl4965 0000:02:00.0: loaded firmware version 228.61.2.24
[ 69.134564] ieee80211 phy0: Selected rate control algorithm 'iwl-4965-rs'
[ 69.159649] iwl4965 0000:02:00.0 wlp2s0: renamed from wlan0
[ 699.019058] iwl4965 0000:02:00.0: Enabling power save might cause
firmware crashes
This is what happened upon connecting to the WPA2,3 2,4GHz SSID:
[ 700.609023] ================================================================================
[ 700.609064] UBSAN: shift-out-of-bounds in
/build/linux-JDy9aa/linux-5.19.0/drivers/net/wireless/intel/iwlegacy/4965-rs.c:671:18
[ 700.609078] shift exponent -1 is negative
[ 700.609088] CPU: 5 PID: 0 Comm: swapper/5 Tainted: P O
5.19.0-21-generic #21-Ubuntu
[ 700.609099] Hardware name: Gigabyte Technology Co., Ltd.
GA-880GMA-USB3/GA-880GMA-USB3, BIOS F4e 05/24/2012
[ 700.609105] Call Trace:
[ 700.609111] <IRQ>
[ 700.609120] show_stack+0x4e/0x61
[ 700.609139] dump_stack_lvl+0x4a/0x6d
[ 700.609153] dump_stack+0x10/0x18
[ 700.609163] ubsan_epilogue+0x9/0x43
[ 700.609174] __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[ 700.609189] ? __smp_call_single_queue+0x61/0xa0
[ 700.609203] il4965_rs_get_adjacent_rate.constprop.0.cold+0x17/0x9c [iwl4965]
[ 700.609235] il4965_rs_get_best_rate.isra.0+0xc3/0x150 [iwl4965]
[ 700.609261] il4965_rs_switch_to_siso.isra.0+0xad/0x110 [iwl4965]
[ 700.609284] il4965_rs_move_legacy_other.isra.0+0x10b/0x480 [iwl4965]
[ 700.609308] il4965_rs_rate_scale_perform+0xa7b/0xc90 [iwl4965]
[ 700.609332] il4965_rs_tx_status+0x3f3/0x670 [iwl4965]
[ 700.609369] rate_control_tx_status+0xcf/0xe0 [mac80211]
[ 700.609578] ieee80211_tx_status_ext+0x305/0x6c0 [mac80211]
[ 700.609729] ieee80211_tx_status+0x77/0xb0 [mac80211]
[ 700.609879] ieee80211_tasklet_handler+0xac/0xd0 [mac80211]
[ 700.610026] tasklet_action_common.constprop.0+0xbc/0x100
[ 700.610041] tasklet_action+0x22/0x30
[ 700.610051] __do_softirq+0xdb/0x34f
[ 700.610060] ? handle_irq_event+0x52/0x80
[ 700.610074] __irq_exit_rcu+0x87/0xc0
[ 700.610084] irq_exit_rcu+0xe/0x20
[ 700.610094] common_interrupt+0xa4/0xb0
[ 700.610103] </IRQ>
[ 700.610106] <TASK>
[ 700.610110] asm_common_interrupt+0x27/0x40
[ 700.610122] RIP: 0010:native_safe_halt+0xb/0x10
[ 700.610135] Code: cc cc cc 4c 89 ee 48 c7 c7 e0 4f 85 97 e8 8d 8f
84 ff eb c4 cc cc cc cc cc cc cc cc cc cc cc eb 07 0f 00 2d b9 46 4e
00 fb f4 <c3> cc cc cc cc eb 07 0f 00 2d a9 46 4e 00 f4 c3 cc cc cc cc
cc 0f
[ 700.610143] RSP: 0018:ffffacec000cfdc0 EFLAGS: 00000246
[ 700.610153] RAX: 0000000000004000 RBX: ffff9c8041237c64 RCX: 0000000000000000
[ 700.610160] RDX: 0000000000000001 RSI: ffff9c8041237c00 RDI: 0000000000000001
[ 700.610165] RBP: ffffacec000cfdd0 R08: 0000000000000000 R09: 0000000000000000
[ 700.610170] R10: 0000000000000000 R11: 0000000000000000 R12: ffff9c8041237c64
[ 700.610175] R13: 0000000000000005 R14: ffffffff97ac5220 R15: ffff9c8360540000
[ 700.610186] ? acpi_idle_do_entry+0x79/0xc0
[ 700.610197] acpi_idle_enter+0xbb/0x180
[ 700.610209] cpuidle_enter_state+0x9a/0x650
[ 700.610223] cpuidle_enter+0x2e/0x50
[ 700.610234] call_cpuidle+0x23/0x50
[ 700.610245] cpuidle_idle_call+0x11b/0x190
[ 700.610253] do_idle+0x82/0x100
[ 700.610260] cpu_startup_entry+0x1d/0x20
[ 700.610267] start_secondary+0x122/0x160
[ 700.610279] secondary_startup_64_no_verify+0xe5/0xeb
[ 700.610294] </TASK>
[ 700.610328] ================================================================================
On Fri, Nov 25, 2022 at 09:44:17PM +0200, Ioannis Barkas wrote:
Hi
> /build/linux-JDy9aa/linux-5.19.0/drivers/net/wireless/intel/iwlegacy/4965-rs.c:671:18
> [ 700.609078] shift exponent -1 is negative
> [ 700.609088] CPU: 5 PID: 0 Comm: swapper/5 Tainted: P O
> 5.19.0-21-generic #21-Ubuntu
> [ 700.609099] Hardware name: Gigabyte Technology Co., Ltd.
> GA-880GMA-USB3/GA-880GMA-USB3, BIOS F4e 05/24/2012
> [ 700.609105] Call Trace:
> [ 700.609111] <IRQ>
> [ 700.609120] show_stack+0x4e/0x61
> [ 700.609139] dump_stack_lvl+0x4a/0x6d
> [ 700.609153] dump_stack+0x10/0x18
> [ 700.609163] ubsan_epilogue+0x9/0x43
> [ 700.609174] __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
> [ 700.609189] ? __smp_call_single_queue+0x61/0xa0
> [ 700.609203] il4965_rs_get_adjacent_rate.constprop.0.cold+0x17/0x9c [iwl4965]
Could you test if below patch make this UBSAN error gone and card is working properly ?
Regards
Stanislaw
diff --git a/drivers/net/wireless/intel/iwlegacy/4965-rs.c b/drivers/net/wireless/intel/iwlegacy/4965-rs.c
index 718efb1aa1b0..2baefb7c152c 100644
--- a/drivers/net/wireless/intel/iwlegacy/4965-rs.c
+++ b/drivers/net/wireless/intel/iwlegacy/4965-rs.c
@@ -667,7 +667,7 @@ il4965_rs_get_adjacent_rate(struct il_priv *il, u8 idx, u16 rate_mask,
u32 mask;
/* Find the previous rate that is in the rate mask */
- i = idx - 1;
+ i = max_t(int, idx - 1, 0);
for (mask = (1 << i); i >= 0; i--, mask >>= 1) {
if (rate_mask & mask) {
low = i;
Hello Stanislaw,
Thank you for looking into this!
I will try to test it today though I am facing some issues with my
custom 6.0 kernel at Debian 11 last days as it works on my 64bit
compiling PC but it freezes at my 64bit test PC having PCI as soon as
I log into it without leaving any traces while with 5.10 it works
smoothly. Made lots of changes to my custom kernel without finding the
root cause so I switched to MX Linux. I will stick to 6.0 and if it
continues to make problems I will use 5.10 at MX or 5.19 at Ubuntu. As
soon as I have a working kernel, I will reply back here with the
results.
Take care.
Hello Stanislaw,
I have figured everything out with MX Linux and created a new kernel
based on 6.0 that it works well on my test PC as well. Then I applied
your patch along with some debugging options. Unfortunately the
problem remains and it continues to be unable to connect at the
desired WPA2,3 based network.
Here is what I got:
[ 127.010836] wlan0: authenticate with c6:27:28:**:**:**
[ 127.045272] wlan0: Allocated STA c6:27:28:**:**:**
[ 127.045302] wlan0: HE not supported, disabling HE and EHT
[ 127.045307] wlan0: EHT not supported, disabling EHT
[ 127.045312] wlan0: 40 MHz not supported
[ 127.064987] wlan0: Inserted STA c6:27:28:**:**:**
[ 127.065001] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 127.100178] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 127.256076] wlan0: authenticate with c6:27:28:**:**:**
[ 127.269267] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 127.326218] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 127.359865] wlan0: authenticated
[ 127.359878] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 129.673505] wlan0: authenticate with c6:27:28:**:**:**
[ 129.701276] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 129.749290] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 129.907091] wlan0: authenticate with c6:27:28:**:**:**
[ 129.929278] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 129.991639] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 130.004849] wlan0: authenticated
[ 132.634674] wlan0: authenticate with c6:27:28:**:**:**
[ 132.665273] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 132.708248] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 132.867195] wlan0: authenticate with c6:27:28:**:**:**
[ 132.881305] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 132.946943] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 132.977713] wlan0: authenticated
[ 135.033232] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 135.033252] wlan0: Removed STA c6:27:28:**:**:**
[ 135.033405] wlan0: Destroyed STA c6:27:28:**:**:**
[ 135.091310] wlan0: authenticate with c6:27:28:**:**:**
[ 135.117296] wlan0: Allocated STA c6:27:28:**:**:**
[ 135.117313] wlan0: HE not supported, disabling HE and EHT
[ 135.117316] wlan0: EHT not supported, disabling EHT
[ 135.117319] wlan0: 40 MHz not supported
[ 135.117412] wlan0: Inserted STA c6:27:28:**:**:**
[ 135.117416] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 135.150662] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 135.320150] wlan0: authenticate with c6:27:28:**:**:**
[ 135.337246] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 135.363815] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 135.415642] wlan0: authenticated
[ 135.415648] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 140.457249] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 140.457269] wlan0: Removed STA c6:27:28:**:**:**
[ 140.457419] wlan0: Destroyed STA c6:27:28:**:**:**
[ 147.809410] wlan0: authenticate with c6:27:28:**:**:**
[ 147.825285] wlan0: Allocated STA c6:27:28:**:**:**
[ 147.825318] wlan0: HE not supported, disabling HE and EHT
[ 147.825323] wlan0: EHT not supported, disabling EHT
[ 147.825329] wlan0: 40 MHz not supported
[ 147.825479] wlan0: Inserted STA c6:27:28:**:**:**
[ 147.825487] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 147.867399] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 148.006392] wlan0: authenticate with c6:27:28:**:**:**
[ 148.033196] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 148.086859] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 148.141567] wlan0: authenticated
[ 148.141580] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 150.029249] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 150.029261] wlan0: Removed STA c6:27:28:**:**:**
[ 150.029333] wlan0: Destroyed STA c6:27:28:**:**:**
[ 155.174647] wlan0: authenticate with c6:27:28:**:**:**
[ 155.197269] wlan0: Allocated STA c6:27:28:**:**:**
[ 155.197313] wlan0: HE not supported, disabling HE and EHT
[ 155.197319] wlan0: EHT not supported, disabling EHT
[ 155.197326] wlan0: 40 MHz not supported
[ 155.197506] wlan0: Inserted STA c6:27:28:**:**:**
[ 155.197514] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 155.384578] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 155.543828] wlan0: authenticate with c6:27:28:**:**:**
[ 155.569253] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 155.644007] wlan0: authenticated
[ 155.644022] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 155.797297] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 155.797315] wlan0: Removed STA c6:27:28:**:**:**
[ 155.797454] wlan0: Destroyed STA c6:27:28:**:**:**
[ 167.764981] wlan0: authenticate with c6:27:28:**:**:**
[ 167.793277] wlan0: Allocated STA c6:27:28:**:**:**
[ 167.793306] wlan0: HE not supported, disabling HE and EHT
[ 167.793311] wlan0: EHT not supported, disabling EHT
[ 167.793317] wlan0: 40 MHz not supported
[ 167.793455] wlan0: Inserted STA c6:27:28:**:**:**
[ 167.793462] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 169.801320] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 170.018822] wlan0: send auth to c6:27:28:**:**:** (try 3/3)
[ 170.209315] wlan0: authenticate with c6:27:28:**:**:**
[ 170.241234] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 170.279403] wlan0: authenticated
[ 170.279422] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 170.429292] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 170.429312] wlan0: Removed STA c6:27:28:**:**:**
[ 170.429464] wlan0: Destroyed STA c6:27:28:**:**:**
[ 190.301561] wlan0: authenticate with c6:27:28:**:**:**
[ 190.329276] wlan0: Allocated STA c6:27:28:**:**:**
[ 190.329311] wlan0: HE not supported, disabling HE and EHT
[ 190.329316] wlan0: EHT not supported, disabling EHT
[ 190.329322] wlan0: 40 MHz not supported
[ 190.329468] wlan0: Inserted STA c6:27:28:**:**:**
[ 190.329476] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 190.483964] wlan0: authenticate with c6:27:28:**:**:**
[ 190.497227] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 190.591039] wlan0: authenticated
[ 190.591055] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 190.725244] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 190.725263] wlan0: Removed STA c6:27:28:**:**:**
[ 190.725405] wlan0: Destroyed STA c6:27:28:**:**:**
[ 202.785134] wlan0: authenticate with c6:27:28:**:**:**
[ 202.805254] wlan0: Allocated STA c6:27:28:**:**:**
[ 202.805287] wlan0: HE not supported, disabling HE and EHT
[ 202.805292] wlan0: EHT not supported, disabling EHT
[ 202.805298] wlan0: 40 MHz not supported
[ 202.805447] wlan0: Inserted STA c6:27:28:**:**:**
[ 202.805455] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 204.809255] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 205.045503] wlan0: send auth to c6:27:28:**:**:** (try 3/3)
[ 205.221541] wlan0: authenticate with c6:27:28:**:**:**
[ 205.237258] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 205.320738] wlan0: authenticated
[ 205.320753] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 205.509251] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 205.509268] wlan0: Removed STA c6:27:28:**:**:**
[ 205.509404] wlan0: Destroyed STA c6:27:28:**:**:**
iw
1669673436.833745: wlan0 (phy #0): scan started
1669673439.001886: wlan0 (phy #0): scan finished: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
""
1669673463.911045: wlan0 (phy #0): scan started
1669673466.037955: wlan0 (phy #0): scan finished: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
"AI-2+23" ""
1669673466.105512: wlan0: new station c6:27:28:**:**:**
1669673466.295875: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673466.400447: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673466.503503: wlan0 (phy #0): scan started
1669673468.701925: wlan0 (phy #0): scan finished: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
"AI-2+23" ""
1669673468.946255: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673469.045388: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673469.548926: wlan0 (phy #0): scan started
1669673471.669892: wlan0 (phy #0): scan finished: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
"AI-2+23" ""
1669673471.906366: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673472.018293: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673473.022236: wlan0 (phy #0): scan started
1669673474.073890: wlan0: del station c6:27:28:**:**:**
1669673474.125865: wlan0 (phy #0): scan aborted: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
"AI-2+23" ""
1669673474.157962: wlan0: new station c6:27:28:**:**:**
1669673474.359301: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673474.456212: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673479.464050: wlan0 (phy #0): scan started
1669673479.497881: wlan0: del station c6:27:28:**:**:**
1669673479.529843: wlan0 (phy #0): scan aborted: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
"AI-2+23" ""
1669673484.537935: wlan0 (phy #0): scan started
1669673486.837847: wlan0 (phy #0): scan finished: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
"AI-2+23" ""
1669673486.866010: wlan0: new station c6:27:28:**:**:**
1669673487.045456: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673487.182167: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673489.069827: wlan0: del station c6:27:28:**:**:**
1669673489.404480: wlan0 (phy #0): scan started
1669673491.537799: wlan0 (phy #0): scan finished: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
""
1669673491.896429: wlan0 (phy #0): scan started
1669673494.205876: wlan0 (phy #0): scan finished: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
"AI-2+23" ""
1669673494.238065: wlan0: new station c6:27:28:**:**:**
1669673494.582959: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673494.684606: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673494.837881: wlan0: del station c6:27:28:**:**:**
1669673504.692823: wlan0 (phy #0): scan started
1669673506.793871: wlan0 (phy #0): scan finished: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
"AI-2+23" ""
1669673506.834008: wlan0: new station c6:27:28:**:**:**
1669673509.248406: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673509.320015: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673509.469936: wlan0: del station c6:27:28:**:**:**
1669673517.385456: wlan0 (phy #0): scan started
1669673519.589930: wlan0 (phy #0): scan finished: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
""
1669673519.945687: wlan0 (phy #0): scan started
1669673522.057900: wlan0 (phy #0): scan finished: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
"AI-2+23" ""
1669673527.064392: wlan0 (phy #0): scan started
1669673529.329866: wlan0 (phy #0): scan finished: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
"AI-2+23" ""
1669673529.370023: wlan0: new station c6:27:28:**:**:**
1669673529.523041: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673529.631659: wlan0 (phy #0): auth c6:27:28:**:**:** ->
00:13:e8:38:80:8f status: 0: Successful
1669673529.765869: wlan0: del station c6:27:28:**:**:**
1669673539.645268: wlan0 (phy #0): scan started
1669673541.813879: wlan0 (phy #0): scan finished: 2412 2417 2422 2427
2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260
5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700,
"AI-2+23" ""
1669673541.845944: wlan0: new station c6:27:28:**:**:**
After authentication it changes states then it gets removed and
destroyed at zero time. The SSID in question is at 2,4GHz and I have
enabled SSIDs isolation.
Any ideas?
Hi Ioannis
On Tue, Nov 29, 2022 at 12:34:38AM +0200, Ioannis Barkas wrote:
> I have figured everything out with MX Linux and created a new kernel
> based on 6.0 that it works well on my test PC as well. Then I applied
> your patch along with some debugging options. Unfortunately the
> problem remains and it continues to be unable to connect at the
> desired WPA2,3 based network.
Regarding patch, it was for UBSAN error, but looking at your other emails,
the problem you have is more general. I think you should try swcrypto=1
module option.
Regards
Stanislaw
Hello Stanislaw,
Indeed that error was fixed but the device is still non functional and
I got two of them so it is not defective hardware.
I tested with:
rmmod iwl4965
modprobe iwl4965 swcrypto=1
and after a reboot I added:
options iwlwifi swcrypto=1
here:
/etc/modprobe.d/iwlwifi.conf
This time some new errors came to surface:
[ 1635.006819] iwl4965 0000:02:00.0: Error sending TX power (-5)
[ 1736.613307] iwl4965 0000:02:00.0: Can't stop Rx DMA.
In detail:
[ 1334.537673] wlan0: authenticate with c6:27:28:**:**:**
[ 1334.557315] wlan0: Allocated STA c6:27:28:**:**:**
[ 1334.557347] wlan0: HE not supported, disabling HE and EHT
[ 1334.557352] wlan0: EHT not supported, disabling EHT
[ 1334.557357] wlan0: 40 MHz not supported
[ 1334.557502] wlan0: Inserted STA c6:27:28:**:**:**
[ 1334.557509] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1334.700383] wlan0: authenticate with c6:27:28:**:**:**
[ 1334.713363] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1334.809397] wlan0: authenticated
[ 1334.809412] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 1334.905323] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 1334.905342] wlan0: Removed STA c6:27:28:**:**:**
[ 1334.905491] wlan0: Destroyed STA c6:27:28:**:**:**
[ 1346.945244] wlan0: authenticate with c6:27:28:**:**:**
[ 1346.973500] wlan0: Allocated STA c6:27:28:**:**:**
[ 1346.973544] wlan0: HE not supported, disabling HE and EHT
[ 1346.973549] wlan0: EHT not supported, disabling EHT
[ 1346.973558] wlan0: 40 MHz not supported
[ 1346.973778] wlan0: Inserted STA c6:27:28:**:**:**
[ 1346.973787] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1348.985488] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1349.140047] wlan0: send auth to c6:27:28:**:**:** (try 3/3)
[ 1349.281270] wlan0: authenticate with c6:27:28:**:**:**
[ 1349.293504] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1349.392493] wlan0: authenticated
[ 1349.392510] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 1349.465546] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 1349.465567] wlan0: Removed STA c6:27:28:**:**:**
[ 1349.465659] wlan0: Destroyed STA c6:27:28:**:**:**
[ 1362.286207] wlan0: authenticate with c6:27:28:**:**:**
[ 1362.305641] wlan0: Allocated STA c6:27:28:**:**:**
[ 1362.305671] wlan0: HE not supported, disabling HE and EHT
[ 1362.305676] wlan0: EHT not supported, disabling EHT
[ 1362.305682] wlan0: 40 MHz not supported
[ 1362.305826] wlan0: Inserted STA c6:27:28:**:**:**
[ 1362.305833] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1364.310367] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1364.458140] wlan0: send auth to c6:27:28:**:**:** (try 3/3)
[ 1364.600945] wlan0: authenticate with c6:27:28:**:**:**
[ 1364.613682] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1364.706960] wlan0: authenticated
[ 1364.706973] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 1364.769623] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 1364.769641] wlan0: Removed STA c6:27:28:**:**:**
[ 1364.769787] wlan0: Destroyed STA c6:27:28:**:**:**
[ 1376.829234] wlan0: authenticate with c6:27:28:**:**:**
[ 1376.841759] wlan0: Allocated STA c6:27:28:**:**:**
[ 1376.841789] wlan0: HE not supported, disabling HE and EHT
[ 1376.841791] wlan0: EHT not supported, disabling EHT
[ 1376.841796] wlan0: 40 MHz not supported
[ 1376.841924] wlan0: Inserted STA c6:27:28:**:**:**
[ 1376.841928] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1378.015830] wlan0: aborting authentication with c6:27:28:**:**:**
by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1378.029754] wlan0: Removed STA c6:27:28:**:**:**
[ 1378.029922] wlan0: Destroyed STA c6:27:28:**:**:**
[ 1390.358913] wlan0: authenticate with c6:27:28:**:**:**
[ 1390.373953] wlan0: Allocated STA c6:27:28:**:**:**
[ 1390.373984] wlan0: HE not supported, disabling HE and EHT
[ 1390.373992] wlan0: EHT not supported, disabling EHT
[ 1390.373998] wlan0: 40 MHz not supported
[ 1390.374128] wlan0: Inserted STA c6:27:28:**:**:**
[ 1390.374136] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1390.522330] wlan0: authenticate with c6:27:28:**:**:**
[ 1390.549913] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1390.621516] wlan0: authenticated
[ 1390.621531] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 1390.725981] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 1390.725999] wlan0: Removed STA c6:27:28:**:**:**
[ 1390.726142] wlan0: Destroyed STA c6:27:28:**:**:**
[ 1402.731377] wlan0: authenticate with c6:27:28:**:**:**
[ 1402.754076] wlan0: Allocated STA c6:27:28:**:**:**
[ 1402.754107] wlan0: HE not supported, disabling HE and EHT
[ 1402.754111] wlan0: EHT not supported, disabling EHT
[ 1402.754117] wlan0: 40 MHz not supported
[ 1402.754243] wlan0: Inserted STA c6:27:28:**:**:**
[ 1402.754250] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1404.760795] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1404.897746] wlan0: send auth to c6:27:28:**:**:** (try 3/3)
[ 1405.047343] wlan0: authenticate with c6:27:28:**:**:**
[ 1405.062086] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1405.148172] wlan0: authenticated
[ 1405.148191] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 1405.286057] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 1405.286078] wlan0: Removed STA c6:27:28:**:**:**
[ 1405.286219] wlan0: Destroyed STA c6:27:28:**:**:**
[ 1634.944032] iwl4965 0000:02:00.0: vgaarb: pci_notify
[ 1635.006819] iwl4965 0000:02:00.0: Error sending TX power (-5)
[ 1635.078785] pci 0000:02:00.0: vgaarb: pci_notify
Module loaded here:
[ 1666.956980] iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree:d
[ 1666.956989] iwl4965: Copyright(c) 2003-2011 Intel Corporation
[ 1666.957030] iwl4965 0000:02:00.0: vgaarb: pci_notify
[ 1666.957039] iwl4965 0000:02:00.0: runtime IRQ mapping not provided by arch
[ 1666.957103] iwl4965 0000:02:00.0: can't disable ASPM; OS doesn't
have ASPM control
[ 1666.957223] iwl4965 0000:02:00.0: enabling bus mastering
[ 1666.957253] iwl4965 0000:02:00.0: Detected Intel(R) Wireless WiFi
Link 4965AGN, REV=0x4
[ 1666.999179] iwl4965 0000:02:00.0: device EEPROM VER=0x36, CALIB=0x5
[ 1666.999193] iwl4965 0000:02:00.0: Tunable channels: 13 802.11bg, 19
802.11a channels
[ 1666.999497] iwl4965 0000:02:00.0: vgaarb: pci_notify
[ 1666.999632] iwl4965 0000:02:00.0: loaded firmware version 228.61.2.24
[ 1666.999840] ieee80211 phy1: Selected rate control algorithm 'iwl-4965-rs'
[ 1684.544669] wlan0: authenticate with c6:27:28:**:**:**
[ 1684.584425] wlan0: Allocated STA c6:27:28:**:**:**
[ 1684.584459] wlan0: HE not supported, disabling HE and EHT
[ 1684.584463] wlan0: EHT not supported, disabling EHT
[ 1684.584470] wlan0: 40 MHz not supported
[ 1684.606124] wlan0: Inserted STA c6:27:28:**:**:**
[ 1684.606139] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1684.642375] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1684.789570] wlan0: authenticate with c6:27:28:**:**:**
[ 1684.812363] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1684.848190] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1684.893973] wlan0: authenticated
[ 1684.893988] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 1687.106441] wlan0: authenticate with c6:27:28:**:**:**
[ 1687.120408] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1687.159559] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1687.298837] wlan0: authenticate with c6:27:28:**:**:**
[ 1687.312388] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1687.347211] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1687.410445] wlan0: authenticated
[ 1690.178463] wlan0: authenticate with c6:27:28:**:**:**
[ 1690.200390] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1690.242843] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1690.378920] wlan0: authenticate with c6:27:28:**:**:**
[ 1690.404411] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1690.430707] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1690.491418] wlan0: authenticated
[ 1693.658542] wlan0: authenticate with c6:27:28:**:**:**
[ 1693.688393] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1693.729205] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1693.869910] wlan0: authenticate with c6:27:28:**:**:**
[ 1693.888382] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1693.922554] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1693.978397] wlan0: authenticated
[ 1699.012448] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 1699.012471] wlan0: Removed STA c6:27:28:**:**:**
[ 1699.012629] wlan0: Destroyed STA c6:27:28:**:**:**
[ 1700.063570] iwl4965 0000:02:00.0: Can't stop Rx DMA.
[ 1710.656930] wlan0: authenticate with c6:27:28:**:**:**
[ 1710.672404] wlan0: Allocated STA c6:27:28:**:**:**
[ 1710.672437] wlan0: HE not supported, disabling HE and EHT
[ 1710.672442] wlan0: EHT not supported, disabling EHT
[ 1710.672449] wlan0: 40 MHz not supported
[ 1710.672622] wlan0: Inserted STA c6:27:28:**:**:**
[ 1710.672630] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1710.819981] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1710.960209] wlan0: authenticate with c6:27:28:**:**:**
[ 1710.976349] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1711.076359] wlan0: authenticated
[ 1711.076376] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 1711.156395] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 1711.156414] wlan0: Removed STA c6:27:28:**:**:**
[ 1711.156557] wlan0: Destroyed STA c6:27:28:**:**:**
[ 1723.252501] wlan0: authenticate with c6:27:28:**:**:**
[ 1723.276416] wlan0: Allocated STA c6:27:28:**:**:**
[ 1723.276449] wlan0: HE not supported, disabling HE and EHT
[ 1723.276453] wlan0: EHT not supported, disabling EHT
[ 1723.276459] wlan0: 40 MHz not supported
[ 1723.276605] wlan0: Inserted STA c6:27:28:**:**:**
[ 1723.276612] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1725.280410] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1725.422479] wlan0: send auth to c6:27:28:**:**:** (try 3/3)
[ 1725.565379] wlan0: authenticate with c6:27:28:**:**:**
[ 1725.588412] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1725.666706] wlan0: authenticated
[ 1725.666722] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 1725.772388] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 1725.772406] wlan0: Removed STA c6:27:28:**:**:**
[ 1725.772554] wlan0: Destroyed STA c6:27:28:**:**:**
[ 1736.613307] iwl4965 0000:02:00.0: Can't stop Rx DMA.
[ 1746.290214] wlan0: authenticate with c6:27:28:**:**:**
[ 1746.328440] wlan0: Allocated STA c6:27:28:**:**:**
[ 1746.328475] wlan0: HE not supported, disabling HE and EHT
[ 1746.328480] wlan0: EHT not supported, disabling EHT
[ 1746.328486] wlan0: 40 MHz not supported
[ 1746.328627] wlan0: Inserted STA c6:27:28:**:**:**
[ 1746.328634] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1746.470935] wlan0: authenticate with c6:27:28:**:**:**
[ 1746.484363] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1746.572808] wlan0: authenticated
[ 1746.572822] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 1746.656400] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 1746.656417] wlan0: Removed STA c6:27:28:**:**:**
[ 1746.656558] wlan0: Destroyed STA c6:27:28:**:**:**
[ 1758.692182] wlan0: authenticate with c6:27:28:**:**:**
[ 1758.712464] wlan0: Allocated STA c6:27:28:**:**:**
[ 1758.712497] wlan0: HE not supported, disabling HE and EHT
[ 1758.712502] wlan0: EHT not supported, disabling EHT
[ 1758.712507] wlan0: 40 MHz not supported
[ 1758.712643] wlan0: Inserted STA c6:27:28:**:**:**
[ 1758.712651] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1760.736423] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1760.873119] wlan0: send auth to c6:27:28:**:**:** (try 3/3)
[ 1761.020778] wlan0: authenticate with c6:27:28:**:**:**
[ 1761.040373] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1761.127529] wlan0: authenticated
[ 1761.127545] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 1761.292330] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 1761.292348] wlan0: Removed STA c6:27:28:**:**:**
[ 1761.292486] wlan0: Destroyed STA c6:27:28:**:**:**
[ 1784.365757] iwl4965 0000:02:00.0: Can't stop Rx DMA.
[ 1804.667349] wlan0: authenticate with c6:27:28:**:**:**
[ 1804.692421] wlan0: Allocated STA c6:27:28:**:**:**
[ 1804.692453] wlan0: HE not supported, disabling HE and EHT
[ 1804.692458] wlan0: EHT not supported, disabling EHT
[ 1804.692464] wlan0: 40 MHz not supported
[ 1804.692612] wlan0: Inserted STA c6:27:28:**:**:**
[ 1804.692619] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1804.832489] wlan0: authenticate with c6:27:28:**:**:**
[ 1804.868340] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1804.936487] wlan0: authenticated
[ 1804.936502] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 1804.956395] wlan0: waiting for beacon from c6:27:28:**:**:**
[ 1805.024417] wlan0: associate with c6:27:28:**:**:** (try 1/3)
[ 1805.164426] wlan0: associate with c6:27:28:**:**:** (try 2/3)
[ 1805.345600] wlan0: associate with c6:27:28:**:**:** (try 3/3)
[ 1805.452423] wlan0: association with c6:27:28:**:**:** timed out
[ 1805.472401] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 1805.472418] wlan0: Removed STA c6:27:28:**:**:**
[ 1805.472566] wlan0: Destroyed STA c6:27:28:**:**:**
[ 1824.829685] wlan0: authenticate with c6:27:28:**:**:**
[ 1824.848377] wlan0: Allocated STA c6:27:28:**:**:**
[ 1824.848410] wlan0: HE not supported, disabling HE and EHT
[ 1824.848415] wlan0: EHT not supported, disabling EHT
[ 1824.848421] wlan0: 40 MHz not supported
[ 1824.848558] wlan0: Inserted STA c6:27:28:**:**:**
[ 1824.848566] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1825.001929] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1825.003969] wlan0: authenticated
[ 1825.003982] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 1825.032444] wlan0: waiting for beacon from c6:27:28:**:**:**
[ 1825.096377] wlan0: associate with c6:27:28:**:**:** (try 1/3)
[ 1825.238853] wlan0: associate with c6:27:28:**:**:** (try 2/3)
[ 1825.244131] wlan0: RX AssocResp from c6:27:28:**:**:**
(capab=0x1431 status=31 aid=16)
[ 1825.244150] wlan0: c6:27:28:**:**:** denied association (code=31)
[ 1825.260359] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 1825.260375] wlan0: Removed STA c6:27:28:**:**:**
[ 1825.260518] wlan0: Destroyed STA c6:27:28:**:**:**
[ 1825.289616] wlan0: authenticate with c6:27:28:**:**:**
[ 1825.324400] wlan0: Allocated STA c6:27:28:**:**:**
[ 1825.324430] wlan0: HE not supported, disabling HE and EHT
[ 1825.324435] wlan0: EHT not supported, disabling EHT
[ 1825.324441] wlan0: 40 MHz not supported
[ 1825.324586] wlan0: Inserted STA c6:27:28:**:**:**
[ 1825.324593] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1825.472799] wlan0: send auth to c6:27:28:**:**:** (try 2/3)
[ 1825.612963] wlan0: authenticate with c6:27:28:**:**:**
[ 1825.644358] wlan0: send auth to c6:27:28:**:**:** (try 1/3)
[ 1825.720211] wlan0: authenticated
[ 1825.720226] wlan0: moving STA c6:27:28:**:**:** to state 2
[ 1825.740367] wlan0: waiting for beacon from c6:27:28:**:**:**
[ 1825.812404] wlan0: associate with c6:27:28:**:**:** (try 1/3)
[ 1825.818262] wlan0: RX AssocResp from c6:27:28:**:**:**
(capab=0x1431 status=31 aid=16)
[ 1825.818281] wlan0: c6:27:28:**:**:** denied association (code=31)
[ 1825.832426] wlan0: moving STA c6:27:28:**:**:** to state 1
[ 1825.832442] wlan0: Removed STA c6:27:28:**:**:**
[ 1825.832588] wlan0: Destroyed STA c6:27:28:**:**:**
All these are from 6.0 plus your patch and swcrypto=1. Iw showed the
same things so there is no reason to send it again.
Best regards