Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE7C2C61DA4 for ; Wed, 15 Mar 2023 08:33:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229769AbjCOIdp (ORCPT ); Wed, 15 Mar 2023 04:33:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231504AbjCOIdn (ORCPT ); Wed, 15 Mar 2023 04:33:43 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B392311E1 for ; Wed, 15 Mar 2023 01:33:39 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id h8so28514287ede.8 for ; Wed, 15 Mar 2023 01:33:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1678869218; h=mime-version:subject:user-agent:references:in-reply-to:message-id :date:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=HgVW49H7L1SP7q+YahOO2WtVHU80WlRkmDam7qKhu8I=; b=Tc7mEzu66k30B8Sq1W2FyHn2mNKBMmoJRy5kdfSmz7YvU0LlqbhoYId7mxK7fb08Ec t0VWRwQQR+pAjRnoVt/5k74pIn2eDAYcI1dJnq6mpEh8MClSW1PW+T7FHoreBt0K+K15 GbJEHrGu8bSy1vh7N+yk6AwNq6EM7HSzONyyw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678869218; h=mime-version:subject:user-agent:references:in-reply-to:message-id :date:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HgVW49H7L1SP7q+YahOO2WtVHU80WlRkmDam7qKhu8I=; b=Ylvuu/YleM/QpbYaUBdCBo6Gw+qBQbM8FS4VGAoA5BToaEIxz0n85o0l3xGK8Xl4c+ kVdkWpuaVVedjHvysAMcJ+s+Wv/3TUvOyh5CAWeWd6QoGHQ621HTCmcQovu8RvKsOlm3 Xezc86Wf1G9cYa5RszA+0O7EEqNXdCAI4U9lEwqrtiaymm2sksyk1zik5eNBpzny8uuM o8KNGtSXiX/aDkfW6NB+NUpLglOlbOWmOqrigSEuaLtRsQfykT043zZI4XVtX9CjNe/X yKUJNqHAnAoqpyxh+mANcQOxsqD9Uvv+SrU+MDMvIM44NkCBVdrwW7YsoR8Z18M7uoxY 2QDQ== X-Gm-Message-State: AO0yUKXkA1a8d6ip2hFPpDZCyjTLaD0Nujv3neCl3DOZHb9EctmTOtYo kG6m3LeAMx6oDAekiqPBZSRvxQ== X-Google-Smtp-Source: AK7set8vgVL4XEP5WRczvUEO6lB/wb0c8EwNVZP6htuWmuwqcqUUCk1XDqUzUPTLb388eA5Wl1vPGA== X-Received: by 2002:a17:906:4fd0:b0:8dd:5710:a017 with SMTP id i16-20020a1709064fd000b008dd5710a017mr6897241ejw.4.1678869217875; Wed, 15 Mar 2023 01:33:37 -0700 (PDT) Received: from [10.194.183.67] ([109.37.149.36]) by smtp.gmail.com with ESMTPSA id z9-20020a170906074900b008eaf99be56esm2194636ejb.170.2023.03.15.01.33.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Mar 2023 01:33:37 -0700 (PDT) From: Arend Van Spriel To: Michael Stapelberg CC: Kalle Valo , Franky Lin , "Pieter-Paul Giesberts" , Hante Meuleman , Date: Wed, 15 Mar 2023 09:33:36 +0100 Message-ID: <186e4673718.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> In-Reply-To: References: <186e23b5668.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> <186e26dc0a8.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> User-Agent: AquaMail/1.43.0 (build: 104300275) Subject: Re: wifi breakage due to commit "wifi: brcmfmac: add support for vendor-specific firmware api" MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000005f55b705f6ec3369" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --0000000000005f55b705f6ec3369 Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 8bit On March 15, 2023 8:58:43 AM Michael Stapelberg wrote: > Hey Arend > > Thanks for taking a look. > > The brcmfmac-wcc module is present on my installation, but I’m not > currently loading it. > (I only load brcmutil, then brcmfmac.) > > But, even if I load it, the wlan0 interface still doesn’t show up. > > In the modules.dep, I see that brcmfmac-wcc should be loaded after > brcmutil and brcmfmac. > Is that accurate? Yes. Actually brcmfmac loads brcmfmac-wcc by itself. > My installation is somewhat unusual in that I use a custom userland > (see https://gokrazy.org/). Bit tricky choice of name :-p I will check it out. Regards, Arend > > Thanks > Best regards > Michael > > > On Wed, 15 Mar 2023 at 00:21, Arend Van Spriel > wrote: >> >> On March 14, 2023 11:49:05 PM Michael Stapelberg >> wrote: >> >>> Of course, find it attached. Thanks. >> >> Strange. Could it be there is some build config needed to install the >> additional kernel modules (brcmfmac-wcc.ko, etc.) on RPi image? >> >> Regards, >> Arend >> >>> >>> On Tue, 14 Mar 2023 at 23:26, Arend Van Spriel >>> wrote: >>>> >>>> On March 14, 2023 8:39:05 PM Michael Stapelberg >>>> wrote: >>>> >>>>> Hey Arend >>>>> >>>>> I recently bisected a user-reported WiFi breakage on the Raspberry Pi >>>>> 3B+ to your commit >>>>> https://github.com/torvalds/linux/commit/d6a5c562214f26e442c8ec3ff1e28e16675d1bcf >>>>> https://lore.kernel.org/r/20221129135446.151065-4-arend.vanspriel@broadcom.com >>>>> >>>>> On our end, the issue was reported here: >>>>> https://github.com/gokrazy/wifi/issues/3 >>>>> >>>>> As of Linux 6.2.6, this seems to still be unfixed, so I wanted to >>>>> check in and see if you could take a look please? >>>> >>>> I have a suspicion, but can you provide the kernel .config file so I can >>>> see if I am on the right track. >>>> >>>>> + brcmfmac: brcmf_fwvid_request_module: mod=wcc: failed -2 >>>>> + ieee80211 phy0: brcmf_attach: brcmf_fwvid_attach failed >>>>> + brcmfmac: brcmf_sdio_firmware_callback: brcmf_attach failed >>>> >>>> Regards, >>>> Arend --0000000000005f55b705f6ec3369 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQdwYJKoZIhvcNAQcCoIIQaDCCEGQCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg3OMIIFDTCCA/WgAwIBAgIQeEqpED+lv77edQixNJMdADANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yODA5MTYwMDAwMDBaMFsxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTEwLwYDVQQDEyhHbG9iYWxTaWduIEdDQyBS MyBQZXJzb25hbFNpZ24gMiBDQSAyMDIwMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA vbCmXCcsbZ/a0fRIQMBxp4gJnnyeneFYpEtNydrZZ+GeKSMdHiDgXD1UnRSIudKo+moQ6YlCOu4t rVWO/EiXfYnK7zeop26ry1RpKtogB7/O115zultAz64ydQYLe+a1e/czkALg3sgTcOOcFZTXk38e aqsXsipoX1vsNurqPtnC27TWsA7pk4uKXscFjkeUE8JZu9BDKaswZygxBOPBQBwrA5+20Wxlk6k1 e6EKaaNaNZUy30q3ArEf30ZDpXyfCtiXnupjSK8WU2cK4qsEtj09JS4+mhi0CTCr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