From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0GENJXWjpGIKOAEAbAwnHQ (envelope-from ) for ; Sat, 11 Jun 2022 16:15:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WCcgJHWjpGK5kwAAG6o9tA (envelope-from ) for ; Sat, 11 Jun 2022 16:15:17 +0200 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 74F5F3500A for ; Sat, 11 Jun 2022 16:15:16 +0200 (CEST) Received: from localhost ([::1]:54578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o01tT-0004Q2-JP for larch@yhetil.org; Sat, 11 Jun 2022 10:15:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o01tG-0004Ps-S9 for bug-guix@gnu.org; Sat, 11 Jun 2022 10:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o01tG-0006dl-I7 for bug-guix@gnu.org; Sat, 11 Jun 2022 10:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o01tG-0003Mp-9M for bug-guix@gnu.org; Sat, 11 Jun 2022 10:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55909: linux-libre-arm64-generic with %base-initrd-module => kernel module not found "ahci" Resent-From: Tom Fitzhenry Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 11 Jun 2022 14:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55909 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55909@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165495686312864 (code B ref -1); Sat, 11 Jun 2022 14:15:02 +0000 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 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-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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654956917; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=+XM2oxzwGNoGG7d46V8QB1wiitUGfBxfiuQemGooGxY=; b=s5YXn+ioNVHwDUWKqVkmwIzQcR11bMGgKS0dHNF9hm4c6QR5N3Hvf9HpHLu9hPnqHOGAXl 7joktMYl2Zl/dyJGGLYfrqrNNPJy0/uxetoF0/6roAR2XcI2u2iVI+XZZYuHLwQfLXC07e JVEKi+ok0bIqgaJueJyIUnf5gYi7/ovzraG2rk17lzo/j1ObCgZIT2vSpyQylGk9OVO6ks rLA9rBNBviLK/Xy+7kUVUM4gFzqo8zXlJM38WxAdgBCabv6f7nrGHwcuyktVO6VMt+o6he WmnyrPt7hrVjY06mhPWC++OWUV2P1pnlLCLOM+4HmZJi6BqQciovJPmz+8Ltww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654956917; a=rsa-sha256; cv=none; b=ujboOKPKRkWku81doWUvafaG43dGqQiR6+SkQzpQYChEQmacyQWxigYVVTSUzUsFLCYRzU My+0PINCPkA9qHfeXAl2NpBBndqOxp5Ob69b/GJ8HcCdaelDCIdsQ9V4QmSfNSptxn8aFJ OROyLl9JLM5n/tVhNynz57moomsUDFxm51Jw20Ba9CByQ6cQHh5CjoI8ljy2CUaxgtHbMI Jq+h9qb5nb++1MxydTJZ3tO34coWPIr/xASlqFUdJ2EcYyf6Bn4y9twNdYVbR3ZkEkxm8V SdX1EgnC11YvGoYRKx3El/EF2C3oRU1gF2PLTy5VaUuF+6JbeoS4Z8rZH8BwbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tom-fitzhenry.me.uk header.s=fm2 header.b=BHGeI0kZ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="D d3MoxQ"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tom-fitzhenry.me.uk (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tom-fitzhenry.me.uk header.s=fm2 header.b=BHGeI0kZ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="D d3MoxQ"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tom-fitzhenry.me.uk (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 74F5F3500A X-Spam-Score: 5.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: Rk0+YVhTxMF4 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