guix-commits
[Top][All Lists]
Advanced

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

branch master updated: berlin: Add a 'rootdelay=20' kernel argument.


From: Maxim Cournoyer
Subject: branch master updated: berlin: Add a 'rootdelay=20' kernel argument.
Date: Thu, 17 Feb 2022 16:31:15 -0500

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new 714b50a  berlin: Add a 'rootdelay=20' kernel argument.
714b50a is described below

commit 714b50a8e95635761c1765d755969a2268f7de9f
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Feb 17 14:10:01 2022 -0500

    berlin: Add a 'rootdelay=20' kernel argument.
    
    Previous attempts to boot the Btrfs RAID array failed with messages
    suggesting not all the drives were ready:
    
        [   64.434898] BTRFS warning (device sdb3): chunk 98847948800 missing
        4 devices, max tolerance is 1 for writable mount
    
    Hopefully a 20 s delay is enough to allow for the drives to fully
    warm-up before they get assembled into an array by 'btrfs device
    scan'.
    
    * hydra/berlin.scm (operating-system)[kernel-arguments]: Add
    'rootdelay=20'.
    [file-systems]</mnt/old-gnu>: Do not require for boot nor auto mount.
    </mnt/old-root-fs>: Likewise.
---
 hydra/berlin.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/hydra/berlin.scm b/hydra/berlin.scm
index 466e734..804d95e 100644
--- a/hydra/berlin.scm
+++ b/hydra/berlin.scm
@@ -186,7 +186,13 @@ Happy hacking!\n"))
   ;; management interface can only be accessed through selected
   ;; servers within the MDC campus network.
   (kernel-arguments '("console=tty0"
-                      "console=ttyS0,115200"))
+                      "console=ttyS0,115200"
+                      ;; As the initrd lacks any device
+                      ;; synchronization support, give enough time for
+                      ;; the storage devices to be up before
+                      ;; attempting to assemble and mount the root
+                      ;; file system.
+                      "rootdelay=20"))
 
   ;; The Dell server need these kernel modules for the
   ;; RAID controller.
@@ -231,12 +237,16 @@ Happy hacking!\n"))
                    (device (uuid "a6455b66-59d2-40bd-bddb-0c572bb62a2f"))
                    (mount-point "/mnt/old-gnu")
                    (create-mount-point? #t)
+                   (needed-for-boot? #f)
+                   (mount? #f)
                    (type "ext4"))
                  ;; Access root file system without bind mounts.
                  (file-system
                    (device (file-system-label "my-root"))
                    (mount-point "/mnt/old-root-fs")
                    (create-mount-point? #t)
+                   (needed-for-boot? #f)
+                   (mount? #f)
                    (type "ext4"))
                  %base-file-systems))
 



reply via email to

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