Skip to contentSkip to conversation

Kernel crash when scanning for APs in huge WiFi environment - Ath10K - ARMV7 - Linux 4.14.73

DISCUSSION Vincent RUBY 2 participants 4 messages Jul 9, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

I apologize in advance if I am writing at the wrong place.
We have developed a custom embedded board based on ARMV7. On the board there is a Telit WE866C3-P Wifi module (based on ath10k). Linux : 4.14.73 (YOCTO/poky)
Microcontroller : SAMA5D27

The board is working perfectly in a normal Wifi environment (e.g., at office).
But when the board is put in a huge Wifi environment (e.g., 350 APs with 2 antennas each with more than 600 visible BSSIDS) the Linux kernel crashes when attempting to connect to a Wifi network using wpa_supplicant. When the Wifi antenna is attenuated with some electromagnetic obstacle (e.g., hand or metallic shield), the board connects without any problem.

The problem is the same when running a scan from wpa_cli .

Do you have any idea where I can find some clue to resolve this issue?

Many thanks in advance !

VinceCube

#2 lore raw
Quoted 11 lines · Vincent RUBY

Hi,

I apologize in advance if I am writing at the wrong place.
We have developed a custom embedded board based on ARMV7. On the board there is a Telit WE866C3-P Wifi module (based on ath10k). Linux : 4.14.73 (YOCTO/poky)
Microcontroller : SAMA5D27

The board is working perfectly in a normal Wifi environment (e.g., at office).
But when the board is put in a huge Wifi environment (e.g., 350 APs with 2 antennas each with more than 600 visible BSSIDS) the Linux kernel crashes when attempting to connect to a Wifi network using wpa_supplicant. When the Wifi antenna is attenuated with some electromagnetic obstacle (e.g., hand or metallic shield), the board connects without any problem.

Quoted 8 lines

The problem is the same when running a scan from wpa_cli .

Do you have any idea where I can find some clue to resolve this issue?

Many thanks in advance !

VinceCube

Please show the details of the kernel crash. And either way, answer is probably to try more recent kernel and see if problem is already fixed.

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#3 lore raw

Thank you Ben for your quick reply.

Unfortunately, when the system crashes, there is no detail. No trace or log can be retrieved, even in dmesg. It is simply rebooting.

Trying a newer kernel is not easy since we are hardware driver dependent.

VinceCube

-----Message d'origine-----
De : Ben Greear <[email protected]>
Envoyé : vendredi 9 juillet 2021 17:59
À : Vincent RUBY <[email protected]>; [email protected]
Objet : Re: Kernel crash when scanning for APs in huge WiFi environment - Ath10K - ARMV7 - Linux 4.14.73

Quoted 11 lines · Vincent RUBY

Hi,

I apologize in advance if I am writing at the wrong place.
We have developed a custom embedded board based on ARMV7. On the board there is a Telit WE866C3-P Wifi module (based on ath10k). Linux : 4.14.73 (YOCTO/poky)
Microcontroller : SAMA5D27

The board is working perfectly in a normal Wifi environment (e.g., at office).
But when the board is put in a huge Wifi environment (e.g., 350 APs with 2 antennas each with more than 600 visible BSSIDS) the Linux kernel crashes when attempting to connect to a Wifi network using wpa_supplicant. When the Wifi antenna is attenuated with some electromagnetic obstacle (e.g., hand or metallic shield), the board connects without any problem.

Quoted 8 lines

The problem is the same when running a scan from wpa_cli .

Do you have any idea where I can find some clue to resolve this issue?

Many thanks in advance !

VinceCube

Please show the details of the kernel crash. And either way, answer is probably to try more recent kernel and see if problem is already fixed.

Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com

#4 lore raw
Quoted 6 lines · Vincent RUBY

Thank you Ben for your quick reply.

Unfortunately, when the system crashes, there is no detail. No trace or log can be retrieved, even in dmesg. It is simply rebooting.

Trying a newer kernel is not easy since we are hardware driver dependent.

Yep, is sucks to develop on ancient cruft.

You should be able to wire in a serial console somehow, that is first step to debugging such kernel crashes. But, assuming this is some hacked up SDK or other non-standard kernel, the fix will be between you and your vendor.

You could also put a similar chipset NIC into a PC and try same test on latest upstream kernel and normal OS like Ubunto or Fedora.
If it crashes there, that would likely be easier to debug and folks on the list might could help.

Thanks,
Ben

Quoted 39 lines

VinceCube

-----Message d'origine-----
De : Ben Greear <[email protected]>
Envoyé : vendredi 9 juillet 2021 17:59
À : Vincent RUBY <[email protected]>; [email protected]
Objet : Re: Kernel crash when scanning for APs in huge WiFi environment - Ath10K - ARMV7 - Linux 4.14.73

Quoted 11 lines · Vincent RUBY

Hi,

I apologize in advance if I am writing at the wrong place.
We have developed a custom embedded board based on ARMV7. On the board there is a Telit WE866C3-P Wifi module (based on ath10k). Linux : 4.14.73 (YOCTO/poky)
Microcontroller : SAMA5D27

The board is working perfectly in a normal Wifi environment (e.g., at office).
But when the board is put in a huge Wifi environment (e.g., 350 APs with 2 antennas each with more than 600 visible BSSIDS) the Linux kernel crashes when attempting to connect to a Wifi network using wpa_supplicant. When the Wifi antenna is attenuated with some electromagnetic obstacle (e.g., hand or metallic shield), the board connects without any problem.

Quoted 8 lines

The problem is the same when running a scan from wpa_cli .

Do you have any idea where I can find some clue to resolve this issue?

Many thanks in advance !

VinceCube

Please show the details of the kernel crash. And either way, answer is probably to try more recent kernel and see if problem is already fixed.

Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com