From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Kernel modules in initrd Date: Thu, 22 Feb 2018 22:17:07 +0100 Message-ID: <20180222211707.GB9758@jurong> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoyEs-0002ST-6n for guix-devel@gnu.org; Thu, 22 Feb 2018 16:17:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoyEp-0004iY-1O for guix-devel@gnu.org; Thu, 22 Feb 2018 16:17:14 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44218) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eoyEo-0004hl-Pm for guix-devel@gnu.org; Thu, 22 Feb 2018 16:17:10 -0500 Content-Disposition: inline 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: guix-devel@gnu.org Hello, recently I had an unpleasant experience in installing GuixSD: After booting with the USB key and following the installation instructions, then rebooting into the installed system, the "/" file system was not found: neither using file system labels, nor device nodes. 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. However, it took us quite some time and several trials to diagnose the problem in the first place. 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? Andreas