Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4655776iob; Sun, 8 May 2022 20:49:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyY3TrplpPUdWB7IErhZkxgEBCAl3Yp87oXr/wLHFyk9aGhhZ8fJYeBhr4Is5WYE0RRFmtj X-Received: by 2002:a63:2324:0:b0:3c6:a80e:50a9 with SMTP id j36-20020a632324000000b003c6a80e50a9mr4353662pgj.169.1652068168298; Sun, 08 May 2022 20:49:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652068168; cv=none; d=google.com; s=arc-20160816; b=BBNiwUm6ZzU3GYhbPQg4ThFvggOoexuLsrKAvPDKXtxLGw+AU+qbbNBRAmRlZKTHsP KlBi4DcyNx0DXzFjWqP0/pqfPKt5S/VI/PxARLG5RYCXsTqbCYPFI8ehEJmsdrCxNkoT mF7sAIkoQStny4SFu8eVgoy8Me1ULmdk3toS2b6Dfpi/l6hs58VtdencT9DUfdbG6kWj idn+RbCrtXrRgRaC4YHh1lHZj54xqAyco/frwUmX/kIMky6wUWcdlxlilmK0+fel3/b0 AR/ectUJZJJR8GMDrm9ectE8WNfp+fkrg7J1X1x7Kp4/2ql5eOKddw0jHY3yrGOicb7J FQHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=nJOPPb18Oo0+/K8yxoE5qod8LtCarDUSMpTNksvDWi4=; b=ML7jHzN0nQwURBcRr9Gw+rvC2oARBBhXQUgtCiDA2jSIA+4MMXbbstyDAuenqglv2/ l3xgt/x3hZA27TpN9GlqTOPUUheZ9L7X2+nK50eplotYi/btEjV4nyD4j/BO3Lji4pPd HKK5PFa+RanUEwuAznO9yh6NEJVuSp8gGmwJuk7Ssyc1FXHbOYZ9VFQ3chqMicRJg9D5 Zr5504IobG0bkAPVPORinkhpsdY133XYpt5pRiys5VzUa3VKrCZKcY5mzFb1LLRMnQK8 qH5Z1d7ftzfe5GkJBmOREmDPGqHVygqexo2RULIb9Kiizwqq4W0t/M17hnrTL+ClBbvK 0poQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GVV1i2BD; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bk16-20020a17090b081000b001cd5b0dcab5si18634687pjb.12.2022.05.08.20.49.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 20:49:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GVV1i2BD; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B4944E6CD5; Sun, 8 May 2022 20:47:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349299AbiEGOl6 (ORCPT + 69 others); Sat, 7 May 2022 10:41:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237457AbiEGOl4 (ORCPT ); Sat, 7 May 2022 10:41:56 -0400 Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AED67BC8; Sat, 7 May 2022 07:38:09 -0700 (PDT) Received: by mail-oi1-x231.google.com with SMTP id e189so10615966oia.8; Sat, 07 May 2022 07:38:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nJOPPb18Oo0+/K8yxoE5qod8LtCarDUSMpTNksvDWi4=; b=GVV1i2BDnyYYHDVrrTnPogQxFlVZ9SsU5k0irmRzJYyV9F+pJr9Vf2QfJib/h0rqD1 hqd8mkYqj1CuqHbmTeuDqcGbW+7p2f7tPKvLEHFMmaahz7UndB78VgyC8tb1HCT1Vh5H qR7mcqcxtfWiiLv7rC6wNzgzWx8Mn8oA/HLs66h4RISTdErs2Lv/1bOYAPbXn485Zq4K t+bipdYo041zCBNNhZarjT3sYpKGgRtHFnesTcz8/Ak1reKr7Tah5KxyYI51kH5gVCmv eh2/6rRud9GVjxtubgqW7Ya4zsh7DTRI0ujv39JzSBsmqW2h/eGF56VAY+zAag1Q44kL qlIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nJOPPb18Oo0+/K8yxoE5qod8LtCarDUSMpTNksvDWi4=; b=lDcVNKWKOefrW1KFTAV3X85pbF+YCu9Eyo73Gx1O14aR/w6VTaHdc7Pzncix/U9cE5 /UbtHQ24JMCkPnilZiW5KgOXAOKykL1RdB0sbL29+qxRQrxRJucxYK77+YpH8nyfNW6a lNEbTi6PIGaqRL8Rt+OoLz2RSBFDjwaBOd/XALof2b7VCDq7QslHzkqTFWh5NiKEEWEW 30NQFmtQnR4EAoqmPV//KWP2NA5/SQV4AQ+Yg1p0i0zKelGOq/cGrY+T2Q8OIVnCsUpF VCeKZnphlBvO1+rq+3ZLoJmpZRWltwBoXAAqFLKWCwYDSzWv5zye62zaRm22Ap7voTom g43g== X-Gm-Message-State: AOAM530U1K9jTSwKeZRXN8oqQERf4RgXdaqQFm6GRp8bdr9n8mzDM9hh 70UduK+h+fSwg3KgDI/c9REXlt2DrglqTo7eWC4= X-Received: by 2002:a05:6808:11c3:b0:2f9:62e0:ebe with SMTP id p3-20020a05680811c300b002f962e00ebemr3805925oiv.22.1651934289041; Sat, 07 May 2022 07:38:09 -0700 (PDT) MIME-Version: 1.0 References: <20220505082256.72c9ee43@hermes.local> In-Reply-To: <20220505082256.72c9ee43@hermes.local> From: Gonsolo Date: Sat, 7 May 2022 16:37:58 +0200 Message-ID: Subject: Re: Suspend/resume error with AWUS036ACM To: Stephen Hemminger Cc: Felix Fietkau , Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Dear Stephen, > Contact Ubuntu. The rule for upstream is if you load out of tree drivers > than that kernel is unsupported. I compiled a stock 5.17.5 kernel from git.kernel.org, installed without kernel headers (forcing dkms to not build proprietary drivers) and get the following errors *at boot time* (not suspend/resume): +0,000386] wlx00c0cab022a0: associate with 8c:6a:8d:9e:2a:88 (try 1/3) [ +0,001118] ================================================================================ [ +0,000005] UBSAN: invalid-load in net/mac80211/status.c:1164:21 [ +0,000004] load of value 255 is not a valid value for type '_Bool' [ +0,000003] CPU: 10 PID: 380 Comm: kworker/u256:5 Not tainted 5.17.5 #3 [ +0,000004] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X399 Phantom Gaming 6, BIOS P1.31 01/14/2021 [ +0,000003] Workqueue: mt76 mt76u_tx_status_data [mt76_usb] [ +0,000009] Call Trace: [ +0,000002] [ +0,000003] dump_stack_lvl+0x4c/0x63 [ +0,000009] dump_stack+0x10/0x12 [ +0,000004] ubsan_epilogue+0x9/0x45 [ +0,000003] __ubsan_handle_load_invalid_value.cold+0x44/0x49 [ +0,000004] ieee80211_tx_status_ext.cold+0x1e/0xb8 [mac80211] [ +0,000058] ? __radix_tree_delete+0x91/0x100 [ +0,000006] mt76_tx_status_unlock+0x119/0x170 [mt76] [ +0,000011] mt76x02_send_tx_status+0x1af/0x420 [mt76x02_lib] [ +0,000009] mt76x02_tx_status_data+0x47/0x70 [mt76x02_lib] [ +0,000007] mt76u_tx_status_data+0x67/0xc0 [mt76_usb] [ +0,000005] process_one_work+0x21f/0x3f0 [ +0,000005] worker_thread+0x50/0x3d0 [ +0,000004] ? rescuer_thread+0x390/0x390 [ +0,000003] kthread+0xee/0x120 [ +0,000003] ? kthread_complete_and_exit+0x20/0x20 [ +0,000004] ret_from_fork+0x22/0x30 [ +0,000005] [ +0,000001] ================================================================================ [ +0,003098] wlx00c0cab022a0: RX AssocResp from 8c:6a:8d:9e:2a:88 (capab=0x1411 status=0 aid=16) I sent the first email because I suspected that the above (locking?) problem was totally unrelated to the GPU driver. I hope that this is more helpful. -- g