From nobody Wed Jun 12 14:28:46 2024 X-Original-To: freebsd-arch@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VznwP0KMsz5MKWs for ; Wed, 12 Jun 2024 14:28:53 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VznwN5sqrz4DM7; Wed, 12 Jun 2024 14:28:52 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718202532; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LSqWkjJuWbchQqC+09gt/WqnIjxjkUm95YSOfQFZDRg=; b=cCCd62NPmF8yUpJswbXoQAhedno9Sook+t7W5OMHJty/vmXVRj884DEpdfVEForwCQR5km 86aup7NFooNEPtwKK4a7D1lEl6FERwfdN8ZPb0lxtbwNQnG7HxJwBIUqqYJCSTyuLDMVv7 cebVRKVPxqfqfVrzbJKhvpQOVHgAeoL47RR5NzH/8OYDrWXnJ9pY7PYNtPcxUSEeWM6XH0 CRWSkgqE68e0phmmzJaeNaL+ANKlMZL0FDO9zkZTEz5DBWIHcsbmx3oqsrpZ5WSe7Z78BW YYqI0pLp0yVITFLRYPG3XEd4zmv+yvOxX+tVgm/+kBDr89S7qm/aHyCRWn0kDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718202532; a=rsa-sha256; cv=none; b=NG0UQRzWFQdPjlDbE+iJwJV4p0/rSpMkuuyUqI4hvWJIjL6zFB6BmibDlD7zrxxboLl8gi i/Y11ad3r0Z2T+BZFWwL3j+WZtsyQIT7s1Fl/wAWYEDYS2/TPnOdC+PUsDmxQ2d+/lxjcx v+BxPmez/3s4w2IkZWOTc8tYOkq52AyLfgsal5WcG1jhJkuglYaUGqKyQhlS5+83q3fBdV JzDLcHdgGoKSlebVUSnFUGRz7GfpAdSDugBbku8ZDGK3l5XqAfRPJz3VHlqcRJxauGWp5j /XJ9UtXrkNrhSSzGEU+MBN3HLwQRZHGItBmMsQwv3avhxBjvDgWCJI0GBAHj3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718202532; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LSqWkjJuWbchQqC+09gt/WqnIjxjkUm95YSOfQFZDRg=; b=qG2i/pXfOUv78v2Ry9JYPqw3Q5bX6preevl7MmaqZW7f3cfbED6IqACJ7xGL1SpWLFW6ff btCB+4YlhNX5itWhGKYG6mXvPFBfMZr8vYiWP5XI6GiMZxPQHjRNcztIRmJKVDY1RnVfjr rITT/iutBVv+PwRc5CM/1N47RF3eaHObo6cxoaaUAmTwgYRmQNVOUKWHzWX5yHBHQZPncn xaCQU8u01trx7aHapRF/OKcxMQRlG2SzQxL+7iy536vfP3/XOSZDryqWiKNvIkEd80cK9s 78mfaG4KredBuMTkE68fiWFOZX2OkNleHqkQC2+QhRw9jV55rI+yyO60EKBjhQ== Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VznwN4jWGz18y4; Wed, 12 Jun 2024 14:28:52 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id D53AC8D4A126; Wed, 12 Jun 2024 14:28:49 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id A146A2D029D8; Wed, 12 Jun 2024 14:28:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id LbHTGhUh-nz6; Wed, 12 Jun 2024 14:28:47 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id AB6F12D029D2; Wed, 12 Jun 2024 14:28:47 +0000 (UTC) Date: Wed, 12 Jun 2024 14:28:46 +0000 (UTC) From: "Bjoern A. Zeeb" To: Roger Marquis cc: freebsd-arch@freebsd.org Subject: Re: Kernel device for iwlwifi in 13.3? In-Reply-To: <09q5s28q-np09-73r0-9352-9p6333r830o9@mx.roble.com> Message-ID: References: <09q5s28q-np09-73r0-9352-9p6333r830o9@mx.roble.com> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed On Sun, 9 Jun 2024, Roger Marquis wrote: > WITHOUT_WIRELESS=yes in /etc/src.conf didn't prevent the creation of > iwlwifi .ko files (on 13.3-RELEASE). Interestingly though, other > WITHOUT_ settings did prevent the creation of their respective modules. > Why the different behavior and can these modules can be simply deleted? Because I missed that we have a kernel side knob as well? Though please read on... I'll look into it if it is indeed so but on a quick glance in man src.conf you would want WITHOUT_WIRELESS_SUPPORT. man src.conf WITHOUT_WIRELESS Do not build programs used for 802.11 wireless networks; especially wpa_supplicant(8) and hostapd(8). When set, these options are also in effect: WITHOUT_WIRELESS_SUPPORT (unless WITH_WIRELESS_SUPPORT is set explicitly) WITHOUT_WIRELESS_SUPPORT Build libraries, programs, and kernel modules without 802.11 wireless support. But neither of the WIRELESS[_SUPPORT] knobs seem to be applied anywahere in sys/modules at this point, so iwlwifi is no special but all kernel wifi modules would be built. % grep -r WIRELESS sys/modules/ % > Also wondering why there is no iwl* in /usr/src/sys/amd64/conf/* and > what, if anything, Because it is a non-essential driver to boot and so we only build it as a module which is a continuation of that people once started in order to get GENERIC size down. The module will be loaded at run-time automatically (in a default setup) if such a card is found in the system and the driver will then automatically load its firmware (which will hopefully eventually also not be in base anymore). /bz -- Bjoern A. Zeeb r15:7