GNU bug report logs - #32524
'guix system' can suggest nonexistent kernel modules for the initrd

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Eric Brown <brown@HIDDEN>; dated Sat, 25 Aug 2018 03:14:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Changed bug title to ''guix system' can suggest nonexistent kernel modules for the initrd' from 'guix system build bare-bones.scm fails with ahci shpchp' Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.
Severity set to 'important' from 'normal' Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.

Message received at 32524 <at> debbugs.gnu.org:


Received: (at 32524) by debbugs.gnu.org; 29 Aug 2018 21:13:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 29 17:13:49 2018
Received: from localhost ([127.0.0.1]:37534 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fv7me-0005Oi-G9
	for submit <at> debbugs.gnu.org; Wed, 29 Aug 2018 17:13:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43971)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1fv7mc-0005OS-8n
 for 32524 <at> debbugs.gnu.org; Wed, 29 Aug 2018 17:13:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1fv7mV-0000we-GT
 for 32524 <at> debbugs.gnu.org; Wed, 29 Aug 2018 17:13:40 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58945)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1fv7mV-0000wR-8F; Wed, 29 Aug 2018 17:13:39 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44520 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1fv7mU-0007nb-Vh; Wed, 29 Aug 2018 17:13:39 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Timothy Sample <samplet@HIDDEN>
Subject: Re: bug#32524: guix system build bare-bones.scm fails with ahci shpchp
References: <87a7pb3zqi.fsf@HIDDEN> <871sam6zyt.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 12 Fructidor an 226 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Wed, 29 Aug 2018 23:13:37 +0200
In-Reply-To: <871sam6zyt.fsf@HIDDEN> (Timothy Sample's message of "Sat, 25
 Aug 2018 14:52:26 -0400")
Message-ID: <8736uw7u66.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 32524
Cc: Eric Brown <brown@HIDDEN>, 32524 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Hi,

Timothy Sample <samplet@HIDDEN> skribis:

> Eric Brown <brown@HIDDEN> writes:
>
>> I am attempting to guix system reconfigure a GuixSD 0.15 (updated)
>> Macintosh laptop where reconfigure recommends and requires:
>>
>>   (initrd-modules (append (list "ahci" "shpchp")
>>                           %base-initrd-modules))
>>
>> However, the config file that I used at guix system init works
>> originally with this additional bit of lisp, but a reconfigure gives the
>> error below.
>>
>> In an attempt to narrow down, inserting this into bare-bones.scm gives a
>> similar error. Thanks to samplet for help and confirmation on #guixsd.
>
> Just to make things clear, the bare-bones config below works with
> Linux-Libre 4.17, but not with 4.18.  We no longer build the =E2=80=9Dshp=
chp=E2=80=9D
> module.  See commit 3004f1c69b258837b0e49a567787c97479ce6e71, which
> includes the following:
>
>     -CONFIG_HOTPLUG_PCI_SHPC=3Dm
>     +# CONFIG_HOTPLUG_PCI_SHPC is not set
>
> I don=E2=80=99t know anything about this module or this change, so I don=
=E2=80=99t know
> if we should change the config file or not.  I will leave that to
> someone more knowledgeable.

I don=E2=80=99t know the rationale of this change, but I understand the pro=
blem:
it=E2=80=99s design issue with the module recommendation mechanism.  Basica=
lly
it looks at modules needed on the current kernel for, say,  your root
file system, and then it recommends adding those.

The problem occurs when you=E2=80=99re running on 4.17 and reconfiguring to=
wards
4.18: on your system =E2=80=98shpchp=E2=80=99 is necessary, so =E2=80=98gui=
x system=E2=80=99 recommends
it, but on the target system it=E2=80=99s not.  In that case =E2=80=98--ski=
p-checks=E2=80=99 is
needed.

What we could do is determine that =E2=80=98shpchp.ko=E2=80=99 is not provi=
ded by the
target kernel, though that doesn=E2=80=99t tell us whether it=E2=80=99s nee=
ded.  Doing
that also has the disadvantage that we must build/download the target
kernel before we can emit the warning, as has been discussed before.

Thoughts?

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#32524; Package guix. Full text available.

Message received at 32524 <at> debbugs.gnu.org:


Received: (at 32524) by debbugs.gnu.org; 25 Aug 2018 18:52:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 25 14:52:30 2018
Received: from localhost ([127.0.0.1]:60744 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ftdfi-0001BF-5H
	for submit <at> debbugs.gnu.org; Sat, 25 Aug 2018 14:52:30 -0400
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:34623)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <samplet@HIDDEN>) id 1ftdfg-0001B8-RE
 for 32524 <at> debbugs.gnu.org; Sat, 25 Aug 2018 14:52:29 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 715E521A29;
 Sat, 25 Aug 2018 14:52:28 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute4.internal (MEProxy); Sat, 25 Aug 2018 14:52:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=cNp9rT
 Fi5kF/PqPBM8IgjHqR3YXygb9/py3eMqZ17B8=; b=lm8wtb4YcOQ8cy1pq2P24x
 23UHMh862esM/KomtOdX+YPyM4u/VshUuCUweHZPYqiVL21qvOVDJNpQhMKzJCgL
 imvZ8syg1UOZaR8znurYRKKvrFJV5Blq0g07nQUUkbCH9v3PnQJ6k3wfBJTLGNWG
 oC1/Ga/pC9hs5smVNX0KT4j/Ok+1a+obExFgCQRvd3m38h59TldDD+Q3MHeFHM/S
 iZjix/2yt0GlAVd8ocvq/UPnVpZpgtE9BEFvzjL7/zyw77cJvKWWDbiq0FjL7aNG
 b/+DPpr4HfF1Z2+5pJN76RQ2binHidDkQTau605eN1ZEsdMf+NqwcuQHgXwcvlLQ
 ==
