From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HpRBQ-0006tm-P2 for mharc-grub-devel@gnu.org; Sat, 19 May 2007 11:49:28 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HpRBO-0006tV-Kk for grub-devel@gnu.org; Sat, 19 May 2007 11:49:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HpRBN-0006t7-Ed for grub-devel@gnu.org; Sat, 19 May 2007 11:49:25 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpRBN-0006t4-9C for grub-devel@gnu.org; Sat, 19 May 2007 11:49:25 -0400 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HpRBM-0001Bb-Sv for grub-devel@gnu.org; Sat, 19 May 2007 11:49:25 -0400 Received: from [192.168.10.6] (helo=aragorn) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1HpRBJ-0001KH-TD; Sat, 19 May 2007 17:49:23 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1HpRDJ-0007v7-JC; Sat, 19 May 2007 17:51:25 +0200 Date: Sat, 19 May 2007 17:51:25 +0200 From: Robert Millan To: Sam Morris Message-ID: <20070519155125.GA30353@aragorn> References: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1179584038.4145.10.camel@xerces> Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Genre and OS details not recognized. Cc: grub-devel@gnu.org, 423022@bugs.debian.org, Thomas Stewart Subject: problem with RAID and LBA addressing 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, 19 May 2007 15:49:26 -0000 Forwarding to upstream. Anyone knows why Sam's mails aren't echoed in the list, despite grub-devel@gnu.org is in CC ? On Sat, May 19, 2007 at 03:13:58PM +0100, Sam Morris wrote: > clone 423022 -1 > retitle -1 Errors that cause the user to enter rescue mode are not displayed > thanks > > On Sat, 2007-05-19 at 14:10 +0100, Sam Morris wrote: > > 'grub-mkimage --output=/boot/grub/core.img ext2 pc raid _chain' dumps me > > to the rescue console. > > > > I wonder if I am hitting the rescue console because of the "out of disk" > > error that I see when inserting the 'raid' module by hand? The > > partitions in my raid array are 300 GiB, which is larger than the 128 > > GiB limit imposed by LBA-28 addressing. > > I patched kern/disk.c to return GRUB_ERR_NONE instead of throwing the > 'out of disk' error and, now I can boot up perfectly! So it appears this > is indeed the problem. > > > If this is the case then I guess the error is really my fault and I > > should fix it by creating a separate partition at the start of the disk > > for /boot. However, the code that brings me to the rescue console > > doesn't actually print any errors, it just dumps me there, so I may just > > be barking up the wrong tree. :) > > Ideally grub would display the the error message that causes the user to > be thrown into the rescue console. > > 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 (even through it doesn't 'see' the RAID partition as > such, I can still boot from it without complaint). But this is less > important, as I should really have a working system to begin with. I > won't clone a separate bug for this unless you think it's worthwhile. > > I wonder if d-i warns the user that they may be creating an unbootable > system if the partition that contains /boot does not exist wholly within > the first 7.8 GiB/128 GiB/128 PiB (depending on the addressing mode in > use) of the disk? :) > > -- > Sam Morris > http://robots.org.uk/ > > PGP key id 1024D/5EA01078 > 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078 -- Robert Millan My spam trap is honeypot@aybabtu.com. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.