All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Zielcke <fzielcke@z-51.de>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [RFC] change grub_print_error to use stderr for the utils
Date: Thu, 14 Aug 2008 09:39:44 +0200	[thread overview]
Message-ID: <1218699584.4065.26.camel@fz.local> (raw)
In-Reply-To: <87zlngyszj.fsf@xs4all.nl>

Am Donnerstag, den 14.08.2008, 09:07 +0200 schrieb Marco Gerards:

Honourly I want that whole topic discussed with everyone who is
subscribed here and not just with you Marco, but it's very kind that at
least you reply :)

> 
> Well, ok.  So thus we are indeed fixing a problem in Lenny inside
> GRUB?  On IRC someone said this was *not* the case.  I am very
> confused...

Yeah sorry it is very confusing.
I want (wanted ?) to have that problem _for_ lenny fixed.


The problem (in current SVN without Bean's RAID rewrite, this won't be
in lenny anway) is:

As soon as real GRUB _sees_ one disk wich has a mdraid raid level 6 (or
e.g. 10, it's not supported either) super block then it goes to rescue
mode.

First patch from me: <1218454936.4035.19.camel@fz.local>

Problem: The messages get totally lost for the average user, i.e. even
grub-probe --vv says nothing, that RAID 6 isn't supported.

Robert suggested (20080811142856.GB15950@thorin) to handle it with
grub_print_error () and grub_errno = GRUB_ERR_NONE in the raid.mod
itself.

Problem: With that way + my fprintf stderr change, it's displayed in
real GRUB once for every disk.
In grub-install /dev/sda1, where that isn't on RAID at all it's shown 6
times, I _think_ once for every grub-probe call.

Bean's raid_6.diff (ca0f59980808120449s61abd11iefb197cd3b1672d5@mail.gmail.com)
and my fprintf change

Problem: The message on grub-install is now shown much more then just 6
times as with mine, I think more then 20 times.


I haven't tried Bean's lastest patch with an unsupported RAID level like
10 now that he has RAID 6 implemented.
But the problem is still there.

I'd like to have that unknown RAID level message shown only once per
array not for every disk.

The `grub_print_error fprintf (stderr ..)' is probable the right first
step, but it isn't a 100% perfect fix for this.

Seems like I just have to try lastest patch from Bean, if he changed
something and then maybe complain at his topic about this.


For lenny Robert and me need a simple small patch to fix this.
Maybe it's just better to have it for lenny unfixed.




  reply	other threads:[~2008-08-14  7:39 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12 15:30 [PATCH] change grub_print_error to use stderr for the utils Felix Zielcke
2008-08-12 15:35 ` Felix Zielcke
2008-08-12 15:36 ` Vesa Jääskeläinen
2008-08-12 15:43   ` Felix Zielcke
2008-08-12 15:41 ` Robert Millan
2008-08-12 15:52   ` Felix Zielcke
2008-08-13  9:37     ` Marco Gerards
2008-08-12 16:54 ` Felix Zielcke
2008-08-13  9:38 ` Marco Gerards
2008-08-13 17:35   ` [RFC] " Felix Zielcke
2008-08-13 18:41     ` Marco Gerards
2008-08-13 19:14       ` Felix Zielcke
2008-08-14  7:07         ` Marco Gerards
2008-08-14  7:39           ` Felix Zielcke [this message]
2008-08-14  8:03             ` Marco Gerards
2008-08-14  8:05               ` Felix Zielcke
2008-08-14 17:54               ` Robert Millan
2008-08-14 18:57                 ` Felix Zielcke
2008-08-16 15:06                 ` Felix Zielcke
2008-08-17 15:07                   ` Robert Millan
2008-08-17 15:24                     ` Felix Zielcke
2008-08-17 15:34                       ` Robert Millan
2008-08-17 15:47                         ` Felix Zielcke
2008-08-17 16:37                           ` Robert Millan
2008-08-17 16:58                             ` Felix Zielcke
2008-08-17 17:04                               ` Bean

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=1218699584.4065.26.camel@fz.local \
    --to=fzielcke@z-51.de \
    --cc=grub-devel@gnu.org \
    /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.