All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Morris <sam@robots.org.uk>
To: Jeroen Dekkers <jeroen@vrijschrift.org>
Cc: grub-devel@gnu.org, 423022@bugs.debian.org,
	Thomas Stewart <thomas@stewarts.org.uk>,
	Robert Millan <rmh@aybabtu.com>
Subject: Re: Bug#423022: Bug#422851: "grub-probe -t partmap" doesn't work with software RAID
Date: Mon, 21 May 2007 13:23:38 +0100	[thread overview]
Message-ID: <1179750218.4178.17.camel@xerces> (raw)
In-Reply-To: <877ir2v3gd.wl@dekkers.cx>

[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]

On Mon, 2007-05-21 at 13:08 +0200, Jeroen Dekkers wrote:
> At Sat, 19 May 2007 15:13:58 +0100,
> Sam Morris wrote:
> > 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 
> 
> The problem is that it actually tries to do that, because the RAID
> superblock is located at the end of the partition.

Oh, good point. My only remaining point of confusion is how I am able to
access the (md0) device fine from within grub, since it can't read the
superblocks. Does it just assume that any pc partitions of type 0xfd
with unreadable superblocks are part of a RAID 1 array, or is it
possible that something else is going on?

My array is made up of partitions on two disks; the first is the primary
master on the motherboard's ATA controller, and the second is on a
Promise PCI card.

Now, AFAIK the promise card cannot do 48-bit LBA addressing without a
bios flash that I never applied. But is it possible that my
motherboard's controller is able to do 48-bit addressing?

If this were the case it would explain how grub is able to access an
(md0) device (via the fully-readable (hd0,2) device), and also where the
'out of disk' error comes from (from trying to read the superblock of
(hd3,2)).

If this is the case, it would be nice if the raid module would only
throw a warning if some of the component devices could not be added to a
RAID1 array.

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-05-21 12:23 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                               ` problem with RAID and LBA addressing Robert Millan
     [not found]                                 ` <1179590781.4270.28.camel@xerces>
2007-05-19 16:45                                   ` 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 [this message]
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=1179750218.4178.17.camel@xerces \
    --to=sam@robots.org.uk \
    --cc=423022@bugs.debian.org \
    --cc=grub-devel@gnu.org \
    --cc=jeroen@vrijschrift.org \
    --cc=rmh@aybabtu.com \
    --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.