From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tonton Subject: bug#31714: Cannot use usb-storage initrd module. Date: Tue, 10 Jul 2018 13:39:05 +0200 Message-ID: <20180710133732.492d5388@merlin.browniehive.net> References: <20180604195732.tbt5uwhzouzxoyxk@floriannotebook> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/Ud4YJNEyyBZbSHdrUxpATPS"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcr03-00066y-2s for bug-guix@gnu.org; Tue, 10 Jul 2018 07:40:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcqzz-0003nw-5H for bug-guix@gnu.org; Tue, 10 Jul 2018 07:40:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45184) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcqzz-0003nn-0o for bug-guix@gnu.org; Tue, 10 Jul 2018 07:40:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fcqzy-0004wc-Kq for bug-guix@gnu.org; Tue, 10 Jul 2018 07:40:02 -0400 In-Reply-To: <20180604195732.tbt5uwhzouzxoyxk@floriannotebook> Sender: "Debbugs-submit" Resent-Message-ID: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 31714@debbugs.gnu.org --Sig_/Ud4YJNEyyBZbSHdrUxpATPS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Today it seems I hit this bug. The last days I've been upgrading this machine with guix pull, and have been booting and reconfiguring fine until a few hours ago. Also, sorry about formatting. My config contained: (initrd (lambda (file-systems . rest) ;; Add a kernel module for RAID-0 (aka. "stripe") ;; and RAID-1 (aka. "mirror"). (apply base-initrd file-systems #:extra-modules '("raid0" "raid1") rest))) And I got an error from guix system reconfigure/build: : error: you may need these modules in the initrd for /dev/sdg2: uas usb_storage hint: Try adding them to the `initrd-modules' field of your `operating-system' declaration, (initrd-modules (append (list "uas" "usb_storage") The machine has the OS on a usb stick because all the internal SATA drives are RAID and I prefer to separate them. This machine has been configured li= ke this for a long time. After following the recommendation (and finding the module in store is actually named usb-storage.ko) I end up with the following config snippet: (initrd-modules (append (list "uas" "usb-storage" "raid0" "raid1") %base-initrd-modules)) (initrd (lambda (file-systems . rest) ;; Add a kernel module for RAID-0 (aka. "stripe") ;; and RAID-1 (aka. "mirror"). (apply base-initrd file-systems #:extra-modules '("raid0" "raid1"); "uas" "usb-storage") rest))) This works if I use --skip-checks. But with checks it gives me the same err= or as above, changing the initrd-modules line to: (initrd-modules (append (list "uas" "usb_storage" "raid0" "raid1") Gives the following error: The following derivations will be built: /gnu/store/p5sash3cqywp5kmb9dwh8kbxy0rrdmc0-system.drv /gnu/store/g7pfwc7386x1bxf5pdv5nh1xz6ywxgxm-grub.cfg.drv /gnu/store/w57aw36wpc0388aa1frkj7h7qh8xac6z-parameters.drv /gnu/store/kh9v5z295kz4p79q3kancdv8d86n3cxr-linux-modules.drv /gnu/store/pbrj245mgv9zcy3shid348n8qdpv468v-init.drv /gnu/store/mvl7lb92g39d0qw08r2l2qiysvdf0sgs-raw-initrd.drv Backtrace: 6 (primitive-load "/gnu/store/hj17134gdpixdpif8nljwyh31k1?") In ice-9/eval.scm: 619:8 5 (_ #f) 626:19 4 (_ #) 293:34 3 (_ #) In srfi/srfi-1.scm: 592:29 2 (map1 _) 592:17 1 (map1 ("usb_storage" "raid0" "raid1" "ahci" "usb-sto?" ?)) In unknown file: 0 (scm-error misc-error #f "~A ~S ~S" ("module not fo?" ?) ?) ERROR: In procedure scm-error: module not found "usb_storage.ko" "/gnu/store/khxmq6p1470171537z8agikiqmi469jr-linux-libre-4.17/lib/modules" builder for `/gnu/store/kh9v5z295kz4p79q3kancdv8d86n3cxr-linux-modules.drv' failed with exit code 1 cannot build derivation `/gnu/store/pbrj245mgv9zcy3shid348n8qdpv468v-init.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/mvl7lb92g39d0qw08r2l2qiysvdf0sgs-raw-initrd.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/g7pfwc7386x1bxf5pdv5nh1xz6ywxgxm-grub.cfg.drv': 1 dependencies couldn't be built guix system: error: build failed: build of `/gnu/store/g7pfwc7386x1bxf5pdv5nh1xz6ywxgxm-grub.cfg.drv' failed --Sig_/Ud4YJNEyyBZbSHdrUxpATPS Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEJpQ8ER/dPhCuYhy5z+UMpbuBoZAFAltEmtkACgkQz+UMpbuB oZCkVA//ZZ/Y72Jp/eMsch/+L5yW+GwvM5I30RcAuU0yBRnuP9D/cVZu/tjK+fTw Q6hyLhUSlXYZYMp0QqDls5Q8vGPI90LPnR72nrGG6ZiNqFqHBl7L0VEcFczKG5XX MME6jU38rxle9J+TMmJRM+pnvZvwUreFDCSVQBAelJchty5hMKWeo6dBNrWHyOdu 6vrrrsl/wL7Zj0+W5YFnhVvXIkqL2vjEoM7I8LDYNAfCoNX6dGiERxMaRB/m85oP n7qlWC10ZI8bDdjeH+344ocmPbes8woISXS6U8QNRzPLe901v4ANGI7ZZT+UpTKO gE5ku4UAA//KVsBi5mRvlFbktwV1iTIqAos8cYZF1irD91gOIwyAPyHVq3R3ZahR His4Dboe4fFUR17/m+kO8fgTSypXvfsVnyziIO4RLbV4nUPXPEE9x5DyJOOj5/9a GpcP4m4JxsU22ozRlCnQOrutAdOCiz/CW9GsuZ+Z/Fwtv7JKhF5Xn12Yt3WsKH8a xmkzv5GSVghsaugRiTofejUL4yQSvR4cQ1nOVQHh0um7zgB+wAw1XAG8kWwrg5GY QhxA0UkgliUN8sKL//QNNmPtioe4GREa7aad2NI616ErwJS88/Z+l0yrBuvig0Ha 6vAEYEOx6eavWaS8fVBSp4vACP/OF54dGJftCIT6LXRiipZst7k= =IlhH -----END PGP SIGNATURE----- --Sig_/Ud4YJNEyyBZbSHdrUxpATPS--