X-ME-Proxy: <xmx:bKWBW79D80UuNCqoVaTr-zP3e_EFMct-bmNx3XaK_sQSBD6mGm5piw>
 <xmx:bKWBWwiB4L1gWKDZ_444SMOt2rIZvdCT81DKvHrp78ziyzreUYd_wA>
 <xmx:bKWBW_kNCwDzi3hqbc8VNvVcD-mxks1MGwTTRkFzsLyb9a3NWUjLjg>
 <xmx:bKWBW00-0rIJwkoB9rfp0cYt8NxXFNUxuvpVETGAJ-S-uAQezAMy6A>
 <xmx:bKWBW56f3N4VHuuRDPZZFeIt-jMe5TAomWqCGW5HrNpTm1ngYsU7IA>
 <xmx:bKWBW3Ni-bjfCgg047A-PRwvsZx8ZXuKIpqb540V4XHSCVXFHVNiXQ>
X-ME-Sender: <xms:bKWBW6fA3MZqxKqKXqP8zghAT3DHxsEHIGiBSs5dAjArrUGnDxOniw>
Received: from mrblack (74-116-186-44.qc.dsl.ebox.net [74.116.186.44])
 by mail.messagingengine.com (Postfix) with ESMTPA id C9D12E44F3;
 Sat, 25 Aug 2018 14:52:27 -0400 (EDT)
