all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [WIP 0/6] Add kernel-module-configuration service
@ 2020-07-04 18:52 Brice Waegeneire
  2020-07-04 18:54 ` [bug#42193] [WIP 1/6] services: simulated-wifi: Use 'kernel-module-loader' Brice Waegeneire
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Brice Waegeneire @ 2020-07-04 18:52 UTC (permalink / raw)
  To: guix-patches; +Cc: guix-devel

Hello Guix,

Here is a work-in-progress to create a service centralizing the configuration
for built-in and loadable kernel modules.  The kernel module configuration
service has been implemented by making some fields from 'operating-system'
custom from the 'services' field.

Here are are some example of how to use it.
--8<---------------cut here---------------start------------->8---
;; Loadable kernel module
(simple-service 'ddcci-module kernel-module-configuration-service-type
                   (list (kernel-module
                          (name "ddcci")
                          (package ddcci-driver-linux)
                          (load? #t)
                          (options '("dyndbg" "delay=600")))
                         (kernel-module
                          (name "ddcci-backlight")
                          (blacklist? #t))))
;; Built-in kernel module
(simple-service 'intel-module
                         kernel-module-configuration-service-type
                         (list (kernel-module
                                (name "i915")
                                (options '("fastboot=1")))))
--8<---------------cut here---------------end--------------->8---

This WIP version is mainly missing the ability to configure built-in modules
trough the kernel arguments. It's the continuation of the work on
kernel-module-loader-service[1] and is needed to help fixing #41082[2].

I will try to go back to it after the GSOC network boot project.

[1]: https://issues.guix.info/40274
[2]: https://issues.guix.info/41082

- Brice

Brice Waegeneire (6):
  services: simulated-wifi: Use 'kernel-module-loader'.
  services: Add 'kernel-profile-service-type'.
  services: Add 'modprobe-service-type'.
  services: kernel-module-loader: Return a single 'shepherd-service'.
  WIP services: Add kernel-arguments-service-type.
  WIP services: Add kernel-module-configuration service.

 gnu/services.scm               | 102 +++++++++---
 gnu/services/linux.scm         | 276 +++++++++++++++++++++++++++++----
 gnu/services/networking.scm    |  25 +--
 gnu/system.scm                 |  55 +++++--
 gnu/system/linux-container.scm |   2 +
 gnu/tests/linux-modules.scm    |  65 +++++---
 6 files changed, 420 insertions(+), 105 deletions(-)

-- 
2.26.2



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

end of thread, other threads:[~2021-01-06 18:21 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-04 18:52 [WIP 0/6] Add kernel-module-configuration service Brice Waegeneire
2020-07-04 18:54 ` [bug#42193] [WIP 1/6] services: simulated-wifi: Use 'kernel-module-loader' Brice Waegeneire
2020-07-04 18:54 ` Brice Waegeneire
2020-07-06 11:08   ` Danny Milosavljevic
2020-07-06 12:31     ` Brice Waegeneire
2020-07-04 18:54 ` [bug#42193] [WIP 2/6] services: Add 'kernel-profile-service-type' Brice Waegeneire
2020-07-08 11:29   ` pelzflorian (Florian Pelz)
2020-07-08 16:22     ` Brice Waegeneire
2020-07-11 17:30       ` pelzflorian (Florian Pelz)
2020-07-04 18:54 ` [bug#42193] [WIP 3/6] services: Add 'modprobe-service-type' Brice Waegeneire
2020-07-04 18:54 ` [bug#42193] [WIP 4/6] services: kernel-module-loader: Return a single 'shepherd-service' Brice Waegeneire
2020-07-06  0:03   ` Danny Milosavljevic
2020-07-06 10:01     ` Brice Waegeneire
2020-07-17 18:49   ` Danny Milosavljevic
2021-01-06 18:20     ` Danny Milosavljevic
2020-07-04 18:54 ` [bug#42193] [WIP 5/6] WIP services: Add kernel-arguments-service-type Brice Waegeneire
2020-07-04 18:54 ` [bug#42193] [WIP 6/6] WIP services: Add kernel-module-configuration service Brice Waegeneire

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.