View previous topic :: View next topic |
Author |
Message |
Odiseus n00b

Joined: 21 Dec 2012 Posts: 15
|
Posted: Sun Apr 21, 2013 10:35 am Post subject: ofpath / ybin fix for Kernel 3.8.8-gentoo on G5 |
|
|
Hi,
today I tried 3.8.8-gentoo and could actually boot my Powermac G5.
Thanx a lot Phileas Fogg!
ybin didn't work though because it couldn't get the openfirmware path.
ybin uses ofpath for that purpose:
# ofpath /dev/sdb2
cat: /sys/devices/pci0001:00/0001:00:09.0/0001:03:0c.0/ata2/host1/target1:0:0/1:0:0:0/../../../devspec: No such file or directory
Unable to determine controller path!
I changed ofpath:
# diff old-ofpath ofpath
89c89
< sd*|sg*|sr*) CONTROLLER_PATH=$(cat ${DEVPATH}/../../../devspec) ;;
---
> sd*|sg*|sr*) CONTROLLER_PATH=$(cat ${DEVPATH}/../../../../devspec) ;;
For now it works for me, but should the kernel get changed?
Michael |
|
Back to top |
|
 |
JoseJX Retired Dev

Joined: 28 Apr 2002 Posts: 2774
|
Posted: Mon Apr 22, 2013 3:52 pm Post subject: |
|
|
I'll have to look, but ofpath probably needs to be fixed again. We've had problems with the path changing in the past and breaking it. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
 |
|