From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: Jan Nieuwenhuizen <janneke-list@xs4all.nl>
Subject: Re: Testing on PowerMac G4
Date: Wed, 2 Jan 2008 11:32:18 +0100 [thread overview]
Message-ID: <20080102103218.GB4295@thorin> (raw)
In-Reply-To: <20080102014604.mokv4nr54w48kcg0@webmail.spamcop.net>
On Wed, Jan 02, 2008 at 01:46:04AM -0500, Pavel Roskin wrote:
> Quoting Robert Millan <rmh@aybabtu.com>:
>
> >>My guess is kernel.elf doesn't include the necessary code. It's about
> >>60k long.
>
> Now I'm sure about that. Unfortunately, grub-mkimage produces images
> that the OpenFirmware fails to load with "CLAIM failed" (even with
> just one short module). Indeed, bad things started with the first
> commit on 2007-02-21. I'm afraid I won't be able to figure it out
> without Hollis.
It can mostly be solved by analizing/testing the regression diff.
In August I sent an updated version that might be helpful:
http://lists.gnu.org/archive/html/grub-devel/2007-08/msg00031.html
just take the grub-mkimage.c part of it and try to revert it on CVS HEAD,
that would confirm it's a grub-mkimage problem. Then apply the hunks
selectively untill you find the exact change that broke it. And finally
it's just a matter of "looking hard" at that hunk untill it's coerced to
reveal the problem :-)
This seems to affect many powermac users. I'd have gone through the bug
myself, but I don't have access to the hardware.
> (Not to put any pressure of anyone, but GNU ChangeLog shows its age
> here - the detailed changes are described, but the motivation behind
> the whole patch is not, yet the details can be recovered with the
> version control, whereas the motivation has to be guessed)
Full ack. But, you didn't mention any alternative.
> Both ide0/disk and cd refer to the CD-ROM. The messages are not shown
> if there is a CD in the drive.
>
> >What happens if you set debug=disk ?
>
> Typing from another monitor, sorry for possible typos.
>
> disk/ieee1275/ofdisk.c:65: Opening `ide1/disk:0'.
> disk/ieee1275/ofdisk.c:74: Opened `ide1/disk:0' as handle 0xff9d1c00.
> kern/disk.c:299: Opening `ide1/disk' failed.
> kern/disk.c:312: Closing `ide1/disk'.
This seems to be contradictory. If OF returned a handle, why does the
open fail ? Looks like GRUB doesn't like something but isn't telling you
what. I'd investigate that part; at the least it can mean our error
handling isn't good enough.
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
next prev parent reply other threads:[~2008-01-02 10:32 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-31 8:12 Testing on PowerMac G4 Pavel Roskin
2007-12-31 8:45 ` Jan Nieuwenhuizen
2007-12-31 22:37 ` Pavel Roskin
2007-12-31 23:34 ` Robert Millan
2008-01-02 6:46 ` Pavel Roskin
2008-01-02 10:32 ` Robert Millan [this message]
2008-01-03 8:09 ` Pavel Roskin
2008-01-03 12:11 ` Robert Millan
2008-01-03 15:28 ` Pavel Roskin
2008-01-03 15:57 ` Robert Millan
2008-01-03 16:23 ` Pavel Roskin
2008-01-04 12:32 ` Robert Millan
2008-01-04 12:54 ` Robert Millan
2008-01-04 18:26 ` Pavel Roskin
2008-01-04 20:37 ` Robert Millan
2008-01-05 1:45 ` Yoshinori K. Okuji
2008-01-05 11:43 ` Robert Millan
2008-01-05 2:10 ` Pavel Roskin
2008-01-05 11:45 ` Robert Millan
2008-01-05 1:27 ` Yoshinori K. Okuji
2008-01-05 2:02 ` Pavel Roskin
2008-01-05 10:31 ` Yoshinori K. Okuji
2008-01-05 11:46 ` Robert Millan
2007-12-31 14:04 ` Robert Millan
2007-12-31 22:58 ` Pavel Roskin
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=20080102103218.GB4295@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.org \
--cc=janneke-list@xs4all.nl \
/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.