From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#24129: RAID config boot hangs at [...] Clocksource: Switched to clocksource tsc Date: Tue, 02 Aug 2016 13:55:24 +0200 Message-ID: <87mvkvxu4z.fsf@gnu.org> References: <8660rklyzq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUYIp-000632-Ff for bug-guix@gnu.org; Tue, 02 Aug 2016 07:56:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUYIk-0008U4-43 for bug-guix@gnu.org; Tue, 02 Aug 2016 07:56:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUYIk-0008Tu-0A for bug-guix@gnu.org; Tue, 02 Aug 2016 07:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bUYIj-0007sZ-Qf for bug-guix@gnu.org; Tue, 02 Aug 2016 07:56:01 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <8660rklyzq.fsf@gmail.com> (myglc2@gmail.com's message of "Mon, 01 Aug 2016 21:51:21 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: myglc2 Cc: 24129-done@debbugs.gnu.org myglc2 skribis: > After a couple helpful exchanges with Andreas on the devel list, I ended > up with system40.scm, attached, excerpt below: > > (define md0 > (mapped-device > (source (list "/dev/sdb1" "/dev/sdc1")) > (target "/dev/md0") > (type raid-device-mapping))) > (operating-system > (host-name "g1") > (timezone "America/New_York") > (locale "en_US.utf8") > (bootloader (grub-configuration (device "/dev/sda"))) > (mapped-devices (list md0)) > ;; Add a kernel module for RAID-1. > (initrd (lambda (file-systems . rest) > (apply base-initrd file-systems > #:extra-modules '("raid1") > rest))) > (file-systems (cons* > (file-system > (device "ssd-root") > (title 'label) > (mount-point "/") > (type "ext4")) > (file-system > (title 'device) > (device "/dev/md0") > (dependencies (list md0)) > (mount-point "/mnt/md0") > (create-mount-point? #t) > (type "ext4")) > %base-file-systems)) > > > Here the intent is to have the array assembled and mounted after the > boot. It looked promissing when 'guix system reconfigure system40.scm' > assembled and mounted the array (see system40.log). But on reboot the > system hangs with the console showing: > > [...] clocksource: Switched to clocksource tsc > > And /var/log/sheperd.log contains: > > 2016-08-01 18:15:13 Service root has been started. > 2016-08-01 18:15:13 ERROR: In procedure scm-error: > 2016-08-01 18:15:13 ERROR: no code for module (gnu build file-systems) I believe this is fixed by dfe06f6e7f486eb42a2b71e9d0ae52dfe8e3bb26. > 2016-08-01 18:15:13 Entering a new prompt. Type `,bt' for a backtrace or= `,q' to continue. > 2016-08-01 18:15:13 GNU Guile 2.0.11 > 2016-08-01 18:15:13 Copyright (C) 1995-2014 Free Software Foundation, Inc. > 2016-08-01 18:15:13=20 > 2016-08-01 18:15:13 Guile comes with ABSOLUTELY NO WARRANTY; for details = type `,show w'. > 2016-08-01 18:15:13 This program is free software, and you are welcome to= redistribute it > 2016-08-01 18:15:13 under certain conditions; type `,show c' for details. > 2016-08-01 18:15:13=20 > 2016-08-01 18:15:13 Enter `,help' for help. This is another bug that has yet to be fixed: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23697 Thanks for your report! Ludo=E2=80=99.