From: Timothy Sample <samplet@HIDDEN>
To: Eric Brown <brown@HIDDEN>
Subject: Re: bug#32524: guix system build bare-bones.scm fails with ahci shpchp
References: <87a7pb3zqi.fsf@HIDDEN>
Date: Sat, 25 Aug 2018 14:52:26 -0400
In-Reply-To: <87a7pb3zqi.fsf@HIDDEN> (Eric Brown's message of "Fri, 24
 Aug 2018 22:13:25 -0500")
Message-ID: <871sam6zyt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 32524
Cc: 32524 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hello,

Eric Brown <brown@HIDDEN> writes:

> I am attempting to guix system reconfigure a GuixSD 0.15 (updated)
> Macintosh laptop where reconfigure recommends and requires:
>
>   (initrd-modules (append (list "ahci" "shpchp")
>                           %base-initrd-modules))
>
> However, the config file that I used at guix system init works
> originally with this additional bit of lisp, but a reconfigure gives the
> error below.
>
> In an attempt to narrow down, inserting this into bare-bones.scm gives a
> similar error. Thanks to samplet for help and confirmation on #guixsd.

Just to make things clear, the bare-bones config below works with
Linux-Libre 4.17, but not with 4.18.  We no longer build the =E2=80=9Dshpch=
p=E2=80=9D
module.  See commit 3004f1c69b258837b0e49a567787c97479ce6e71, which
includes the following:

    -CONFIG_HOTPLUG_PCI_SHPC=3Dm
    +# CONFIG_HOTPLUG_PCI_SHPC is not set

I don=E2=80=99t know anything about this module or this change, so I don=E2=
=80=99t know
if we should change the config file or not.  I will leave that to
someone more knowledgeable.

> ------------------------>8------------- bare-bones.scm
> ;; This is an operating system configuration template
> ;; for a "bare bones" setup, with no X11 display server.
>
> (use-modules (gnu) (gnu packages linux))
> (use-service-modules networking ssh)
> (use-package-modules screen ssh)
>
> (operating-system
>   (host-name "komputilo")
>   (timezone "Europe/Berlin")
>   (locale "en_US.utf8")
>=20=20
>   (initrd-modules (append (list "ahci" "shpchp")
>                           %base-initrd-modules))
>
>   ;; Boot in "legacy" BIOS mode, assuming /dev/sdX is the
>   ;; target hard disk, and "my-root" is the label of the target
>   ;; root file system.
>   (bootloader (bootloader-configuration
>                 (bootloader grub-bootloader)
>                 (target "/dev/sdX")))
>   (file-systems (cons (file-system
>                         (device (file-system-label "my-root"))
>                         (mount-point "/")
>                         (type "ext4"))
>                       %base-file-systems))
>
>   ;; This is where user accounts are specified.  The "root"
>   ;; account is implicit, and is initially created with the
>   ;; empty password.
>   (users (cons (user-account
>                 (name "alice")
>                 (comment "Bob's sister")
>                 (group "users")
>
>                 ;; Adding the account to the "wheel" group
>                 ;; makes it a sudoer.  Adding it to "audio"
>                 ;; and "video" allows the user to play sound
>                 ;; and access the webcam.
>                 (supplementary-groups '("wheel"
>                                         "audio" "video"))
>                 (home-directory "/home/alice"))
>                %base-user-accounts))
>
>   ;; Globally-installed packages.
>   (packages (cons* screen openssh %base-packages))
>
>   ;; Add services to the baseline: a DHCP client and
>   ;; an SSH server.
>   (services (cons* (dhcp-client-service)
>                    (service openssh-service-type
>                             (openssh-configuration
>                               (port-number 2222)))
>                    %base-services)))
>
> ------------------------>8------------- output
>
>
> An example error:
> ------------------------>8------------- output
>    /gnu/store/11hrmawlda4gr1xajwyxlh8miqvp49k0-activate.drv
>    /gnu/store/8mm7lb5qal9qsfknl3f91g9sgqy8cxxm-boot.drv
>    /gnu/store/vx2311zqjk1vjhpqqi9cmh1zw96mjiqk-etc.drv
>    /gnu/store/hrrm5wls9ajpayi8wjf5w4qg7b4x45a8-raw-initrd.drv
>    /gnu/store/yj9dw5f8lnbqfhjl811yvdx0h06pf0gw-grub-image.png.drv
> [ 1/ 2] Compiling './gnu/build/bootloader.scm'...
> [ 2/ 2] Compiling './guix/build/utils.scm'...
> grafting '/gnu/store/lwgzzwgszv1x6g0bwzn7zkd6cqqp1l31-audit-2.8.4' -> '/g=
nu/store/kw94vfhdxbg66fd3yhf74fqq50jb3gng-audit-2.8.4'...
> grafting '/gnu/store/gpv9sy0l1igpanpsn8mf6i96ahmc9pj8-gnupg-2.2.9' -> '/g=
nu/store/kx3lvw5ni7clg710wdrkvyl0qjgyl8gg-gnupg-2.2.9'...
> grafting '/gnu/store/04dr9902qdijkqm41f7vnsggw9cad9vc-gobject-introspecti=
on-1.56.0' -> '/gnu/store/d0gs9bx52gsrcvfkrasgyjngrji2dgml-gobject-introspe=
ction-1.56.0'...
> grafting '/gnu/store/1hlrfb4896hllzq699aqbc21pjczmvgd-libevent-2.0.22' ->=
 '/gnu/store/i4nn1r614n6xkn5vn0qjaq6i4vymaz3i-libevent-2.0.22'...
> grafting '/gnu/store/4jxh7rd5p1667hnagzrxw4q4a9mmvbwm-libevent-2.1.8' -> =
'/gnu/store/cd18iq8q54gg47pm75n3482mmxc8mjrn-libevent-2.1.8'...
> grafting '/gnu/store/wdfnkpb396xq0arss8gzwf1f973zif0n-libosinfo-1.0.0' ->=
 '/gnu/store/1rsn2kb48n7gz6dpabjapldc1a28945s-libosinfo-1.0.0'...
