From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: Re: Kernel modules in initrd Date: Thu, 22 Feb 2018 22:29:25 +0100 Message-ID: <87371sg1ca.fsf@gnu.org> References: <20180222211707.GB9758@jurong> 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]:33510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoyQs-0004GD-V4 for guix-devel@gnu.org; Thu, 22 Feb 2018 16:29:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoyQr-0002p1-QW for guix-devel@gnu.org; Thu, 22 Feb 2018 16:29:38 -0500 In-Reply-To: <20180222211707.GB9758@jurong> (Andreas Enge's message of "Thu, 22 Feb 2018 22:17:07 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge writes: > The problem turned out to be that the disk of the machine needed special > kernel modules, and adding > (initrd (lambda (file-systems . rest) > (apply base-initrd file-systems > #:extra-modules '("mptbase" "mptsas" "mptscsih") > rest))) > to the operating-system declaration solved the problem. Sounds familiar, when installing GuixSD on older hardware, I needed these (initrd (lambda (file-systems . rest) (apply base-initrd file-systems #:extra-modules '("pata_via" "pata_acpi" "sata_via") rest))) > However, it took us quite some time and several trials to diagnose the > problem in the first place. Yes. > So I wonder: > 1) Could we add more kernel modules to the base-initrd, whenever people > report that new ones are needed? For instance, the berlin server has > modules (list "megaraid_sas" "libsas" "scsi_transport_sas"). > 2) Better yet, since we managed to boot on the USB key and see the disk: > Why not have the same modules in the initrd of the installation image > and of the installed default system? Not being able to see the disk > in the beginning would at least have made the process fail early on, > and moreover there seem to be more modules on the USB key. And what > fits onto a 1 GB USB key should also easily fit on a hard disk... > > What do you think? I'm not experienced in this, otoh if things "just work", that's always nice. janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com