Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#611588: ofpathname problems

0 views
Skip to first unread message

Daniel Kahn Gillmor

unread,
Feb 12, 2012, 8:30:01 PM2/12/12
to
retitle 611588 powerpc-ibm-utils: ofpathname cannot find information for disks
affects 611588 grub-ieee1275
thanks

I'm seeing the same issue as http://bugs.debian.org/611588 on a PowerPC
G4 machine with an IDE (parallel ATA) disk:

0 root@colddeadhands:~# ofpathname /dev/sda
ofpathname: Could not find sysfs information for logical
device "/dev/sda".
1 root@colddeadhands:~#

by contrast, ofpath from the yaboot package has no trouble:

0 root@colddeadhands:~# ofpath /dev/sda
/pci@f2000000/mac-io@17/ata-4@1f000/@0
0 root@colddeadhands:~#

I'm marking this ticket as affecting grub-ieee1275, since it causes
grub-install to fail with this error message:

0 root@colddeadhands:~# grub-install
Couldn't find Open Firmware device tree path for sda.
You will have to set boot-device manually.
1 root@colddeadhands:~#

Talking to phcoder on irc.freenode.org#grub, he suggested using the
attached patch against grub development head to avoid ofpathname
entirely (he didn't seem to think it would install against the debian
packaged 1.99-14, but i haven't tested it yet).

So once a new grub version makes it into debian that doesn't rely on
ofpathname, the "affects" could probably be removed.

--dkg

grub-avoid-ofpathname.diff
0 new messages