all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Kernel module build error with system image cross-build
@ 2022-07-28  0:59 Frank Terbeck
  2022-08-23 16:57 ` Frank Terbeck
  0 siblings, 1 reply; 5+ messages in thread
From: Frank Terbeck @ 2022-07-28  0:59 UTC (permalink / raw)
  To: help-guix

Good day, good people!

I've  been playing  around with  building guix  images for  a beaglebone
black board that's been catching dust in  my flat. I've been giving it a
go with the template from guix's git repository, like this:

  guix system image --target=arm-linux-gnueabihf ~/src/guix/gnu/system/examples/beaglebone-black.tmpl

After a while, this breaks like this:

  […]
  building /gnu/store/nv461zd7rs6mhns9s3jx4v65ln3jsrv7-linux-modules.drv...
  builder for `/gnu/store/nv461zd7rs6mhns9s3jx4v65ln3jsrv7-linux-modules.drv' failed with exit code 1
  build of /gnu/store/nv461zd7rs6mhns9s3jx4v65ln3jsrv7-linux-modules.drv failed
  View build log at '/var/log/guix/drvs/nv/461zd7rs6mhns9s3jx4v65ln3jsrv7-linux-modules.drv.gz'.
  […]
  guix system: error: build of `/gnu/store/lqwjj7fjf235psw2br5i8y10cm22pq4l-disk-image.drv' failed


The build log looks like this:

  Backtrace:
             5 (primitive-load "/gnu/store/axmhy07daha215gwbqghh39k7ja?")
  In ice-9/eval.scm:
      619:8  4 (_ #f)
     626:19  3 (_ #<directory (guile-user) 7ffff3fd7c80>)
     293:34  2 (_ #(#<directory (guile-user) 7ffff3fd7c80> #<procedu?>))
  In srfi/srfi-1.scm:
     586:17  1 (map1 ("omap_hsmmc" "ahci" "usb-storage" "uas" "usbh?" ?))
  In gnu/build/linux-modules.scm:
      257:5  0 (_)

  gnu/build/linux-modules.scm:257:5: kernel module not found "omap_hsmmc" "/gnu/store/rslz7zlq11wjnvixzfasyvr4b6rv2m7j-linux-libre-5.18.14/lib/modules"


I am not at all familiar with how the kernel (and its modules) build au-
tomation in guix works, so I am  not sure how to approach this.

FWIW, the host system in this case is x86_64, so this is a cross-build.


Any ideas would be appreciated.


Regards, Frank


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-26 15:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-28  0:59 Kernel module build error with system image cross-build Frank Terbeck
2022-08-23 16:57 ` Frank Terbeck
2022-08-25  8:42   ` pelzflorian (Florian Pelz)
2022-08-25 23:08     ` Frank Terbeck
2022-08-26 14:50       ` pelzflorian (Florian Pelz)

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.