all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Kernel modules
@ 2018-01-21 13:55 Johannes Laute
  2018-01-22  6:34 ` Chris Marusich
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Laute @ 2018-01-21 13:55 UTC (permalink / raw)
  To: help-guix

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

How would I go about adding kernel modules permanently to my GuixSD system?

Currently I think I need to:

1. write a package definition that install the module to the store
2. install that package
3. tell GuixSd somehow to load the module on boot

How do I do 3. ?

Also if there's a good example in the source code, please point to it. (I
looked at the nouveau video driver, but it is just using a plain gnu build
system and that's it)

Johannes

[-- Attachment #2: Type: text/html, Size: 597 bytes --]

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

* Re: Kernel modules
  2018-01-21 13:55 Kernel modules Johannes Laute
@ 2018-01-22  6:34 ` Chris Marusich
  2018-01-25 14:43   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Marusich @ 2018-01-22  6:34 UTC (permalink / raw)
  To: Johannes Laute; +Cc: help-guix

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

Johannes Laute <j.laute3@googlemail.com> writes:

> How would I go about adding kernel modules permanently to my GuixSD system?

This is discussed in the following section of the manual:

  (guix) Initial RAM Disk

For example, you can specify extra kernel modules to load in the initrd
via the #:extra-modules keyword argument to the 'base-initrd'
procedure.

Hope that helps get you started!

-- 
Chris

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

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

* Re: Kernel modules
  2018-01-22  6:34 ` Chris Marusich
@ 2018-01-25 14:43   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2018-01-25 14:43 UTC (permalink / raw)
  To: Chris Marusich; +Cc: help-guix

Hello,

Chris Marusich <cmmarusich@gmail.com> skribis:

> Johannes Laute <j.laute3@googlemail.com> writes:
>
>> How would I go about adding kernel modules permanently to my GuixSD system?
>
> This is discussed in the following section of the manual:
>
>   (guix) Initial RAM Disk
>
> For example, you can specify extra kernel modules to load in the initrd
> via the #:extra-modules keyword argument to the 'base-initrd'
> procedure.

Note that this section of the manual is about loading modules from the
initrd.

My understanding is that Johannes would instead like to have out-of-tree
modules (modules not part of linux-libre) loadable once the system is
booted.  Is that correct?

In that case you’d need to arrange to have these modules in
$LINUX_MODULE_DIRECTORY.  There’s currently no easy way to do that, but
this could be added.

HTH!

Ludo’.

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

end of thread, other threads:[~2018-01-25 14:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-21 13:55 Kernel modules Johannes Laute
2018-01-22  6:34 ` Chris Marusich
2018-01-25 14:43   ` Ludovic Courtès

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.