unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: "help-guix@gnu.org" <help-guix@gnu.org>
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	[thread overview]
Message-ID: <87d0t8xh5a.fsf@ambrevar.xyz> (raw)

[-- Attachment #1: Type: text/plain, Size: 2499 bytes --]

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 (_ #<directory (guile-user) 7cc140>)
   293:34  9 (_ #(#<directory (guile-user) 7cc140> #<procedure loo?>))
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/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

             reply	other threads:[~2018-09-20 16:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-20 16:33 Pierre Neidhardt [this message]
2018-09-24 15:28 ` Custom kernel error: kernel module not found "xts" "/gnu/store/...-linux-custom-4.14.69/lib/modules" Ludovic Courtès
2018-09-24 16:35   ` Pierre Neidhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0t8xh5a.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).