On Thu, Jun 19, 2008 at 12:11:56AM +0100, Sam Morris wrote:
> On Thu, 2008-06-19 at 01:00 +0200, Robert Millan wrote:
> > On Wed, Jun 18, 2008 at 11:48:52PM +0100, Sam Morris wrote:
> > > On Wed, 2008-06-18 at 19:50 +0200, Robert Millan wrote:
> > > > On Tue, Jun 17, 2008 at 10:35:56PM +0100, Sam Morris wrote:
> > > > > On Tue, 2008-06-17 at 00:14 +0200, Robert Millan wrote:
> > > > > > On Sun, Jun 15, 2008 at 05:03:15PM +0100, Sam Morris wrote:
> > > > > > > I seem to have this problem too--however a detail that others 
> > > > > > > have not
> > > > > > > mentioned is the error message printed before I am dropped to 
> > > > > > > rescue
> > > > > > > mode:
> > > > > > > 
> > > > > > >         error: Found two discs with the number 0?!?
> > > 
> > > Whoops, it's 'disks' not 'discs'. The string is from disk/raid.c line
> > > 448.
> > 
> > That's strange..  can you reproduce this error in grub-emu?  (you should
> > see it during its initialisation, when grub_init_all() is called)
> 
> There's no error with grub-emu -- I get straight to the menu

Does this help?

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)
diff -x ChangeLog -x configure -x config.h.in -x CVS -x '*~' -x '*.mk' -urp ../grub2/disk/raid.c ./disk/raid.c
--- ../grub2/disk/raid.c	2008-04-07 16:34:45.000000000 +0200
+++ ./disk/raid.c	2008-06-19 01:21:24.000000000 +0200
@@ -445,8 +445,8 @@ grub_raid_scan_device (const char *name)
 	     this shouldn't happen.*/
 
 	  grub_error (GRUB_ERR_BAD_NUMBER,
-		      "Found two disks with the number %d?!?",
-		      sb.this_disk.number);
+		      "Found two disks with the number %d?!? (first %s, then %s)",
+		      sb.this_disk.number, array->device[sb.this_disk.number]->name, name);
 
 	  return 0;
 	}

Reply via email to