Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp818457pxv; Fri, 9 Jul 2021 09:42:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIDLMtdbhEXJ+sOTRJ1UVgbGuTs4UaXjUbBNBywYt5KRDAl6H7E7pKQtIURU18OBUl4UB7 X-Received: by 2002:aa7:d2ca:: with SMTP id k10mr2626451edr.379.1625848975399; Fri, 09 Jul 2021 09:42:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625848975; cv=none; d=google.com; s=arc-20160816; b=ONfZ5An9EorREgIOwDRjKVTY6/liwveIswMYarA/vlnL3LovbZYQw4dH31KW4+dkKH MwR7JGzA67FRZwUbImnz5pYo5yhaY97KBydvflkgPaJLjcLUn7nZdbM+mXAE/YizUUt9 SZ9UF7zbnaD1FhZV41N4rWwmMtm9DeouJtAZrqY6pJ4XiNIqj14CwOwNb6T2SWqOtdKm 331LerQH52PfJrOw28U+xFukXwvjRBEbVGRpSdwEYaRyhG2uofGA5vbYxVufmd+9wpZP kLnidgMvUld4fYJ1XTO41q9JeuVyaQipwaHbsLYozKPJLRBEF6Nud0hnEhTHin0N9p7I wuTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:to:subject:dkim-signature:dkim-filter; bh=9Hfl0g8wY3RawdQq0Hx3btBHz1va02OZvoJvYp2sHOM=; b=YCRCkYMim+qtDjc8OiXGY+s//R93C9bDokTOVLNaKEa1LSCeCDt2XtR51ZgJVEwgol C9B3fvlIEAFeAGzhUvWxzvd2CWixwkocY+84ztHcGyGvzqvRIyYTWVoCup2YTU6KIaJj 0kbHZ5/yLFR8RgFolTY4pS1p2ro/VqmX6NhfqjsAxcff+E2v/dK6ZX5wzpvHxva9OsWS g+bgxaMe4KDr3q+MlB/P9NbmrmgvKkn4qmcfxmesdUhG+hf/qYVdOQFuITi28UNjdiXU 5FKzj/AdskgJfLi4dPzVsIuvV9Pom4DgKBSOclxaxuzFK/o9iW+XyM+smHfY3GV3Z+We j1RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=ihVci9gt; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dq22si7378796ejc.51.2021.07.09.09.42.24; Fri, 09 Jul 2021 09:42:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=ihVci9gt; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229606AbhGIQnD (ORCPT + 99 others); Fri, 9 Jul 2021 12:43:03 -0400 Received: from dispatch1-us1.ppe-hosted.com ([148.163.129.49]:57210 "EHLO dispatch1-us1.ppe-hosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbhGIQnD (ORCPT ); Fri, 9 Jul 2021 12:43:03 -0400 X-Greylist: delayed 374 seconds by postgrey-1.27 at vger.kernel.org; Fri, 09 Jul 2021 12:43:03 EDT Received: from dispatch1-us1.ppe-hosted.com (localhost.localdomain [127.0.0.1]) by dispatch1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id 55A6B222EC4 for ; Fri, 9 Jul 2021 16:34:06 +0000 (UTC) X-Virus-Scanned: Proofpoint Essentials engine Received: from mx1-us1.ppe-hosted.com (unknown [10.7.65.203]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 167781A006B; Fri, 9 Jul 2021 16:34:05 +0000 (UTC) Received: from mail3.candelatech.com (mail2.candelatech.com [208.74.158.173]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id C5B29AC007E; Fri, 9 Jul 2021 16:34:02 +0000 (UTC) Received: from [192.168.100.195] (50-251-239-81-static.hfc.comcastbusiness.net [50.251.239.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id C141E13C2B1; Fri, 9 Jul 2021 09:34:01 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com C141E13C2B1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1625848441; bh=qS0h/xScgqIvXBaFqVwygpyIfq5IKbJ7mtjvYrRCsKw=; h=Subject:To:References:From:Date:In-Reply-To:From; b=ihVci9gtNU8XjDfqhL0IhakBD8g5hrCWJg4BYKq0Xic9WpVFFU/0ZcRq5E0YhTUKw 9S8onN3IQIV5aKsQdoCxJqWk/C21Qoj9GexmNE+UCKiW93RVVILIzxpyGkTVGozDlF dSbhVCKAQW7KhS6GPNEwz6lchIpp8QJSnkUfYJtE= Subject: Re: Kernel crash when scanning for APs in huge WiFi environment - Ath10K - ARMV7 - Linux 4.14.73 To: Vincent RUBY , "linux-wireless@vger.kernel.org" References: <1cef8054e4e447f2ba02d1de1e6afdf8@Cube-mail.cube.local> <2eb86fb560cc482fa63bf42fafb97922@Cube-mail.cube.local> From: Ben Greear Organization: Candela Technologies Message-ID: <2b3885f7-c48a-a3a8-92a9-780405527bf3@candelatech.com> Date: Fri, 9 Jul 2021 09:34:01 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <2eb86fb560cc482fa63bf42fafb97922@Cube-mail.cube.local> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-MDID: 1625848445-xXiUFcd9I-sK Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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 > Envoyé : vendredi 9 juillet 2021 17:59 > À : Vincent RUBY ; 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 > Candela Technologies Inc http://www.candelatech.com > -- Ben Greear Candela Technologies Inc http://www.candelatech.com