grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Testing on PowerMac G4


From: Pavel Roskin
Subject: Re: Testing on PowerMac G4
Date: Wed, 02 Jan 2008 01:46:04 -0500
User-agent: Internet Messaging Program (IMP) H3 (4.1.4)

Quoting Robert Millan <address@hidden>:

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.

(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)

Sounds like "DISK-LABEL: read of block0 failed" is printed by the firmware
and not by GRUB.

Also, device enumeration is the same for all devices, so the fact that it
only appears for some of them hints at a firmware bug.

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.

grub rescue> ls
(ide0/disk) kern/disk.c:220: Opening `ide0/disk'...
disk/ieee1275/ofdisk.c:65: Opening `ide0/disk:0'.
DISK-LABEL: read of block0 failed.
kern/disk.c:299: Opening `ide0/disk' failed.
kern/disk.c:312: Closing `ide0/disk'.
(cd) kern/disk.c:220: Opening `cd'...
disk/ieee1275/ofdisk.c:65: Opening `cd:0'.
DISK-LABEL: read of block0 failed.
kern/disk.c:299: Opening `cd' failed.
kern/disk.c:312: Closing `cd'.
(zip) kern/disk.c:220: Opening `zip'...
disk/ieee1275/ofdisk.c:65: Opening `zip:0'.
kern/disk.c:299: Opening `zip' failed.
kern/disk.c:312: Closing `zip'.
(disk/ide1) kern/disk.c:220: Opening `ide1/disk'...
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'.
(hd) kern/disk.c:220: Opening `hd'...
disk/ieee1275/ofdisk.c:65: Opening `hd:0'.
disk/ieee1275/ofdisk.c:74: Opened `hd:0' as handle 0xff9d1c00.
kern/disk.c:299: Opening `hd' failed.
kern/disk.c:312: Closing `hd'.
(ultra0) kern/disk.c:220: Opening `ultra0'...
disk/ieee1275/ofdisk.c:65: Opening `ultra0:0'.
disk/ieee1275/ofdisk.c:74: Opened `ultra0:0' as handle 0xff9d1c00.
kern/disk.c:299: Opening `ultra0' failed.
kern/disk.c:312: Closing `ultra0'.

error: unknown device
grub rescue>

--
Regards,
Pavel Roskin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]