From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Custom kernel error: kernel module not found "xts" "/gnu/store/...-linux-custom-4.14.69/lib/modules" Date: Thu, 20 Sep 2018 18:33:53 +0200 Message-ID: <87d0t8xh5a.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g31tv-00011m-Vb for help-guix@gnu.org; Thu, 20 Sep 2018 12:34:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g31ts-0003Z8-Lo for help-guix@gnu.org; Thu, 20 Sep 2018 12:33:59 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:41635) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g31ts-0003YX-Eq for help-guix@gnu.org; Thu, 20 Sep 2018 12:33:56 -0400 Received: from mimimi (unknown [88.190.253.40]) (Authenticated sender: mail@ambrevar.xyz) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id E61D51C0008 for ; Thu, 20 Sep 2018 16:33:54 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: "help-guix@gnu.org" --=-=-= Content-Type: text/plain Hi Guix! I'm working on a building a custom kernel for my laptop. I've used the instructions given by Ludo in an older mail: https://lists.gnu.org/archive/html/help-guix/2016-07/msg00166.html So far so good. I've generated a .config with Linux' `make menuconfig`. My experience with menuconfig mostly dates back from my days on Gentoo, so I'm not sure how much applies to GuixSD. When building, I run into a sequence of errors: --8<---------------cut here---------------start------------->8--- ... phase `compress-documentation' succeeded after 0.0 seconds substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100.0% The following derivations will be built: /gnu/store/hjwj30a2g5q5msgavcf2hin2xm6i53bj-system.drv /gnu/store/rkbkwijai8bi053qysvd2grckkf97c06-grub.cfg.drv /gnu/store/wvahc3jc4v80jdilizsa13sv7biwi1gf-linux-modules.drv /gnu/store/02zbl4j4svycqp8csr0m1ixbbvcxwl9f-init.drv /gnu/store/k03h3ry4nrsv8phyphmxrqr5c69j9f7w-parameters.drv /gnu/store/vhqsgknpamjsl2c36a2z20snjqik5q2p-raw-initrd.drv Backtrace: 12 (primitive-load "/gnu/store/c9z5pkc2kv416wgjkqpjpp4lypr?") In ice-9/eval.scm: 619:8 11 (_ #f) 626:19 10 (_ #) 293:34 9 (_ #(# #)) In srfi/srfi-1.scm: 592:29 8 (map1 _) 592:29 7 (map1 _) 592:29 6 (map1 ("uas" "usbhid" "hid-generic" "hid-apple" "dm-?" ?)) 592:29 5 (map1 ("usbhid" "hid-generic" "hid-apple" "dm-crypt" # ?)) 592:29 4 (map1 ("hid-generic" "hid-apple" "dm-crypt" "xts" "s?" ?)) 592:29 3 (map1 ("hid-apple" "dm-crypt" "xts" "serpent_generic" ?)) 592:29 2 (map1 ("dm-crypt" "xts" "serpent_generic" "wp512" "n?" ?)) 592:17 1 (map1 ("xts" "serpent_generic" "wp512" "nls_iso8859-1" ?)) In unknown file: 0 (scm-error misc-error #f "~A ~S ~S" ("kernel module?" ?) ?) ERROR: In procedure scm-error: kernel module not found "xts" "/gnu/store/n1fvlgqq3cmfpy120y6ladw0k229y435-linux-custom-4.14.69/lib/modules" ... --8<---------------cut here---------------end--------------->8--- Note that the build runs fine but install fails. If I edit my .config to include the missing module (here "xts") then the next rebuilt will fail on the next missing module. Including the module into the kernel ("y" instead of "m") does not work. The list of module does not match the expectation I guess but I don't know what Guix is trying to do here. Insights? -- Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlujy/EACgkQm9z0l6S7 zH/Jcwf+NzTMlwEGX941rz8OXzG0zsrEb/9OBNGLZEcvLD3ePJGcOk3EhjS0Xatq XZYXglu2eO7dYc+DRcHKYxTsyFEp1U/TQSalzU2sshNtpszDKXPfvQgCwKNOotC8 uZsJb7NacbswdeiOyj2V651m4NHFuM4tzc1VUF5JP6jBPuol90cfvDJzLeU1qNU6 U/H8aOA2gm/7LqG2Hr1Z2t55PCXtfX5/1LmTV2mHdr7aFut+IcrwVrvbYpfd54Ft gFc5wtfc+sAr/oBI0ZrPk68I2wLIEDQUhPzedYQddf07O67IuaVc2V+TQw4nfhPF zgif3BW2GGlGLuAwvMvXj2x5gIOOBA== =RJ6o -----END PGP SIGNATURE----- --=-=-=--