> Backtrace:
>            8 (primitive-load "/gnu/store/5q7mfn597l36jnylycfk1yfifri?")
> In ice-9/eval.scm:
>     619:8  7 (_ #f)
>    626:19  6 (_ #<directory (guile-user) 7cc140>)
>     159:9  5 (_ _)
> In gnu/build/linux-modules.scm:
>    184:47  4 (recursive-module-dependencies _ #:lookup-module _)
>     98:14  3 (module-dependencies _)
>     85:18  2 (modinfo-section-contents _)
> In ice-9/ports.scm:
>    439:11  1 (call-with-input-file #f #<procedure get-bytevector-al?> ?)
> In unknown file:
>            0 (open-file #f "r" #:encoding #f #:guess-encoding #f)
>
> ERROR: In procedure open-file:
> Wrong type (expecting string): #f
> builder for `/gnu/store/c0vahbyxh6qkxdrgjr2sjcr35hwc4np8-linux-modules.dr=
v' failed with exit code 1
> cannot build derivation `/gnu/store/rwbi4h4mdi8h7h15szxw1jc31vv9kg6p-init=
.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/hrrm5wls9ajpayi8wjf5w4qg7b4x45a8-raw-=
initrd.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/4sryh7lwx7jjvlad2ivg29wv32gbida1-grub=
.cfg.drv': 1 dependencies couldn't be built
> guix system: error: build failed: build of `/gnu/store/4sryh7lwx7jjvlad2i=
vg29wv32gbida1-grub.cfg.drv' failed
> root@brown ~/src/guix [env]#
> ------------------------>8------------- output




Information forwarded to bug-guix@HIDDEN:
bug#32524; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Aug 2018 03:13:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 24 23:13:43 2018
Received: from localhost ([127.0.0.1]:60127 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ftP1D-0006FQ-4V
	for submit <at> debbugs.gnu.org; Fri, 24 Aug 2018 23:13:43 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42911)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brown@HIDDEN>) id 1ftP1B-0006FD-GU
 for submit <at> debbugs.gnu.org; Fri, 24 Aug 2018 23:13:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <brown@HIDDEN>) id 1ftP15-0007Gl-5Z
 for submit <at> debbugs.gnu.org; Fri, 24 Aug 2018 23:13:36 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:33254)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <brown@HIDDEN>) id 1ftP15-0007Gb-1r
 for submit <at> debbugs.gnu.org; Fri, 24 Aug 2018 23:13:35 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35653)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <brown@HIDDEN>) id 1ftP13-0008Lo-QE
 for bug-guix@HIDDEN; Fri, 24 Aug 2018 23:13:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <brown@HIDDEN>) id 1ftP0y-00076p-N6
 for bug-guix@HIDDEN; Fri, 24 Aug 2018 23:13:33 -0400
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48239)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <brown@HIDDEN>) id 1ftP0y-00074j-Fd
 for bug-guix@HIDDEN; Fri, 24 Aug 2018 23:13:28 -0400
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47])
 by mailout.nyi.internal (Postfix) with ESMTP id B53CE21D45
 for <bug-guix@HIDDEN>; Fri, 24 Aug 2018 23:13:26 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute7.internal (MEProxy); Fri, 24 Aug 2018 23:13:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 content-type:date:from:message-id:mime-version:subject:to
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=quR9UWWIXRRu3zoGj
 DnlUbT29JWNJDS/8AYS8BvAuIg=; b=qzFaE6rdvXs8TXm+cgFQWhMYUAjGd1TLs
 YHObr+pcY1X5RiK66zPzR1w1+r+hoG68v6gl8tYBrDOZUvK3Fs9sQNfM6QvRKXNE
 z7SnG7TUIVaMCYbHZad8slZluoV+dUbBKsN7wIvsu/KCPj55/vQU2k7dFfT/LxK0
 sM4SeloyqesBL1vYJrut/bibizCW5sHbmkmyRZxLxRyt45AGp5sA3KoLC4MpsBim
 5RVHvy8Gf6tLtAEPWOlpkeIoyYK8N4UNH3cv8y3rjKF108rH7GKh1SEQJ1nzzvxS
 T3udAqnyyFoQgmErptIeHuqL876I4tiIqSszNIXYp4wVzsOnZ0zDw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm3; bh=quR9UWWIXRRu3zoGjDnlUbT29JWNJDS/8AYS8BvAuIg=; b=hjNKz1Qe
 wb+HMDD7ZoPYUInSSyMPA8EacmiI/KW3DFr9UuvAERUc9zOOUeGGTEMALnA8v5Qf
 QBgI81ly4sxOEIKiSGRiW8pz0x9pq3Px7WuA/B5oVDFROXfEGMPeWowrf2zcnUQr
 og8mEHMGt3tAF4eWtYHtR1M6AkwE2NU0er2/lD+BlNjK+DXiPAD5iBCU2N7IoZnJ
 JWu7oJJKo1hbPAjgF3iJU3rISGTx8Zv/P2ovAdl6k1iaYFi2wi5+cNklHGWb7OVY
 ylKotg2ySsA0P2NsZQvYqNAkKZTBi4FhCDzJar7BJtqwC4JC6/DUzsl8JAd6WK5g
 UEu8XKvMreCJHQ==
X-ME-Proxy: <xmx:VsmAW0pGlOWBw5PEMDgEcf3HBYc96Ui5mYbBIpJTr8HJrhdqY2TelA>
 <xmx:VsmAW9tq9R_G0pmDwE9WQfWAnkbSE9QD1DOFSoe5o_ibIz2F0jyCUA>
 <xmx:VsmAWz0ZgeGy1_vH89A7bfPSzBrtO9Zvq01A3EDj3NzAihJwt1PnDQ>
 <xmx:VsmAW4EE4wMi5WmHmsuU3QspUL_uzy1soQ70E40X6MZd3qK31byiWA>
 <xmx:VsmAW-s5YTaClV_qoV8T5whWR30cAzpYKRXoHBmMoGVX9_8LPHxHKQ>
 <xmx:VsmAW6vfmlfna7LmxqedLfrF_D0kvXt-KViPkU6pCLpZSvbsZ7Svpw>
X-ME-Sender: <xms:VsmAW4Zk2FDDDeg52cPcitERq4YRGQBEEPqBTmhJVAcnufmLyvKTHw>
Received: from localhost (c-24-12-214-32.hsd1.il.comcast.net [24.12.214.32])
 by mail.messagingengine.com (Postfix) with ESMTPA id 54D79E405E
 for <bug-guix@HIDDEN>; Fri, 24 Aug 2018 23:13:26 -0400 (EDT)
From: Eric Brown <brown@HIDDEN>
To: bug-guix@HIDDEN
Subject: guix system build bare-bones.scm fails with ahci shpchp
Date: Fri, 24 Aug 2018 22:13:25 -0500
Message-ID: <87a7pb3zqi.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.4 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.4 (-----)

I am attempting to guix system reconfigure a GuixSD 0.15 (updated)
Macintosh laptop where reconfigure recommends and requires:

  (initrd-modules (append (list "ahci" "shpchp")
                          %base-initrd-modules))

However, the config file that I used at guix system init works
originally with this additional bit of lisp, but a reconfigure gives the
error below.

In an attempt to narrow down, inserting this into bare-bones.scm gives a
similar error. Thanks to samplet for help and confirmation on #guixsd.

------------------------>8------------- bare-bones.scm
;; This is an operating system configuration template
;; for a "bare bones" setup, with no X11 display server.

(use-modules (gnu) (gnu packages linux))
(use-service-modules networking ssh)
(use-package-modules screen ssh)

(operating-system
  (host-name "komputilo")
  (timezone "Europe/Berlin")
  (locale "en_US.utf8")
 
  (initrd-modules (append (list "ahci" "shpchp")
                          %base-initrd-modules))

  ;; Boot in "legacy" BIOS mode, assuming /dev/sdX is the
  ;; target hard disk, and "my-root" is the label of the target
  ;; root file system.
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (target "/dev/sdX")))
  (file-systems (cons (file-system
                        (device (file-system-label "my-root"))
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))

  ;; This is where user accounts are specified.  The "root"
  ;; account is implicit, and is initially created with the
  ;; empty password.
  (users (cons (user-account
                (name "alice")
                (comment "Bob's sister")
                (group "users")

                ;; Adding the account to the "wheel" group
                ;; makes it a sudoer.  Adding it to "audio"
                ;; and "video" allows the user to play sound
                ;; and access the webcam.
                (supplementary-groups '("wheel"
                                        "audio" "video"))
                (home-directory "/home/alice"))
               %base-user-accounts))

  ;; Globally-installed packages.
  (packages (cons* screen openssh %base-packages))

  ;; Add services to the baseline: a DHCP client and
  ;; an SSH server.
  (services (cons* (dhcp-client-service)
                   (service openssh-service-type
                            (openssh-configuration
                              (port-number 2222)))
                   %base-services)))

------------------------>8------------- output


An example error:
------------------------>8------------- output
   /gnu/store/11hrmawlda4gr1xajwyxlh8miqvp49k0-activate.drv
   /gnu/store/8mm7lb5qal9qsfknl3f91g9sgqy8cxxm-boot.drv
   /gnu/store/vx2311zqjk1vjhpqqi9cmh1zw96mjiqk-etc.drv
   /gnu/store/hrrm5wls9ajpayi8wjf5w4qg7b4x45a8-raw-initrd.drv
   /gnu/store/yj9dw5f8lnbqfhjl811yvdx0h06pf0gw-grub-image.png.drv
[ 1/ 2] Compiling './gnu/build/bootloader.scm'...
[ 2/ 2] Compiling './guix/build/utils.scm'...
grafting '/gnu/store/lwgzzwgszv1x6g0bwzn7zkd6cqqp1l31-audit-2.8.4' -> '/gnu/store/kw94vfhdxbg66fd3yhf74fqq50jb3gng-audit-2.8.4'...
grafting '/gnu/store/gpv9sy0l1igpanpsn8mf6i96ahmc9pj8-gnupg-2.2.9' -> '/gnu/store/kx3lvw5ni7clg710wdrkvyl0qjgyl8gg-gnupg-2.2.9'...
grafting '/gnu/store/04dr9902qdijkqm41f7vnsggw9cad9vc-gobject-introspection-1.56.0' -> '/gnu/store/d0gs9bx52gsrcvfkrasgyjngrji2dgml-gobject-introspection-1.56.0'...
grafting '/gnu/store/1hlrfb4896hllzq699aqbc21pjczmvgd-libevent-2.0.22' -> '/gnu/store/i4nn1r614n6xkn5vn0qjaq6i4vymaz3i-libevent-2.0.22'...
grafting '/gnu/store/4jxh7rd5p1667hnagzrxw4q4a9mmvbwm-libevent-2.1.8' -> '/gnu/store/cd18iq8q54gg47pm75n3482mmxc8mjrn-libevent-2.1.8'...
grafting '/gnu/store/wdfnkpb396xq0arss8gzwf1f973zif0n-libosinfo-1.0.0' -> '/gnu/store/1rsn2kb48n7gz6dpabjapldc1a28945s-libosinfo-1.0.0'...
Backtrace:
           8 (primitive-load "/gnu/store/5q7mfn597l36jnylycfk1yfifri?")
In ice-9/eval.scm:
    619:8  7 (_ #f)
   626:19  6 (_ #<directory (guile-user) 7cc140>)
    159:9  5 (_ _)
In gnu/build/linux-modules.scm:
   184:47  4 (recursive-module-dependencies _ #:lookup-module _)
    98:14  3 (module-dependencies _)
    85:18  2 (modinfo-section-contents _)
In ice-9/ports.scm:
   439:11  1 (call-with-input-file #f #<procedure get-bytevector-al?> ?)
In unknown file:
           0 (open-file #f "r" #:encoding #f #:guess-encoding #f)

ERROR: In procedure open-file:
Wrong type (expecting string): #f
builder for `/gnu/store/c0vahbyxh6qkxdrgjr2sjcr35hwc4np8-linux-modules.drv' failed with exit code 1
cannot build derivation `/gnu/store/rwbi4h4mdi8h7h15szxw1jc31vv9kg6p-init.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/hrrm5wls9ajpayi8wjf5w4qg7b4x45a8-raw-initrd.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/4sryh7lwx7jjvlad2ivg29wv32gbida1-grub.cfg.drv': 1 dependencies couldn't be built
guix system: error: build failed: build of `/gnu/store/4sryh7lwx7jjvlad2ivg29wv32gbida1-grub.cfg.drv' failed
root@brown ~/src/guix [env]#
------------------------>8------------- output







Acknowledgement sent to Eric Brown <brown@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#32524; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.