Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GcruJ-0003uG-3F for mharc-grub-devel@gnu.org; Wed, 25 Oct 2006 19:11:35 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GcruG-0003rN-Cz for grub-devel@gnu.org; Wed, 25 Oct 2006 19:11:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GcruF-0003qY-LX for grub-devel@gnu.org; Wed, 25 Oct 2006 19:11:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GcruF-0003qH-FO for grub-devel@gnu.org; Wed, 25 Oct 2006 19:11:31 -0400 Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GcruE-0003Au-U2 for grub-devel@gnu.org; Wed, 25 Oct 2006 19:11:31 -0400 Received: from tschwinge by fencepost.gnu.org with local (Exim 4.34) id 1GcruE-0000Z1-73 for grub-devel@gnu.org; Wed, 25 Oct 2006 19:11:30 -0400 Date: Thu, 26 Oct 2006 01:11:30 +0200 From: Thomas Schwinge To: grub-devel@gnu.org Message-ID: <20061025231130.GN6928@fencepost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W4pDZ/VvazBYHhxQ" Content-Disposition: inline X-Homepage: http://nic-nac-project.de/~schwinge/ User-Agent: Mutt/1.5.6+20040907i Subject: Why the lvm module didn't work for me... X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2006 23:11:33 -0000 --W4pDZ/VvazBYHhxQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello! On the first encounter this is just too funny: Jeroen's lvm module didn't work for me... Because I didn't have a floppy in my floppy drive. Ha! :-) Trace: `insmod (hd0,1)/grub2/lvm.mod'. disk/lvm.c #v+ GRUB_MOD_INIT(lvm) { grub_device_iterate (&grub_lvm_scan_device); grub_disk_dev_register (&grub_lvm_dev); } #v- First relevant action of grub_device_iterate: call grub_lvm_scan_device with ``fd0''. The floppy driver clatters, but there's no disk in, so the grub_disk_read in grub_lvm_scan_device will fail, fall through to `fail' and return. As it got a bit late now and I don't find the (perhaps) obvious, I'll have to stop here for now. The short story is that things then somehow go wrong so that further devices (``hd0'', etc.) will not be probed for lvm signatures and thusly no lvm devices are ever detected. More tomorrow. Regards, Thomas --W4pDZ/VvazBYHhxQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFFP+8igfzh735dTTURArWsAKDH4wdBP7Uokb92Qa54cEdexSeZNgCfVzH7 OGolQUPGPtS0vBuHCPAO1Kw= =JkKa -----END PGP SIGNATURE----- --W4pDZ/VvazBYHhxQ--