From: Danny Milosavljevic <dannym@scratchpost.org>
To: Jelle Licht <jlicht@fsfe.org>
Cc: guix-devel@gnu.org
Subject: Re: Loading modules built using linux-module-build-system
Date: Mon, 21 Oct 2019 20:27:33 +0200 [thread overview]
Message-ID: <20191021202733.3c340770@scratchpost.org> (raw)
In-Reply-To: <877e8snntp.fsf@jlicht.xyz>
[-- Attachment #1: Type: text/plain, Size: 1585 bytes --]
Hi,
On Tue, 09 Jul 2019 00:50:10 +0200
Jelle Licht <jlicht@fsfe.org> wrote:
> I have verified this way of loading modules to work, but was wondering
> whether we should rather provide a `out-of-tree-kernel-module' service
> of sorts to do this.
>
> To resolve out-of-tree kernel module dependencies, I guess we would need
> to construct a union of all outputs so we can pass along one value for
> LINUX_MODULE_DIRECTORY that contains all out-of-tree modules that might
> be needed for one invocation of modprobe.
That sounds like a strange special-casing of out-of-tree modules.
What prevents us from presenting the union
as /run/current-system/kernel/lib/modules in the first place?
That would allow everyone, including all programs on the system and the initrd,
to use all modules.
Them being in-tree or out-of-tree is a technical detail that should be of no
technical consequence to anyone.
I suggest to add a field to the operating-system declaration that
lists all the packages that contain loadable kernel modules. We could
also just make operating-system-kernel be a list--which would be the
most direct way I guess. After all, "the" kernel consists of all those
modules and the zImage--also in RAM in kernel space while using the stuff.
That said, extensibility would be nice--if services could request what
kernel modules to add to the operating-system.
P.S.
How's that supposed to work with the Hurd?
I'd guess they are even more modular than this.
If we add kernel modularity, might as well also take into account the Hurd.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2019-10-21 18:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-08 22:50 Loading modules built using linux-module-build-system Jelle Licht
2019-10-21 15:30 ` Jelle Licht
2019-10-21 18:27 ` Danny Milosavljevic [this message]
2019-10-21 18:49 ` Danny Milosavljevic
2019-10-21 21:39 ` Danny Milosavljevic
2019-10-22 12:24 ` Ludovic Courtès
2019-11-14 16:31 ` Danny Milosavljevic
2019-11-17 20:35 ` Ludovic Courtès
2019-12-22 20:06 ` Danny Milosavljevic
2019-12-30 18:55 ` Ludovic Courtès
2019-10-22 6:52 ` Giovanni Biscuolo
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191021202733.3c340770@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
--cc=jlicht@fsfe.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.
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.