From unknown Sat Jun 14 03:47:11 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#55909 <55909@debbugs.gnu.org> To: bug#55909 <55909@debbugs.gnu.org> Subject: Status: linux-libre-arm64-generic with %base-initrd-module => kernel module not found "ahci" Reply-To: bug#55909 <55909@debbugs.gnu.org> Date: Sat, 14 Jun 2025 10:47:11 +0000 retitle 55909 linux-libre-arm64-generic with %base-initrd-module =3D> kerne= l module not found "ahci" reassign 55909 guix submitter 55909 Tom Fitzhenry severity 55909 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 11 10:14:23 2022 Received: (at submit) by debbugs.gnu.org; 11 Jun 2022 14:14:23 +0000 Received: from localhost ([127.0.0.1]:53703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o01sb-0003LM-8y for submit@debbugs.gnu.org; Sat, 11 Jun 2022 10:14:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:33834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o01sW-0003L9-7b for submit@debbugs.gnu.org; Sat, 11 Jun 2022 10:14:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o01sV-0004Oh-3u for bug-guix@gnu.org; Sat, 11 Jun 2022 10:14:16 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:59329) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o01sS-0006ZW-F9 for bug-guix@gnu.org; Sat, 11 Jun 2022 10:14:14 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 3A7675C00EB for ; Sat, 11 Jun 2022 10:14:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 11 Jun 2022 10:14:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= tom-fitzhenry.me.uk; h=cc:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; t=1654956850; x=1655043250; bh=+XM2oxzwGN oGG7d46V8QB1wiitUGfBxfiuQemGooGxY=; b=BHGeI0kZ3mhaiYm1IlKFYGP2AB 7R1ht+LlSLD8hZrzaBFegd4jeNtS601v3hT9gOzqvJ105obuXx/AAIkih4QzXeWV g6dHjSw12A/ytt0tNvXTSX8I4SqKgRpHhAykyW2df1FLeq86veottVCx3hfkvhQE RK/4/IYVFGuohAJJ02zhYg5xGJLA6RTE9lP5qUOEpQEfLs0G9svn40iFlDo13j8b JkPy6lg2QrbhvhrSQMewltmWmLA5fpDA+ybbE/YWDZP7aS+JTVEToLU0JlCFh7sk 39ooE1okR7nklj5YzhhIwaQ64jXGgtuzqOwPMwg1BiKy2JNtmtsAgM/Hkj6A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1654956850; x= 1655043250; bh=+XM2oxzwGNoGG7d46V8QB1wiitUGfBxfiuQemGooGxY=; b=D d3MoxQJ7FVjOuIUNeRWwZcP59/MuGSMUHiDnHGVAl8YMVevfldsKu+g31gsf2Bu0 H+MoOWL+pl9lysQZrXjFOII9Op80WxAXvLugth1LvMcm8iRtcvd08hfQ8qcEBk7o 0Ba9vHs+dlPW2l5scJOScfT2apdBo/cWjHhd/T7hn0lG7etkGP/VyCUG/GQxmk1z TcLcFZozJmsOJQZDW2mMZJP1oYAtrqYeBZO82w+vIJXeqq8/ZTqXX7XOzlrUu0lb SErRSBBqT5hwdJqqIC1VKXUFVONXGUtD0wW87wkqcCoDSNArZ6t9+JyiOR+4lhJP /1KCJbUYfzfQge2lw+2UQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddufedgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkfgggtgesthdtredttd ertdenucfhrhhomhepvfhomhcuhfhithiihhgvnhhrhicuoehtohhmsehtohhmqdhfihht iihhvghnrhihrdhmvgdruhhkqeenucggtffrrghtthgvrhhnpefgkeelveejgeduiedvhf efgfeiueejvdejjeeuheehuddtgeetgfetvedtvdefkeenucffohhmrghinhepkhgvrhhn vghlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhomhesthhomhdqfhhithiihhgvnhhrhidrmhgvrdhukh X-ME-Proxy: Feedback-ID: iefc945ae:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 11 Jun 2022 10:14:08 -0400 (EDT) From: Tom Fitzhenry To: bug-guix@gnu.org Subject: linux-libre-arm64-generic with %base-initrd-module => kernel module not found "ahci" Date: Sun, 12 Jun 2022 00:13:52 +1000 Message-ID: <87o7yze19b.fsf@tom-fitzhenry.me.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.26; envelope-from=tom@tom-fitzhenry.me.uk; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) When building linux-libre-arm64-generic with %base-initrd-modules, the linux-modules derivation fails with `kernel module not found "ahci"'. Here's the steps to reproduce: --8<---------------cut here---------------start------------->8--- $ cat minimal.scm (use-modules (gnu packages linux) (gnu bootloader) (gnu bootloader grub) (gnu system file-systems)) (operating-system (host-name "foobar") (timezone "Australia/Sydney") (locale "en_AU.utf8") (bootloader (bootloader-configuration (bootloader grub-efi-removable-bootloader) (targets '("/boot/efi")))) (kernel linux-libre-arm64-generic) (file-systems (cons* (file-system (device (file-system-label "my-root")) (mount-point "/") (type "ext4")) (file-system (device (file-system-label "boot")) (mount-point "/boot/efi") (type "vfat")) %base-file-systems))) $ guix time-machine --commit=a99015c8783eb5281618173779a0550b15a79617 -- system reconfigure minimal.scm $ zcat /var/log/guix/drvs/f3/2ljaayhsdlza6napn6d62ra1x5cm5f-linux-modules.drv.gz Backtrace: 5 (primitive-load "/gnu/store/bpaj7mfbws69b7pfwrdl7dw5pzs?") In ice-9/eval.scm: 619:8 4 (_ #f) 626:19 3 (_ #) 293:34 2 (_ #(# #)) In srfi/srfi-1.scm: 586:17 1 (map1 ("ahci" "usb-storage" "uas" "usbhid" "hid-gene?" ?)) In gnu/build/linux-modules.scm: 257:5 0 (_) gnu/build/linux-modules.scm:257:5: kernel module not found "ahci" "/gnu/store/lvdihzd96kwqf31gs37n2b8ykdv1jp07-linux-libre-arm64-generic-5.17.14/lib/modules" --8<---------------cut here---------------end--------------->8--- This fails beacuse %base-initrd-modules expects the "ahci" module, but linux-libre-arm64-generic has that built in[0]. Workarounds for users include: * use linux-libre-5.17, which has the disadvantage that linux-libre-5.17 is built from aux-files/linux-libre/*.conf rather than defconfig, thus making it less clear how much linux-libre-5.17 has deviated from mainline's defconfig. * don't use %base-initrd-modules, which has the disadvantage that users have to figure out which modules should be in their initrd * disabling the check (?), which has the disadvantage that the check can be useful Ideally users could use linux-libre-arm64-generic with %base-initrd-modules. To do this, we could: * replace "CONFIG_SATA_AHCI=m" with "CONFIG_SATA_AHCI=y" in gnu/packages/aux-files/linux-libre/*.conf . * remove "ahci" from %base-initrd-modules This amounts to converging aux-files/linux-libre/* towards the mainline defconfigs. Is this a goal? Thoughts? 0. CONFIG_SATA_AHCI=y, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm64/configs/defconfig?h=v5.17.14#n291 From debbugs-submit-bounces@debbugs.gnu.org Thu May 23 15:04:02 2024 Received: (at 55909) by debbugs.gnu.org; 23 May 2024 19:04:02 +0000 Received: from localhost ([127.0.0.1]:60478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sADjO-0006Io-DN for submit@debbugs.gnu.org; Thu, 23 May 2024 15:04:02 -0400 Received: from mail-108-mta146.mxroute.com ([136.175.108.146]:43155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sADjK-0006IR-A9 for 55909@debbugs.gnu.org; Thu, 23 May 2024 15:04:00 -0400 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta146.mxroute.com (ZoneMTA) with ESMTPSA id 18fa6d687c6000efce.001 for <55909@debbugs.gnu.org> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Thu, 23 May 2024 19:03:48 +0000 X-Zone-Loop: e0d6555eb78d9d3dabad2a08dff06f564f9923b2a356 X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6B8QquN6D2ML1OTYPYdd27Rvy7AwSB5vz0UDwBXbwLc=; b=E37fnUdwDRJP0AvQtK/PWweMMS KBTBFbc9qSNBfWuhWP1vD35ksjeaGZfsZo68WhvI547YimCQUxoyPkRL/zn3c3CmQMK9CQWL/7S9X qpBrGmrG4QZEwtfaZ314vjABaaeYzds0qxaaadFQ/h/m2Bu0GkmuvPgB1JMM5+0k0hIUh67LiOtK4 tQRKx2cearFl11BDLHn7x8KOHX9LKzXXCdb6jQbdABVhsYaZ7AG64HycvBly0cE4jopw6O3UEHFjx HhKLgHoWDpESREeeyFJNkXxr2oL1/0s4VoVZjyU20qmFU6fqyOeRnVHq/+B2qnyB6s2ubzHKUtKEz m583zoOQ==; From: Richard Sent To: 55909@debbugs.gnu.org Subject: Re: Converging aux-files/linux-libre/* towards mainline defconfigs Date: Thu, 23 May 2024 15:03:44 -0400 Message-ID: <87jzjkuz8v.fsf@freakingpenguin.com> MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Id: richard@freakingpenguin.com X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 55909 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I would be in favor of building more initrd modules into the kernel when done so upstream. To my understanding the distinction between linux-libre and linux-libre-*-generic is to have both: a) A kernel with options that support the various Guix services OOTB, such as CONFIG_BINFMT_MISC and qemu-binfmt-service-type. b) A kernel that matches upstream defconfigs as much as possible, with the exception of a subset of flags considered essential. See %default-extra-linux-options or linux-libre-riscv64-generic. With this model, linux-libre should avoid diverging from upstream defconfigs whenever possible, particularly when toggling a module from y to m. linux-libre would become a superset of *-generic kernels. Obviously I'm not packaging linux-libre myself. I might misunderstand the purpose of these variants. :) On a related note, the *-generic kernels seem to also have encapsulated "add support for a specific board on this platform", which to me feels a bit like a hacky solution. See linux-libre-arm64-generic and the Pinebook Pro comments. I'd think that would belong in a linux-libre-pinebook-pro or similar. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.