Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QCqAi-0000Vx-7m for mharc-grub-devel@gnu.org; Thu, 21 Apr 2011 05:27:36 -0400 Received: from eggs.gnu.org ([140.186.70.92]:36448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCqAc-0000Vn-9E for grub-devel@gnu.org; Thu, 21 Apr 2011 05:27:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCqAX-0005m0-L5 for grub-devel@gnu.org; Thu, 21 Apr 2011 05:27:30 -0400 Received: from smarthost01.mail.zen.net.uk ([212.23.3.140]:45495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCqAX-0005lj-FY for grub-devel@gnu.org; Thu, 21 Apr 2011 05:27:25 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost01.mail.zen.net.uk with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1QCqAN-0006WL-LE; Thu, 21 Apr 2011 09:27:16 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 4.72) (envelope-from ) id 1QCqAM-0000oA-1O; Thu, 21 Apr 2011 10:27:14 +0100 Date: Thu, 21 Apr 2011 10:27:13 +0100 From: Colin Watson To: Vladimir =?utf-8?Q?'=CF=86-coder=2Fphcoder'?= Serbinenko Subject: Re: grub-probe can't find device (regression) Bug #33133 Message-ID: <20110421092713.GU9163@riva.ucam.org> References: <1303340998.3182.79.camel@sibyl.beware.dropbear.id.au> <4DAFDCEA.1040803@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4DAFDCEA.1040803@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-Smarthost01-IP: [82.69.40.219] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 212.23.3.140 Cc: grub-devel@gnu.org, Ian Dall X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2011 09:27:35 -0000 On Thu, Apr 21, 2011 at 09:29:46AM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Ian Dall wrote: > > Steppign through with gdb, it seems that the list of entries gets > > created properly, but around line 209, there is something curious: > > > > if (entries[i].major != 0) > > continue; /* not a virtual device */ > > @cjwatson: it's a mismerge. Could you fix it? It is indeed. Sorry about that. I had the two relevant patches in the opposite order in my quilt series from the order in which they were applied to trunk, and a certain amount of confusion resulted from resolving this. I've removed this bogus test now. 2011-04-21 Colin Watson * grub-core/kern/emu/getroot.c (grub_find_root_device_from_mountinfo): Remove non-virtual-device test that was incorrectly reintroduced in r3214. Reported by: Ian Dall. Fixes Savannah bug #33133. Thanks, -- Colin Watson [cjwatson@ubuntu.com]