From: Marco Gerards <metgerards@student.han.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [patch] set prefix on PPC - briQ results
Date: Tue, 19 Apr 2005 19:36:30 +0200 [thread overview]
Message-ID: <87is2i4qjl.fsf@student.han.nl> (raw)
In-Reply-To: <f4681707735d50e3e8f2fb75459bd1a6@penguinppc.org> (Hollis Blanchard's message of "Mon, 18 Apr 2005 22:59:51 -0500")
Hollis Blanchard <hollis@penguinppc.org> writes:
> I've tested the patch on briQ. As far as I can tell, CodeGen's
> "SmartFirmware" is crap, frequently suffering mysterious failures that
> require unplugging and waiting (unplugging and replugging rapidly
> isn't enough). It also suffers frequent ATA failures, where the disk
> or controller simply stop responding.
>
> 1. (major) Firmware does not properly set /chosen/bootpath to include
> the partition number.
What happens? Is it something I could try to reproduce on the PegasosII?
> 2. (major) Partition numbering *seems* to be 0-based. I had a lot of
> problems booting, but I'm pretty sure it is.
Same on the pegasos... :/
> 3. (minor) /chosen/bootpath is this:
> /pci@FF500000/isa@6/ide@i1F0/disk@0,0
> but the "hd" devalias is this:
> /pci@FF500000/isa@6/ide@i1f0/disk@0,0
> Note the differing case of "f". This prevents the devalias matching
> from succeeding. I've fixed this by using strncasecmp instead of
> strncmp.
That seems the right way to solve this problem.
> Problem 1 could be worked around by taking the yaboot approach:
> iterate over all disk partitions looking for a file named
> "/grub/grub.cfg" (i.e. /boot/grub/grub.cfg). This fallback can be used
> if we do not find a grub.cfg in prefix.
Right...
> Problem 2 could be worked around by blacklisting firmwares based on
> the /openprom properties. Here is the briQ's output:
With blacklist you mean setting some additional flags that describe
which bugs the firmware has?
> ok dev /openprom
> ok .properties
> relative-addressing
> model "BRIQ,1.0.2.60"
> SmartFirmware-version "1.1"
> CodeGen-copyright "SmartFirmware(tm) Copyright 1996-2000
> by CodeGen, Inc. All Rights Reserved."
> name "openprom"
>
> Does the Pegasos have a SmartFirmware-version property?
It does. It has both a CodeGen and bplan copyright property. The
SmartFirmware-version is 1.2 here. The model is "Pegasos2,1.2". It
seems to me that this SmartFirmware-version is not interesting because
it looks like this version is not changed for every build.
The most interesting property is "built-on", which we can use to
detect if a specific version has the bug or not.
Thanks,
Marco
next prev parent reply other threads:[~2005-04-19 17:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-17 18:33 [patch] set prefix on PPC Hollis Blanchard
2005-04-17 19:38 ` Marco Gerards
2005-04-17 20:32 ` Hollis Blanchard
2005-04-19 3:59 ` [patch] set prefix on PPC - briQ results Hollis Blanchard
2005-04-19 17:36 ` Marco Gerards [this message]
2005-04-21 2:16 ` Hollis Blanchard
2005-04-21 7:18 ` Marco Gerards
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=87is2i4qjl.fsf@student.han.nl \
--to=metgerards@student.han.nl \
--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.