ofpath doesn't work when CONFIG_SCSI_PROC_FS, a deprecated option, is not enabled in the kernel. Here's what I get when trying to use ybin and ofpath with CONFIG_SCSI_PROC_FS=n: perplex ~ # ybin -v ybin: Finding OpenFirmware device path to `/dev/sda2'... ofpath: /dev/sda: Device not configured ybin: Unable to find OpenFirmware path for boot=/dev/sda2 ybin: Please add ofboot=<path> where <path> is the OpenFirmware path to /dev/sda2 to /etc/yaboot.conf ybin: Finding OpenFirmware device path to `/dev/sda7'... ofpath: /dev/sda: Device not configured ybin: Unable to determine OpenFirmware path for macosx=/dev/sda7 ybin: Try specifying the real OpenFirmware path for macosx=/dev/sda7 in /etc/yaboot.conf perplex ~ # perplex ~ # ofpath /dev/sda ofpath: /dev/sda: Device not configured perplex ~ # I've confirmed that ofpath and ybin do work when CONFIG_SCSI_PROC_FS=y. I didn't see any indication that CONFIG_SCSI_PROC_FS=y was required in the gentoo ppc64 handbook. This patch appears to allow ofpath to work when CONFIG_SCSI_PROC_FS=n, though I haven't had the chance to try it: http://lists.ozlabs.org/pipermail/yaboot-devel/2011-August/000382.html Either the ppc64 handbook should be updated, or yaboot-static should be updated with the above patch. I am happy to test an updated yaboot-static package if you'd like me to. Reproducible: Always Portage 2.1.10.11 (default/linux/powerpc/ppc64/10.0/64bit-userland, gcc-4.5.3, glibc-2.13-r4, 3.0.15 ppc64) ================================================================= System uname: Linux-3.0.15-ppc64-PPC970MP,_altivec_supported-with-gentoo-2.0.3 Timestamp of tree: Thu, 05 Jan 2012 00:15:01 +0000 app-shells/bash: 4.1_p9 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.4 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo ACCEPT_KEYWORDS="ppc64" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc64-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec" CHOST="powerpc64-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j3 -l 2.0" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://jove.eng.yale.edu/gentoo-portage" USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly offensive openmp pam pcre ppc64 pppd readline session ssl sysfs tcpd unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nouveau radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Jim, which version of yaboot do you use (emerge -pv yaboot)? @maint: there's an releases 1.3.17 at http://yaboot.ozlabs.org/.
My mistake, this bug is actually against sys-boot/yaboot-static. Since I am using a 64bit userland, I'm on sys-boot/yaboot-static-1.3.14-r1: perplex ~ # eselect profile list Available profile symlink targets: [1] default/linux/powerpc/ppc64/10.0/64bit-userland * [2] default/linux/powerpc/ppc64/10.0/64bit-userland/desktop [3] default/linux/powerpc/ppc64/10.0/64bit-userland/desktop/gnome [4] default/linux/powerpc/ppc64/10.0/64bit-userland/desktop/kde [5] default/linux/powerpc/ppc64/10.0/64bit-userland/developer [6] default/linux/powerpc/ppc64/10.0/64bit-userland/server [7] hardened/linux/powerpc/ppc64/64bit-userland perplex ~ # emerge -pv yaboot-static These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-boot/yaboot-static-1.3.14-r1 USE="-ibm" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB perplex ~ #
This should be fixed in the latest yaboot-static package. Thanks for the report!