From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MPzqM3J+9GCRBwAAgWs5BA (envelope-from ) for ; Sun, 18 Jul 2021 21:18:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4MaXL3J+9GA+CAAAbx9fmQ (envelope-from ) for ; Sun, 18 Jul 2021 19:18:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C6BAE80D0 for ; Sun, 18 Jul 2021 21:18:09 +0200 (CEST) Received: from localhost ([::1]:42094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5CIi-0006zN-UM for larch@yhetil.org; Sun, 18 Jul 2021 15:18:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5CIc-0006zE-06 for bug-guix@gnu.org; Sun, 18 Jul 2021 15:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5CIb-0001GR-P4 for bug-guix@gnu.org; Sun, 18 Jul 2021 15:18:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5CIb-000274-Lh for bug-guix@gnu.org; Sun, 18 Jul 2021 15:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49611: Despite wireless-regdb being installed in my operating-system, dmesg indicates it can't find `regulatory.db` Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 18 Jul 2021 19:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49611 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Katherine Cox-Buday Received: via spool by 49611-submit@debbugs.gnu.org id=B49611.16266358607881 (code B ref 49611); Sun, 18 Jul 2021 19:18:01 +0000 Received: (at 49611) by debbugs.gnu.org; 18 Jul 2021 19:17:40 +0000 Received: from localhost ([127.0.0.1]:57361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5CIG-00022q-2Q for submit@debbugs.gnu.org; Sun, 18 Jul 2021 15:17:40 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5CIE-0001xi-1r for 49611@debbugs.gnu.org; Sun, 18 Jul 2021 15:17:39 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 8DE9124010A for <49611@debbugs.gnu.org>; Sun, 18 Jul 2021 21:17:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1626635851; bh=p6GhIxloBKVvNdNpTwJV70H7C+0AFNcFA0ekNstFuxg=; h=From:To:Cc:Subject:Date:From; b=r67TuZ39xrKT1JutjdKvV17wTBE7V4Bxd9aNwlHFrB9XBGz2vOPfN9ryTtcZ3IKm/ meQwj5hpR3w3IU8X9UgWbYmHQNkgjbEm3gTi0BYTjLMWQuLgjIYBkSLV3hfLiU5Ce5 0GUBo36wUbHviY2BUa7zdkCB4wdJ745YFHcOs2vHCBCxp6gqbu0nycqrh0lX2SAPmt N3Tlciq/EYXbujfqlZU6lAzeqCzu7PGDUaO5FE5qANdKsnA3Qx20xfNTuof2KejU3L +Y7EHdU+ko83kJEezqeyxLap9KonauEwma5m2w8HgoHNNhiSB+8vjOY6+H7ULNe2As 3lBSEShuEdFsw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GSZVd5NfVz9rxb; Sun, 18 Jul 2021 21:17:28 +0200 (CEST) References: <87r1fvsed1.fsf@waegenei.re> From: Guillaume Le Vaillant In-reply-to: <87r1fvsed1.fsf@waegenei.re> Date: Sun, 18 Jul 2021 19:17:21 +0000 Message-ID: <871r7v77pa.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 49611@debbugs.gnu.org, Brice Waegeneire Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626635890; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=qU3X7nUy1jDFZdAbaomxOWEN5/lLxE+Hd9zm7gnp6Eg=; b=tccjUYyvRbc0t9PTj7lKMasB7ttRQuj3EuvzpaB7/owLXL0MbOgHfOT1A0ShKlmoPY7yp1 FQp8wajXNMKkEi79VbvkYwNZBg7UHDpsZIbMYbYGggeMF177qcBjun4CQBDSbTcoC+GlUH x2AeLCybmEYG0xMZCa4f20E3eMEDsn++mxsSyZ8ot8bIY9qTCqA1IdW+5yo5UZCxnFv6sA /yesagDIpoFe4kXdpVes5Mg2UJfzD0VvXFt5qkA0AKMK9C6J4VVotNcIjSxnxw8/aFY6N2 4kDdwfDdsb1ICeIznssaVgQEEMyTvo3Jmu7YZqjJEiv7IOm66qSxu4JwEbutvQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626635890; a=rsa-sha256; cv=none; b=aH0P1oatXQt6ejmSakuNuObo+GGwW0rkqTDLWaLmc9UuuDO9SeBmXhgnHjPqq11ijhPWNw 5cV0YFFwnFdFBwOgHplGPcltZgBwCV9Iqy+4uJQrzsM/jImN6xpT8YVtqfk5mkSCn/cwQH dghlM5aCp2dFbR+OcbI8z3dzcvDMcklJEOzaNprH4tVUBkBA+MgbrRBqo0Q5MOOzvc97CL 8mPWOadEfxfP+o6zO/eIBlopOo+ZyrcEGdNt+T4QawUFOnro+2wFh/Nj8MBd8b1T37id1L 0SicbQZK1TeE+7nZuRGPgi32IodXUFaUhONG2USMY7MmwrNhTNI2c6VDrH+qxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=r67TuZ39; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=r67TuZ39; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: C6BAE80D0 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: YoqkS6zVbyoj --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Brice Waegeneire skribis: > Hello Katherine, > > TL;DR: =E2=80=9Ciw reg set US=E2=80=9D correctly set the regulatory regio= n from userland > but Guix can't set it just from the kernel. > > Katherine Cox-Buday writes: > >> #+BEGIN_EXAMPLE >> [ 8.280462] cfg80211: Loading compiled-in X.509 certificates for >> regulatory database >> [ 8.282686] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' >> [ 8.284394] platform regulatory.0: Direct firmware load for >> regulatory.db failed with error -2 >> [ 8.284415] cfg80211: failed to load regulatory.db >> #+END_EXAMPLE > > There is three way to make the module cfg80211 load a regulatory > database: > 1. Baking the DB into the kernel at build time by replacing the kernel's > limited DB with the one from 'wireless-regdb' via the option > CONFIG_CFG80211_INTERNAL_REGDB=C2=B9. > 2. Loading the DB at boot time as a signed firmware file > (lib/firmware/regulatory.db from 'wirerless-regdb') via the module > 'cfg80211'. > 3. Doing it in userland with the helper 'crda' trough the utility > 'iwd' or its predecesor 'wpa_supplicant'.=C2=B2 > > From what I understand and what I tested, only the third method works in > Guix System ATM. It could be usefull to also support the first or > second method to not depend on the userland setting the wireless > regulatory settings. Hi, You could also try adding "cfg80211.ieee80211_regdom=3DUS" to the 'kernel-arguments' field of your 'operating-system' definition. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYPR+QQ8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j+cegD/fOlt0OU/bkOYroystnrpkYU6XA+pUKEk1Iz0 N5yFKP4A/jlwl5J2BU3IZuts21v0UxPwm1Ewoct5t/lG1ihTNzdz =ckvl -----END PGP SIGNATURE----- --=-=-=--