Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2921279pxb; Mon, 19 Apr 2021 18:11:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxf8Hx6STUb6hca6BGAPa04MISrHlT164oHoO3T+0RpBRkDwHDJun150N1lIwGUicXsgh4 X-Received: by 2002:a05:6402:17a8:: with SMTP id j8mr19957609edy.43.1618881073625; Mon, 19 Apr 2021 18:11:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618881073; cv=none; d=google.com; s=arc-20160816; b=zYhiy9PZQyDhn6h7L8WtuKP9MErgtx77YHbaBYXW3TkiRhgtayoSX7Kw+fx8TZ01sb u1E1da4mSpHgXkb3HUfSaqic1LLgxcAa1eA/yAY0jS7jFImur2tqYAONTFfUs1Q17L7U /O3WXLxfZwtysjNibzRD0ZvPGS9hpgQM01qQOcq3UzOPEbzqtDovjq8uqmZzYbcE//Pv F7MErQ9O0rxIowKOjI/lnkiHzJWzLusmYx1ITklzN+uwSg4vmOzj6z8/7VjI4jPsVEJp ctS68Vz9PW/FQiCzhjxjHzwu4/YZbM3sZR318Tu7OQGVUhoXZ5HMC3tKmjTQbV8yH0gg D/NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:from :subject:to:message-id:date; bh=DjKVl3MYNuluIcNY/dmtb0U0v1U209I7huZJIcIpySA=; b=Dl7PSkNmIF6mc3M6bnopOCFg5RhJlbOB2z1UXaf1qTDkEiau0E2qjfvspbN0reqy6I 8NFbfCG5PwF8/wYDE2W5xJXTmisLNGXYx/yIqTJ8R1fCeG24SG1QN1myAWfRySFX8+4H xPUYVexca0X8Zu1U8u7Ph3bMP1cf3flmuqjz2IHyW0AHJ78YFZpeXBNpZibw8EmGmcgv gpQrKNchL7YGW8KwhZs2HXFto90u+AZX2KDqlMfrtoJAECs2cYM2TmYynwcAJR5CuRUw V6/cGdq6P2w13PjSqUbLdPUjPUCTZH3Y6GVejaEU4Zt7FbzpC02Olcvxl6Nv/IpOAu14 TZfg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j16si16565328edj.401.2021.04.19.18.10.36; Mon, 19 Apr 2021 18:11:13 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231378AbhDTBKz (ORCPT + 99 others); Mon, 19 Apr 2021 21:10:55 -0400 Received: from smtp6.ctinetworks.com ([205.166.61.199]:51184 "EHLO smtp6.ctinetworks.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229994AbhDTBKz (ORCPT ); Mon, 19 Apr 2021 21:10:55 -0400 X-Greylist: delayed 446 seconds by postgrey-1.27 at vger.kernel.org; Mon, 19 Apr 2021 21:10:55 EDT Received: from localhost (unknown [117.193.4.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: enometh@meer.net) by smtp6.ctinetworks.com (Postfix) with ESMTPSA id 40EDE842C1 for ; Mon, 19 Apr 2021 21:02:53 -0400 (EDT) Date: Tue, 20 Apr 2021 06:32:44 +0530 (IST) Message-Id: <20210420.063244.1157699536418751229.enometh@meer.net> To: linux-wireless@vger.kernel.org Subject: rtw88 strange killall behaviour with nm From: Madhu X-Mailer: Mew version 6.8 on Emacs 28.0 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ctinetworks-Information: Please contact the ISP for more information X-ctinetworks-MailScanner-ID: 40EDE842C1.AA35C X-ctinetworks-VirusCheck: Found to be clean X-ctinetworks-SpamCheck: X-ctinetworks-Watermark: 1619744577.36636@LRWVUdOypiz8Eo9+1lO3CA Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org I was using the rtw88 on (lspci: Realtek. RTL8822CE 802.11ac PCIe on a Lenovo Thinkbook) fairly normally on gentoo (kernel 5.10.30) with netifrc scripts. Recently I tried to move the scripts to networkmanager connection files. 1. With NM the WPA-PSK connection to my AP (dlink router - india) keeps dropping (citing a CLASS2_FRAME_FROM_NONAUTH_STA error) 2. With a specific connection file - if I activate the connection with nmcli conn activate the kernel apparently terminates all processes on the system except the NetworkManager process. (For added fun this crashes the drm video + keyboard if Xorg is running requiring a powercycle) How could this behaviour (all tasks being terminated) possibly happen? Is it b related specifically to the rtw88 module? Have you heard of anything like this before? [Other Issues I had were 3. occasional RIPs "purge skb(s) not reported by firmware" 4. RIPs when I try to run kismet which may be related to: 5. Usually I see only 2-3 APs from this card on linux. On a b43 driver older laptop I can usually see 10-15 APs at the same time. I suspect the kismet RIPS happen when processing these other APs ] In any case I'm intrigued by the (2) kernel repeatably killing off all my processes when nmcli fires up. This is a bit hard to debug as there is nothing helpful in dmesg afaict. (and syslog exits early) How is this even possible. (Offhand I can't spot where nm is calling killall)