Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp841008rwb; Wed, 7 Dec 2022 05:46:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf713M3oKEtXmF2+HQLEn37OLFF7sXyJcpxtzt4K+6KF8WCpJ3k+Wvc4MfybClCZF4OaS3pX X-Received: by 2002:a05:6402:5290:b0:461:af68:9bcd with SMTP id en16-20020a056402529000b00461af689bcdmr66451356edb.67.1670420788629; Wed, 07 Dec 2022 05:46:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670420788; cv=none; d=google.com; s=arc-20160816; b=myi/umoa+F1JxVuI+HF6n5KMPT2qkFVSYXpBrOcOGNLSaVgiN/wrlFbxDt0vqmA0Pf YUpHShADYwM6wlKIH9KNDzVlDBpyTZV23YhfiZTYnvRd44ScjBJcGExi35O7/4nPEsR5 x4SbPfAknaelf5DT6Cvj9/2p3OfS0Q0mln0Vq4KRuKvrW6ueY/vmgdRz/Fvag14fgzXW Y/QYmEC00zha6kkUHdzavYonUkPNcUfALooGVOsvwjOIvYyARsAtgd0F36TYpdbDCgr3 x6cAhevajlKMEZXTVAXFeBylG4tiLvktRImEL+nVT8uGbzWAhFevs8TLH1hz9yW172d8 EAmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=4QpLVxpIjv+F+B3MIUwKm9nYuBqKSa458uWgd1Q+V4A=; b=xjocPS7PO/LA8vAN90+7Viu1x084VwxfeaoME03Mo9s6Qv552gOEcGtagAXuPFFKQe dbnaYNVf4XE4mgj7U4g0cUAvDrRv5/L/DLq2pWEhHDMLW/QJdyeCZzcwI3yXamllYFsX AKbQqUDAYetluP9I8O5ZkNxvdEU9DmpwIVqgDApqjVxuHO08qO0ExYejIyDo3xdWI2sy HbARzhGERm3HByGq6ZLHPt3TrF0fSWQ31lbi32+1y9ERw7GP6DHZTPwT8zILCUxLlMtr SYTcQ6eoo4HpuvDAyVPQjv5okhah5os/y0f85dqEiTyFr59iRncplwTlPg2iM9WZMLjK a4aA== ARC-Authentication-Results: i=1; mx.google.com; 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 g14-20020a1709065d0e00b007a4feae7ae7si19209957ejt.575.2022.12.07.05.46.08; Wed, 07 Dec 2022 05:46:28 -0800 (PST) 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; 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 S229576AbiLGNkb (ORCPT + 66 others); Wed, 7 Dec 2022 08:40:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbiLGNka (ORCPT ); Wed, 7 Dec 2022 08:40:30 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 301E329834 for ; Wed, 7 Dec 2022 05:40:29 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id 00D1167373; Wed, 7 Dec 2022 14:40:25 +0100 (CET) Date: Wed, 7 Dec 2022 14:40:25 +0100 From: Christoph Hellwig To: Kalle Valo Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, debian-kernel@lists.debian.org, debian-boot@lists.debian.org Subject: Re: failed to insert STA entry for the AP (error -2) Message-ID: <20221207134025.GA21691@lst.de> References: <20221130122807.GA31720@lst.de> <87o7so4nr2.fsf@kernel.org> <20221130125236.GA865@lst.de> <87k03c4mdb.fsf@kernel.org> <20221130133016.GC3055@lst.de> <87sfhx3ap6.fsf@kernel.org> <20221203155227.GA13254@lst.de> <87cz8v2xb2.fsf@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87cz8v2xb2.fsf@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham 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 Hi all, adding the debian-kernel list due to issues with using debian-installer daily snapshot to install on my brand new laptop with an ath11k_pci supported wifi chip. It turns out that while d-i comes with the ath11k and ath11k_pci drivers, but misses the qrtr, qrtr-mki and michael_mic modules that are needed for the driver to actually work and not just load. On Wed, Dec 07, 2022 at 02:49:37PM +0200, Kalle Valo wrote: > Thanks. But this makes me wonder is it sensible to randomly install a > set of .ko files and drop the rest, like Debian's installer apparently > does? The dependency for drivers is pretty well documented in Kconfig > files, thanks to build testers testing with random configurations, but > if the installer omits all that there will be problems just like you are > experiencing. So for me MODULE_SOFTDEP() feels just like a band aid and > not a robust solution. I think a driver that a driver that has a runtime depedency on a certain module, but doesn't import symbols is always going to be somewhat problematic. But I also agree that the arbitrary splitting of kernel modules into separate packages for the installer, or in fact not packaging them at all for the installer is rather problematic. I'm not sure what the rationale is behind that, but I've added the debian-kernel and debian-boot lists. > Though I am happy to take your MODULE_SOFTDEP() patch, just wondering if > there is a better way to solve this. For example net/mac80211 (the > 802.11 stack) has a lot of crypto dependencies: > > select CRYPTO > select CRYPTO_LIB_ARC4 > select CRYPTO_AES > select CRYPTO_CCM > select CRYPTO_GCM > select CRYPTO_CMAC > select CRC32 > > And it's not using MODULE_SOFTDEP() at all. Yes. I'm not quite sure how the packages for d-i select which modules to include where, but given that other wifi hardware seems to work in the installer they must have figured this out somehow.