Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KHh1x-00039i-6q for mharc-grub-devel@gnu.org; Sat, 12 Jul 2008 11:29:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KHh1w-00039d-1i for grub-devel@gnu.org; Sat, 12 Jul 2008 11:29:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KHh1u-00039R-Aq for grub-devel@gnu.org; Sat, 12 Jul 2008 11:28:58 -0400 Received: from [199.232.76.173] (port=56977 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHh1u-00039O-7k for grub-devel@gnu.org; Sat, 12 Jul 2008 11:28:58 -0400 Received: from aybabtu.com ([69.60.117.155]:49693) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KHh1t-0000rZ-W8 for grub-devel@gnu.org; Sat, 12 Jul 2008 11:28:58 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KHgx2-0003eQ-9B for grub-devel@gnu.org; Sat, 12 Jul 2008 17:23:58 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1KHh0y-0001OF-Qf for grub-devel@gnu.org; Sat, 12 Jul 2008 17:28:00 +0200 Date: Sat, 12 Jul 2008 17:28:00 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080712152800.GB5235@thorin> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: 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, 12 Jul 2008 15:29:00 -0000 Any comments on this? I'm inclined to remove the check (or disable it, or turn it into a warning), but I'd like to hear what everyone else thinks first. On Sat, Jul 05, 2008 at 12:32:05PM +0000, Sam Morris wrote: > 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 > this problem; they are (hd1,2) and (hd3,2). > > If I comment out this check then I can boot normally. Robert things GRUB > is being too conservative here; perhaps this check should be removed? > > Index: disk/raid.c > =================================================================== > --- disk/raid.c (revision 1691) > +++ disk/raid.c (working copy) > @@ -440,18 +440,6 @@ > > return 0; > } > - > - if (array->device[sb.this_disk.number] != 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; > - } > } > > /* Add an array to the list if we didn't find any. */ > > > -- > Sam Morris > http://robots.org.uk/ > > PGP key id 1024D/5EA01078 > 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078 > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Robert Millan I know my rights; I want my phone call! What good is a phone call… if you are unable to speak? (as seen on /.)