Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Hq6ul-00066e-5U for mharc-grub-devel@gnu.org; Mon, 21 May 2007 08:23:03 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hq6uk-00066T-2I for grub-devel@gnu.org; Mon, 21 May 2007 08:23:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hq6uh-00065L-J5 for grub-devel@gnu.org; Mon, 21 May 2007 08:23:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hq6uh-00065H-DS for grub-devel@gnu.org; Mon, 21 May 2007 08:22:59 -0400 Received: from crypt.ethx.net ([82.165.27.140]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hq6uh-0004lf-1O for grub-devel@gnu.org; Mon, 21 May 2007 08:22:59 -0400 Received: from 62-31-146-25.cable.ubr12.azte.blueyonder.co.uk ([62.31.146.25] helo=xerces) by crypt.ethx.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Hq6uW-0003Lv-9d; Mon, 21 May 2007 13:22:48 +0100 Received: from sam by xerces with local (Exim 4.63) (envelope-from ) id 1Hq6vK-00086j-DJ; Mon, 21 May 2007 13:23:38 +0100 From: Sam Morris To: Jeroen Dekkers In-Reply-To: <877ir2v3gd.wl@dekkers.cx> References: <20070509151643.GB16077@aragorn> <1178725065.4102.65.camel@xerces> <20070509161344.GA25183@aragorn> <1179004601.3922.4.camel@xerces> <1179054146.4014.9.camel@xerces> <20070513164407.GA11143@aragorn> <20070518065137.GA2485@aragorn> <1179535793.4466.3.camel@xerces> <20070519093336.GA19265@aragorn> <1179575266.4466.5.camel@xerces> <20070519121051.GA7186@aragorn> <1179580232.4542.8.camel@xerces> <1179584038.4145.10.camel@xerces> <877ir2v3gd.wl@dekkers.cx> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-C/m132XwZPHeIZDUkCc+" Date: Mon, 21 May 2007 13:23:38 +0100 Message-Id: <1179750218.4178.17.camel@xerces> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 X-Spam-Bars: - X-detected-kernel: Linux 2.6 (newer, 3) Cc: grub-devel@gnu.org, 423022@bugs.debian.org, Thomas Stewart , Robert Millan Subject: Re: Bug#423022: Bug#422851: "grub-probe -t partmap" doesn't work with software RAID 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: Mon, 21 May 2007 12:23:02 -0000 --=-C/m132XwZPHeIZDUkCc+ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2007-05-21 at 13:08 +0200, Jeroen Dekkers wrote: > At Sat, 19 May 2007 15:13:58 +0100, > Sam Morris wrote: > > In addition, it would be nice if the 'out of disk' error could be > > deferred until grub actually tries to read a block that is out of range= , > > as grub-legacy does=20 >=20 > The problem is that it actually tries to do that, because the RAID > superblock is located at the end of the partition. Oh, good point. My only remaining point of confusion is how I am able to access the (md0) device fine from within grub, since it can't read the superblocks. Does it just assume that any pc partitions of type 0xfd with unreadable superblocks are part of a RAID 1 array, or is it possible that something else is going on? My array is made up of partitions on two disks; the first is the primary master on the motherboard's ATA controller, and the second is on a Promise PCI card. Now, AFAIK the promise card cannot do 48-bit LBA addressing without a bios flash that I never applied. But is it possible that my motherboard's controller is able to do 48-bit addressing? If this were the case it would explain how grub is able to access an (md0) device (via the fully-readable (hd0,2) device), and also where the 'out of disk' error comes from (from trying to read the superblock of (hd3,2)). If this is the case, it would be nice if the raid module would only throw a warning if some of the component devices could not be added to a RAID1 array. --=20 Sam Morris http://robots.org.uk/ PGP key id 1024D/5EA01078 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078 --=-C/m132XwZPHeIZDUkCc+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGUY9Kshl/216gEHgRAr3PAJ9QEIGeETCrrEckzEzY+YKXWf0mFQCg9fFF pdxULI/fWw0F166trOzXrh8= =aEtQ -----END PGP SIGNATURE----- --=-C/m132XwZPHeIZDUkCc+--