Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6401472rwl; Wed, 22 Mar 2023 10:06:10 -0700 (PDT) X-Google-Smtp-Source: AK7set9o7Rl9gAaK1el6TXeHXuJA+5/V1YG9SLPMncmOpeWcDJ6ag1/DMlVamu3y/1vH1utu6qYe X-Received: by 2002:aa7:d913:0:b0:4fc:3777:f633 with SMTP id a19-20020aa7d913000000b004fc3777f633mr7768533edr.0.1679504770540; Wed, 22 Mar 2023 10:06:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679504770; cv=none; d=google.com; s=arc-20160816; b=vSU6BymwjFULRv3kpqM2gnhaeDhsN9EmDlAfeMzIzv919hpdS2IKovVWUoYsGFp8nY sFezuI3upAEFoxTBXcscBdtIb+kqfwtJJg6/sziHYvYj2KxYzXhi+M4pfIhJXHbwGYdh ulzx6rY8zgqze/CK4UKkwxi5Xsz6JbYMioytgzg/suZ/3JbRzc9HIZkxkin/SBY0Z7qZ PVvIOIxEgKn9nCCWZUKYQE58TfASULt9Tjf0ioKJo7nFViKqti0mEaVsQSjsniJPcIF2 80T67zMhO1cg5gAABJ6AkkftAvTkzfDIwp0yOdAZAXvneS3pS57KBIzT9eJ4Uwz7FxV9 766Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:dkim-signature; bh=x/LJCDUUS8dZkIDhRYPerCJh3arSRw693tQiddUd1Gc=; b=y3YA+8hNxhigX4yMf08FSVbKFz25r6Nka6ZkdihOfJjqi3XfyS8sLPZ+OTyzLo4wce djIFW6bBRis7wUU6J3YoB0HMiBJ2j4nNBdabqrA8J4k0q9L4TT++E26g8+SlpHgc4A0z z09enHx6XGIHU1iSh2QcY6cwobbZ5Rw99sQlxJNn3fnp8/gHV/tIilXUFFt5iY64JMSo 6wHeOwojDTs73u5lOrZHz5Q4BXXliRqu4a5QwxACxCvWApfS2ShhO/JyKHt/kYFhgogr O7iY9X4nRr8uaySAamnAogJh6g0RyDj99W42wR5r0eL3hXtBaZktAmGvxgXKG05w2cSk b8tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lhOgE0WL; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f5-20020a056402160500b004a0db601db8si17214001edv.619.2023.03.22.10.05.28; Wed, 22 Mar 2023 10:06:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lhOgE0WL; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230025AbjCVQ51 (ORCPT + 60 others); Wed, 22 Mar 2023 12:57:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229809AbjCVQ50 (ORCPT ); Wed, 22 Mar 2023 12:57:26 -0400 Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CAF64C30; Wed, 22 Mar 2023 09:57:23 -0700 (PDT) Received: by mail-oi1-x234.google.com with SMTP id w133so14193718oib.1; Wed, 22 Mar 2023 09:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679504243; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=x/LJCDUUS8dZkIDhRYPerCJh3arSRw693tQiddUd1Gc=; b=lhOgE0WLpLCyeW2JRuHpeM0ES4VPFrguHRervL89zb2YhFiWtLu5LDmNN+owybtoY6 e+SkAx6T9str8YnN3WTFmLJpiHlejSiBGrVucbVnmQz1e5Y+hTWakGT2B5IWenBZKLld 3RcSTUNOhDUDeA4uhY8+abqCvCuLPe1qiKgCTS9MegLAegsEnECmUGVY/nIo2Mtez38r j3sKiFmvmYYPgUbqlXe7G0RsL6GS4Fb1wch6gYt8FbIFuQfaVo6CK04uz/jLG/odHXJv WnpGYBp/rcKyyzUxfHrBE+u5EfCULP5/pjhvlpQ7rNSEO07UD9slqdNVcBttimIQfmSf Z9hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679504243; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=x/LJCDUUS8dZkIDhRYPerCJh3arSRw693tQiddUd1Gc=; b=8PIFlRuo9cY+n8DAC6DHMa4i7hqp4R9ZubDZMeDmYmgY6d5itfGwp5BnmRfeaNMPS8 krhQZPEeJ/EdBMyB4XQOOetWLaVeURxAtHiIse6FSPdoXZa8Ut0sxHqUrs9Les8DOHi2 Abo36+0CI2sMWFaWInEOJWdW9HwrfHlU34BSwwPpWUwcWgfPoPQ6X3BZwC2NGM7tUif9 R/i/+ONvCsV2YL9FlVViA2UWO3H/8MxPD4dkkjJiU75CeRmAQrRtUGEksIL8PoEUceEa 0/rAgrAeIUFOP8Zgkgs3P/6ylonE8xfj5fn+4GT+zsm7lrdXpTTuNHcOWIxN/c32eMph hKXw== X-Gm-Message-State: AO0yUKUO+IFzBx62cFimhHM1LmaZwaPD9kbZblnfd/CAx9qNYRz8wT94 /iHLWZvUVL+mBivBGsmcpB0= X-Received: by 2002:a54:4105:0:b0:386:9bfc:d04f with SMTP id l5-20020a544105000000b003869bfcd04fmr1421847oic.45.1679504242916; Wed, 22 Mar 2023 09:57:22 -0700 (PDT) Received: from [192.168.0.162] ([216.130.59.33]) by smtp.gmail.com with ESMTPSA id o187-20020acaf0c4000000b0038476262f65sm6153526oih.33.2023.03.22.09.57.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Mar 2023 09:57:22 -0700 (PDT) Sender: Larry Finger Message-ID: <55057734-9913-8288-ad88-85c189cbe045@lwfinger.net> Date: Wed, 22 Mar 2023 11:57:21 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [BUG v6.2.7] Hitting BUG_ON() on rtw89 wireless driver startup To: Hyeonggon Yoo <42.hyeyoo@gmail.com>, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, Ping-Ke Shih References: Content-Language: en-US From: Larry Finger In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 On 3/22/23 10:54, Hyeonggon Yoo wrote: > > Hello folks, > I've just encountered weird bug when booting Linux v6.2.7 > > config: attached > dmesg: attached > > I'm not sure exactly how to trigger this issue yet because it's not > stably reproducible. (just have encountered randomly when logging in) > > At quick look it seems to be related to rtw89 wireless driver or network subsystem. Your bug is weird indeed, and it does come from rtw89_8852be. My distro has not yet released kernel 6.2.7, but I have not seen this problem with mainline kernels throughout the 6.2 or 6.3 development series. One thing that would have been helpful is to include any rtw89 entries in the dmesg log that appeared BEFORE the BUG. For instance, I have no idea what firmware level you are running, etc. If you are willing, I would like you to 'git clone https://github.com/lwfinger/rtw89.git'. You would likely need to install the packages needed to build an out-of-kernel driver as shown in README.md in the repo. You would also need to blacklist rtw89_8852be, which would interfere with rtw_8852be coming from the new repo. The code in the repo matches what will be in kernel 6.3+, and it would be instructive if there is something in your system that triggers this problem. I have never seen anything like this. Larry