From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euQlA-0002Yj-CR for guix-patches@gnu.org; Fri, 09 Mar 2018 17:45:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euQl5-0003Sz-G7 for guix-patches@gnu.org; Fri, 09 Mar 2018 17:45:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:45021) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1euQl5-0003Sn-C3 for guix-patches@gnu.org; Fri, 09 Mar 2018 17:45:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1euQl4-0005sA-Ak for guix-patches@gnu.org; Fri, 09 Mar 2018 17:45:03 -0500 Subject: [bug#30604] [PATCH v8 3/7] linux-boot: Load kernel modules only when the hardware is present. Resent-Message-ID: Date: Fri, 9 Mar 2018 23:44:34 +0100 From: Danny Milosavljevic Message-ID: <20180309234434.2bf5e3ff@scratchpost.org> In-Reply-To: <20180309231320.20a02822@scratchpost.org> References: <20180302153408.14091-1-dannym@scratchpost.org> <20180303135533.6112-1-dannym@scratchpost.org> <20180303135533.6112-4-dannym@scratchpost.org> <87sh9g4vy1.fsf@gnu.org> <20180304133444.4edceecd@scratchpost.org> <87muzgykcl.fsf@gnu.org> <20180309231320.20a02822@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/ZpJsqZ5m19SZZ_H8+EhNO.v"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30604@debbugs.gnu.org --Sig_/ZpJsqZ5m19SZZ_H8+EhNO.v Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, sorry for the many e-mails - I'm recollecting all the workarounds :) >--8<---------------cut here---------------start------------->8--- >loading '/gnu/store/n2zvdxp25kvg7wy5xr1y5n9r4502fw80-linux-vm-loader'... >environment variable `PATH' set to `/gnu/store/vxl918zb9brnrgaipzsykpy3mzc= afvcr-qemu-minimal-2.11.1/bin:/gnu/store/lvkaf3xlvy57bvap51xlzb209ilbkgcv-p= arted-3.2/sbin:/>gnu/store/nm305rpb2mvridkyj4l3636nc9ql4lf9-e2fsprogs-1.43.= 6/bin:/gnu/store/nm305rpb2mvridkyj4l3636nc9ql4lf9-e2fsprogs-1.43.6/sbin:/gn= u/>store/0sq2nflm42x0znkv44add0gk82khkcb6-dosfstools-4.1/sbin:/gnu/store/0h= l513mnpkhszm2hjai2w9cxmpxs0vgq-sed-4.4/bin:/gnu/store/1h44pkgdd7n6s3i2vjh54= awsvfmc219j->grep-3.1/bin:/gnu/store/kgzvfby2ggi1xawsh5vjh4s93qk2dp9k-coreu= tils-8.28/bin:/gnu/store/k7r2m2wgj8x8jjhccwjsiimp0dlzxb7i-findutils-4.6.0/b= in:/gnu/store/>ahxc89r6npzf2bbl8yg5vdjicskzzjf3-gawk-4.1.4/bin' >creating partition table with 2 partitions (20.0 MiB, 40.0 MiB)... >Warning: The resulting partition is not properly aligned for best performa= nce. >creating ext4 partition... ... [ 3.235493] FAT-fs (vda2): IO charset iso8859-1 not found ERROR: In procedure mount: In procedure mount: Invalid argument --8<---------------cut here---------------end--------------->8--- >Here the nls_iso8859-1 module doesn=E2=80=99t get loaded and modprobe isn= =E2=80=99t even >invoked, although my understanding is that it should (per =E2=80=98load_nl= s=E2=80=99 in >nls_base.c in the kernel, called from vfat/inode.c). Yeah, that was an evil problem. There are two different ways linux-boot can boot: * Either it loads a full system in which case /run/booted-system will contain kernel module files which can and will be loaded * Or it loads a "--load" file only - in which case there's no system modprobe, but switch-root just switched our pure-Guile modprobe away, so now we are out of modprobes :) --Sig_/ZpJsqZ5m19SZZ_H8+EhNO.v Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqjDlIACgkQ5xo1VCww uqWZ7Qf+N2/hBERWip1Lvyq6ZzPc425T5v1Jrkahu3TEoHiSJd6IxXG4A/OzqR0h CehvMgm1sIznAECajIe/4X9UFTi42yOWJZB5aauCVn11kkllTbiEJbbtkhNnScQZ FNCdyFF8Jese+aUXTpWxY0TucI6xvLwgvU6UYrRHOgND5Ug+G5ilWYTca8sFHena InbXiYP4GNOGKcPltMn/i05TMOHcnHHUg67jta8VnqEROxHFWwukWtujGxrPu548 Rgcr/o5Lu9EjKGn1zFi+WR4W1Jh2sExFh9hvdHHeox3gAfq+tivXd7vZBYnQNJ88 6v6YlrVDX9OZ7H6eCrmZmxaK1yc9Iw== =sXjo -----END PGP SIGNATURE----- --Sig_/ZpJsqZ5m19SZZ_H8+EhNO.v--