From: Robert Millan <rmh@aybabtu.com>
To: Sam Morris <sam@robots.org.uk>
Cc: grub-devel@gnu.org, 423022@bugs.debian.org,
Thomas Stewart <thomas@stewarts.org.uk>
Subject: problem with RAID and LBA addressing
Date: Sat, 19 May 2007 17:51:25 +0200 [thread overview]
Message-ID: <20070519155125.GA30353@aragorn> (raw)
In-Reply-To: <1179584038.4145.10.camel@xerces>
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.
next prev parent reply other threads:[~2007-05-19 15:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1178710623.4102.37.camel@xerces>
[not found] ` <20070509135853.GA31878@aragorn>
[not found] ` <1178719368.4102.48.camel@xerces>
[not found] ` <20070509151643.GB16077@aragorn>
[not found] ` <1178725065.4102.65.camel@xerces>
2007-05-09 16:13 ` "grub-probe -t partmap" doesn't work with software RAID Robert Millan
[not found] ` <1179004601.3922.4.camel@xerces>
[not found] ` <1179054146.4014.9.camel@xerces>
2007-05-13 16:44 ` Robert Millan
2007-05-18 6:51 ` Robert Millan
[not found] ` <1179535793.4466.3.camel@xerces>
2007-05-19 9:33 ` Bug#422851: " Robert Millan
[not found] ` <1179575266.4466.5.camel@xerces>
2007-05-19 12:10 ` Robert Millan
[not found] ` <1179580232.4542.8.camel@xerces>
2007-05-19 14:08 ` Robert Millan
[not found] ` <1179585253.4270.1.camel@xerces>
2007-05-19 15:32 ` fallback for "grub-probe -t partmap" failures Robert Millan
2007-05-19 16:01 ` Sam Morris
[not found] ` <1179584038.4145.10.camel@xerces>
2007-05-19 15:51 ` Robert Millan [this message]
[not found] ` <1179590781.4270.28.camel@xerces>
2007-05-19 16:45 ` problem with RAID and LBA addressing Robert Millan
2007-05-19 17:51 ` Yoshinori K. Okuji
2007-05-20 7:12 ` Robert Millan
2007-05-21 13:25 ` Amin Azez
2007-05-21 13:44 ` Sam Morris
2007-05-21 11:08 ` Bug#423022: Bug#422851: "grub-probe -t partmap" doesn't work with software RAID Jeroen Dekkers
2007-05-21 12:23 ` Sam Morris
2007-05-21 13:13 ` Jeroen Dekkers
2007-05-21 18:35 ` Sam Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070519155125.GA30353@aragorn \
--to=rmh@aybabtu.com \
--cc=423022@bugs.debian.org \
--cc=grub-devel@gnu.org \
--cc=sam@robots.org.uk \
--cc=thomas@stewarts.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.