Hello, Nice patch series! Danny Milosavljevic skribis: > * gnu/build/linux-boot.scm (boot-system): Load kernel modules only when > the hardware is present. > * gnu/system/linux-initrd.scm (raw-initrd): Add imports. [...] > + (define (load-kernel-modules) > + "Examine /sys/devices to find out which modules to load and load them." > + (define enter? > + (const #t)) > + (define (down! path stat result) > + ;; Note: modprobe mutates the tree starting with path. > + (let ((modalias-name (string-append path "/modalias"))) > + (if (file-exists? modalias-name) > + (let ((modalias > + (string-trim-right (call-with-input-file modalias-name > + read-string) > + #\newline))) > + (system* "/sbin/modprobe" "-q" "--" modalias)))) Can we build upon (gnu build linux-modules) to achieve this? Hopefully the tools at can help a bit. Thanks, Ludo’.