linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Kernel crash when scanning for APs in huge WiFi environment - Ath10K - ARMV7 - Linux 4.14.73
       [not found] <1cef8054e4e447f2ba02d1de1e6afdf8@Cube-mail.cube.local>
@ 2021-07-09 15:48 ` Vincent RUBY
  2021-07-09 15:58   ` Ben Greear
  0 siblings, 1 reply; 4+ messages in thread
From: Vincent RUBY @ 2021-07-09 15:48 UTC (permalink / raw)
  To: linux-wireless

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Kernel crash when scanning for APs in huge WiFi environment - Ath10K - ARMV7 - Linux 4.14.73
  2021-07-09 15:48 ` Kernel crash when scanning for APs in huge WiFi environment - Ath10K - ARMV7 - Linux 4.14.73 Vincent RUBY
@ 2021-07-09 15:58   ` Ben Greear
  2021-07-09 16:15     ` Vincent RUBY
  0 siblings, 1 reply; 4+ messages in thread
From: Ben Greear @ 2021-07-09 15:58 UTC (permalink / raw)
  To: Vincent RUBY, linux-wireless

On 7/9/21 8:48 AM, Vincent RUBY wrote:
> 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
> 

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 <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Kernel crash when scanning for APs in huge WiFi environment - Ath10K - ARMV7 - Linux 4.14.73
  2021-07-09 15:58   ` Ben Greear
@ 2021-07-09 16:15     ` Vincent RUBY
  2021-07-09 16:34       ` Ben Greear
  0 siblings, 1 reply; 4+ messages in thread
From: Vincent RUBY @ 2021-07-09 16:15 UTC (permalink / raw)
  To: Ben Greear, linux-wireless

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 <greearb@candelatech.com> 
Envoyé : vendredi 9 juillet 2021 17:59
À : Vincent RUBY <vruby@cube-technologies.net>; linux-wireless@vger.kernel.org
Objet : Re: Kernel crash when scanning for APs in huge WiFi environment - Ath10K - ARMV7 - Linux 4.14.73

On 7/9/21 8:48 AM, Vincent RUBY wrote:
> 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
> 

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 <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Kernel crash when scanning for APs in huge WiFi environment - Ath10K - ARMV7 - Linux 4.14.73
  2021-07-09 16:15     ` Vincent RUBY
@ 2021-07-09 16:34       ` Ben Greear
  0 siblings, 0 replies; 4+ messages in thread
From: Ben Greear @ 2021-07-09 16:34 UTC (permalink / raw)
  To: Vincent RUBY, linux-wireless

On 7/9/21 9:15 AM, Vincent RUBY wrote:
> 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

> 
> VinceCube
> 
> -----Message d'origine-----
> De : Ben Greear <greearb@candelatech.com>
> Envoyé : vendredi 9 juillet 2021 17:59
> À : Vincent RUBY <vruby@cube-technologies.net>; linux-wireless@vger.kernel.org
> Objet : Re: Kernel crash when scanning for APs in huge WiFi environment - Ath10K - ARMV7 - Linux 4.14.73
> 
> On 7/9/21 8:48 AM, Vincent RUBY wrote:
>> 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
>>
> 
> 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 <greearb@candelatech.com>
> Candela Technologies Inc  http://www.candelatech.com
> 


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-09 16:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1cef8054e4e447f2ba02d1de1e6afdf8@Cube-mail.cube.local>
2021-07-09 15:48 ` Kernel crash when scanning for APs in huge WiFi environment - Ath10K - ARMV7 - Linux 4.14.73 Vincent RUBY
2021-07-09 15:58   ` Ben Greear
2021-07-09 16:15     ` Vincent RUBY
2021-07-09 16:34       ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).