From nobody Thu Mar 20 18:50:51 2025 X-Original-To: freebsd-pkg@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 4ZJZR55sKpz5rDpq for ; Thu, 20 Mar 2025 18:50:57 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx2.dismail.de (mx2.dismail.de [159.69.191.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZJZR45b5dz3fMr for ; Thu, 20 Mar 2025 18:50:56 +0000 (UTC) (envelope-from lumiwa@dismail.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dismail.de header.s=20190914 header.b="S/uYV0JS"; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (mx1.freebsd.org: domain of lumiwa@dismail.de designates 159.69.191.136 as permitted sender) smtp.mailfrom=lumiwa@dismail.de Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 358f55d6 for ; Thu, 20 Mar 2025 19:50:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date:from :to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20190914; bh=uIdfuARv TmOP/X5gD4C6RFXziA15Acprl5l6xfqihAE=; b=S/uYV0JSjIkenehzdBK8GtaC MF/lZvKV69m+1HQ9KkaD/nVyITm/xz/Ja8sDOiInGn29Lo06apeWJArIALg2Ib7F n5DtXmkPmDPw4TqNPStWyG1KTivFi5BkyH8gAe15sI2nQGvcsv7E58Rh/N2v1pMp jcdyhwKyTlipJUvbWYeNWf4qxWJVvhHwrNYqbpiCIVwsjeoOck8GEi/+cfWqFndp 8CU8duySRHGP/VbKW66VTccd/QaQIMYC2PtWOwG8Vxx/z8YlfXcbZ5zwG1wz/1w2 g3/qY2adtTRTKajMyzasRFIDfbZ9HIoPL5Z/kU99dSey23iyxOsdNWEXsIkUVg== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 5ea2e333 for ; Thu, 20 Mar 2025 19:50:54 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id c0822db3 for ; Thu, 20 Mar 2025 19:50:54 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id b70c5661 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 20 Mar 2025 19:50:53 +0100 (CET) Date: Thu, 20 Mar 2025 14:50:51 -0400 From: LuMiWa To: freebsd-pkg@freebsd.org Subject: Re: firmware modules Message-ID: <20250320145051.636a5589@dismail.de> In-Reply-To: <4432C294-6ADC-4403-8047-03D1D1A34957@yahoo.com> References: <4432C294-6ADC-4403-8047-03D1D1A34957.ref@yahoo.com> <4432C294-6ADC-4403-8047-03D1D1A34957@yahoo.com> X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.1) List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-4.80 / 15.00]; DWL_DNSWL_LOW(-1.00)[dismail.de:dkim]; NEURAL_HAM_LONG(-1.00)[-0.997]; NEURAL_HAM_MEDIUM(-0.98)[-0.984]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; R_DKIM_ALLOW(-0.20)[dismail.de:s=20190914]; RCVD_IN_DNSWL_MED(-0.20)[159.69.191.136:from]; R_SPF_ALLOW(-0.20)[+ip4:159.69.191.136]; NEURAL_HAM_SHORT(-0.11)[-0.115]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-pkg@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkg@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[dismail.de:+] X-Rspamd-Queue-Id: 4ZJZR45b5dz3fMr X-Spamd-Bar: ---- On Thu, 20 Mar 2025 11:40:58 -0700 Mark Millard wrote: > LuMiWa wrote on > Date: Thu, 20 Mar 2025 10:35:34 UTC : >=20 > > One question about kernel directories which are install firmware or > > modules. > > Packages from FreeBSD repositories installed firmware in > > /boot/modules but packages from repositories kmdos installed in > > /boot/firmware. I found this when I installed firmware for wifi > > (iwifi...). Why is double standard? I have firmware for wifi in > > both directories. >=20 > Looking in the two places in one of my contexts, I see: >=20 > # fwget > Needed firmware packages: 'wifi-firmware-rtw89-kmod-rtw8852b > gpu-firmware-amd-kmod-gc-10-3-6 gpu-firmware-amd-kmod-psp-13-0-5 > gpu-firmware-amd-kmod-dcn-3-1-5 gpu-firmware-amd-kmod-sdma-5-2-6 > gpu-firmware-amd-kmod-vcn-3-1-2' The most recent versions of packages > are already installed >=20 > # find -s /boot/firmware/ /boot/modules/ -print > /boot/firmware/ > /boot/firmware/amd-ucode.bin > /boot/firmware/intel-ucode.bin > /boot/firmware/iwm3160fw > /boot/firmware/iwm3168fw > /boot/firmware/iwm7260fw > /boot/firmware/iwm7265Dfw > /boot/firmware/iwm7265fw > /boot/firmware/iwm8000C > /boot/firmware/iwm8265fw > /boot/firmware/iwm9000fw > /boot/firmware/iwm9260fw > /boot/firmware/rtw89 > /boot/firmware/rtw89/rtw8852b_fw-1.bin > /boot/modules/ > /boot/modules/amdgpu_dcn_3_1_5_dmcub_bin.ko > /boot/modules/amdgpu_gc_10_3_6_ce_bin.ko > /boot/modules/amdgpu_gc_10_3_6_me_bin.ko > /boot/modules/amdgpu_gc_10_3_6_mec2_bin.ko > /boot/modules/amdgpu_gc_10_3_6_mec_bin.ko > /boot/modules/amdgpu_gc_10_3_6_pfp_bin.ko > /boot/modules/amdgpu_gc_10_3_6_rlc_bin.ko > /boot/modules/amdgpu_psp_13_0_5_asd_bin.ko > /boot/modules/amdgpu_psp_13_0_5_ta_bin.ko > /boot/modules/amdgpu_psp_13_0_5_toc_bin.ko > /boot/modules/amdgpu_sdma_5_2_6_bin.ko > /boot/modules/amdgpu_vcn_3_1_2_bin.ko > /boot/modules/linker.hints >=20 > Looking at just a few examples: >=20 > # file /boot/firmware/iwm3160fw > /boot/firmware/rtw89/rtw8852b_fw-1.bin > /boot/modules/amdgpu_dcn_3_1_5_dmcub_bin.ko > /boot/modules/amdgpu_psp_13_0_5_toc_bin.ko /boot/firmware/iwm3160fw: > data /boot/firmware/rtw89/rtw8852b_fw-1.bin: > data /boot/modules/amdgpu_dcn_3_1_5_dmcub_bin.ko: ELF 64-bit LSB > relocatable, x86-64, version 1 (FreeBSD), > BuildID[sha1]=3D4b30b4248d57199be9498869d56e659ffbfa7050, not stripped > /boot/modules/amdgpu_psp_13_0_5_toc_bin.ko: ELF 64-bit LSB > relocatable, x86-64, version 1 (FreeBSD), > BuildID[sha1]=3Dbd31f5c066ef6ea222807c901a5a2f6bba3690f5, not stripped > 7950X3D-ZFS amd64 1500034 1500034 #=20 >=20 > It looks to me like some things involve loadable kernel > modules that add code to into the kernel and some do not > involve such. Those that do not are probably just loaded > into a device that is using the material via the FreeBSD > kernel. Which type of file looks to determine > /boot/firmware/ vs. /boot/modules/ for where the files > are put. >=20 > Also, I'll note that pkg puts things where FreeBSD is > designed to have the files put. Pkg does not, of itself, > determine where FreeBSD is designed to have the files. > So where pkg put things is just following the FreeBSD > rules for those things. >=20 > I've no clue if some of your materials are older from > before the last time FreeBSD changed the designed > organization. You might want to send out the output > from the likes of: >=20 > # find -s /boot/firmware/ /boot/modules/ -print >=20 > That might give someone a clue about if it is an > appropriate mix or not vs. if there is older material > that should be uninstalled/deleted. >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com >=20 >=20 Thank you I had wifi firmware before in /boot/modules when I pkg install from FreeBSD repository and I have kmods repository now and put them in /boot/firmware. find -s /boot/firmware/ /boot/modules/ -print /boot/firmware/ /boot/firmware/amd-ucode.bin /boot/firmware/iwlwifi-3160-17.ucode /boot/firmware/iwlwifi-3168-29.ucode /boot/firmware/iwlwifi-7260-17.ucode /boot/firmware/iwlwifi-7265-17.ucode /boot/firmware/iwlwifi-7265D-29.ucode /boot/firmware/iwlwifi-8000C-36.ucode /boot/firmware/iwlwifi-8265-36.ucode /boot/firmware/iwlwifi-9000-pu-b0-jf-b0-46.ucode /boot/firmware/iwlwifi-9260-th-b0-jf-b0-46.ucode /boot/firmware/iwlwifi-cc-a0-77.ucode /boot/firmware/iwlwifi-gl-c0-fm-c0-83.ucode /boot/firmware/iwlwifi-gl-c0-fm-c0-92.ucode /boot/firmware/iwlwifi-gl-c0-fm-c0.pnvm /boot/firmware/iwlwifi-ma-b0-gf-a0-83.ucode /boot/firmware/iwlwifi-ma-b0-gf-a0-89.ucode /boot/firmware/iwlwifi-ma-b0-gf-a0.pnvm /boot/firmware/iwlwifi-ma-b0-gf4-a0-83.ucode /boot/firmware/iwlwifi-ma-b0-gf4-a0-89.ucode /boot/firmware/iwlwifi-ma-b0-gf4-a0.pnvm /boot/firmware/iwlwifi-ma-b0-hr-b0-83.ucode /boot/firmware/iwlwifi-ma-b0-hr-b0-89.ucode /boot/firmware/iwlwifi-Qu-b0-hr-b0-77.ucode /boot/firmware/iwlwifi-Qu-b0-jf-b0-77.ucode /boot/firmware/iwlwifi-Qu-c0-hr-b0-77.ucode /boot/firmware/iwlwifi-Qu-c0-jf-b0-77.ucode /boot/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode /boot/firmware/iwlwifi-QuZ-a0-jf-b0-77.ucode /boot/firmware/iwlwifi-so-a0-gf-a0-77.ucode /boot/firmware/iwlwifi-so-a0-gf-a0-83.ucode /boot/firmware/iwlwifi-so-a0-gf-a0-89.ucode /boot/firmware/iwlwifi-so-a0-gf-a0.pnvm /boot/firmware/iwlwifi-so-a0-gf4-a0-77.ucode /boot/firmware/iwlwifi-so-a0-gf4-a0.pnvm /boot/firmware/iwlwifi-so-a0-hr-b0-77.ucode /boot/firmware/iwlwifi-so-a0-hr-b0-83.ucode /boot/firmware/iwlwifi-so-a0-hr-b0-89.ucode /boot/firmware/iwlwifi-so-a0-jf-b0-77.ucode /boot/firmware/iwlwifi-ty-a0-gf-a0-77.ucode /boot/firmware/iwlwifi-ty-a0-gf-a0-83.ucode /boot/firmware/iwlwifi-ty-a0-gf-a0-89.ucode /boot/firmware/iwlwifi-ty-a0-gf-a0.pnvm /boot/modules/ /boot/modules/acpi_call.ko /boot/modules/amdgpu_picasso_asd_bin.ko /boot/modules/amdgpu_picasso_ce_bin.ko /boot/modules/amdgpu_picasso_gpu_info_bin.ko /boot/modules/amdgpu_picasso_me_bin.ko /boot/modules/amdgpu_picasso_mec_bin.ko /boot/modules/amdgpu_picasso_mec2_bin.ko /boot/modules/amdgpu_picasso_pfp_bin.ko /boot/modules/amdgpu_picasso_rlc_am4_bin.ko /boot/modules/amdgpu_picasso_rlc_bin.ko /boot/modules/amdgpu_picasso_sdma_bin.ko /boot/modules/amdgpu_picasso_ta_bin.ko /boot/modules/amdgpu_picasso_vcn_bin.ko /boot/modules/amdgpu_raven_asd_bin.ko /boot/modules/amdgpu_raven_ce_bin.ko /boot/modules/amdgpu_raven_dmcu_bin.ko /boot/modules/amdgpu_raven_gpu_info_bin.ko /boot/modules/amdgpu_raven_kicker_rlc_bin.ko /boot/modules/amdgpu_raven_me_bin.ko /boot/modules/amdgpu_raven_mec_bin.ko /boot/modules/amdgpu_raven_mec2_bin.ko /boot/modules/amdgpu_raven_pfp_bin.ko /boot/modules/amdgpu_raven_rlc_bin.ko /boot/modules/amdgpu_raven_sdma_bin.ko /boot/modules/amdgpu_raven_ta_bin.ko /boot/modules/amdgpu_raven_vcn_bin.ko /boot/modules/amdgpu.ko /boot/modules/dmabuf.ko /boot/modules/drm.ko /boot/modules/i915kms.ko /boot/modules/linker.hints /boot/modules/radeonkms.ko /boot/modules/ttm.ko --=20 =E2=80=9CDoing nothing is better than being busy doing nothing.=E2=80=9D =E2=80=95 Lao Tzu=20