From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 25 14:52:30 2018 Received: (at 32524) by debbugs.gnu.org; 25 Aug 2018 18:52:30 +0000 Received: from localhost ([127.0.0.1]:60744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftdfi-0001BF-5H for submit@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 ) id 1ftdfg-0001B8-RE for 32524@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: X-ME-Sender: 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 To: Eric Brown Subject: Re: bug#32524: guix system build bare-bones.scm fails with ahci shpchp References: <87a7pb3zqi.fsf@fastmail.com> Date: Sat, 25 Aug 2018 14:52:26 -0400 In-Reply-To: <87a7pb3zqi.fsf@fastmail.com> (Eric Brown's message of "Fri, 24 Aug 2018 22:13:25 -0500") Message-ID: <871sam6zyt.fsf@ngyro.com> 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@debbugs.gnu.org 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.7 (-) Hello, Eric Brown 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 (_ #) > 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 # ?) > 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