[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] linux-initrd: Add AHCI modules.

From: David Thompson
Subject: [PATCH] linux-initrd: Add AHCI modules.
Date: Fri, 18 Jul 2014 11:39:45 -0400
User-agent: Notmuch/0.18 ( Emacs/24.3.1 (x86_64-pc-linux-gnu)

One problem that Mark Weaver and I encountered when intalling the GNU
system on our Thinkpad X60s was that initrd couldn't boot from our SATA
hard disks without passing additional kernel modules in the
operating-system declaration.  I think it would make a lot of sense to
have these modules loaded by default, given the widespread use of SATA

I doubt that hardcoding the AHCI module names into linux-modules is the
preferred way to do this, but I wanted to propose something simple to
get the discussion started. :)


>From 2c9599720a8646a79fb3cb9517f7f0e6f1bfa25f Mon Sep 17 00:00:00 2001
From: David Thompson <address@hidden>
Date: Fri, 18 Jul 2014 11:03:02 -0400
Subject: [PATCH] linux-initrd: Add AHCI modules.

* gnu/system/linux-initrd (linux-modules): Add them.
 gnu/system/linux-initrd.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm
index 9e39f2d..62f95c5 100644
--- a/gnu/system/linux-initrd.scm
+++ b/gnu/system/linux-initrd.scm
@@ -249,7 +249,8 @@ exception and backtrace!)."
   (define linux-modules
     ;; Modules added to the initrd and loaded from the initrd.
-    `(,@(if (or virtio? qemu-networking?)
+    `("libahci.ko" "ahci.ko" ; modules for SATA controllers
+      ,@(if (or virtio? qemu-networking?)
       ,@(if (find (file-system-type-predicate "cifs") file-systems)

David Thompson
Web Developer - Free Software Foundation -
GPG Key: 0FF1D807
Support the FSF:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]