Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KFAgv-0008WV-R3 for mharc-grub-devel@gnu.org; Sat, 05 Jul 2008 12:32:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KFAgu-0008Ux-FS for grub-devel@gnu.org; Sat, 05 Jul 2008 12:32:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KFAgt-0008U3-EQ for grub-devel@gnu.org; Sat, 05 Jul 2008 12:32:51 -0400 Received: from [199.232.76.173] (port=34125 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFAgt-0008Tz-99 for grub-devel@gnu.org; Sat, 05 Jul 2008 12:32:51 -0400 Received: from mx20.gnu.org ([199.232.41.8]:22242) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KFAgs-000124-Uq for grub-devel@gnu.org; Sat, 05 Jul 2008 12:32:51 -0400 Received: from crypt.ethx.net ([82.165.27.140]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KF7NT-0007J1-Ck for grub-devel@gnu.org; Sat, 05 Jul 2008 09:00:35 -0400 Received: from [78.146.80.228] (helo=xerces) by crypt.ethx.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KF7NI-0005ZN-Q7 for grub-devel@gnu.org; Sat, 05 Jul 2008 14:00:25 +0100 Received: from sam by xerces with local (Exim 4.69) (envelope-from ) id 1KF7NH-0001Kn-DD for grub-devel@gnu.org; Sat, 05 Jul 2008 14:00:23 +0100 From: Sam Morris To: grub-devel@gnu.org Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ZP+E3g5/3axxp97YmkqC" Date: Sat, 05 Jul 2008 14:00:23 +0100 X-Mailer: Evolution 2.22.2 X-Spam-Bars: / X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Found two disks with the same number 0?!? 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: Sat, 05 Jul 2008 16:32:52 -0000 --=-ZP+E3g5/3axxp97YmkqC Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On my raid1-using system, I get the following error at boot: error: Found two disks with the number 0?!? Robert Millan suggested I apply a patch to print out the two disks with=20 this problem; they are (hd1,2) and (hd3,2). If I comment out this check then I can boot normally. Robert things GRUB=20 is being too conservative here; perhaps this check should be removed? Index: disk/raid.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- disk/raid.c (revision 1691) +++ disk/raid.c (working copy) @@ -440,18 +440,6 @@ =20 return 0; } - =20 - if (array->device[sb.this_disk.number] !=3D NULL) - { - /* We found multiple devices with the same number. Again, - this shouldn't happen.*/ - - grub_error (GRUB_ERR_BAD_NUMBER, - "Found two disks with the number %d?!?", - sb.this_disk.number); - - return 0; - } } =20 /* Add an array to the list if we didn't find any. */ --=20 Sam Morris http://robots.org.uk/ =20 PGP key id 1024D/5EA01078 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078 --=-ZP+E3g5/3axxp97YmkqC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkhvcGIACgkQshl/216gEHji2ACgwkTLl9oA89tkt2UCS5dcAJz1 9M4AoLNpYx6QcStK4Mlrgl/3tjOI6vP/ =X1dx -----END PGP SIGNATURE----- --=-ZP+E3g5/3axxp97YmkqC--