[Debootloaders-yaboot] Bug#784387: yaboot: ofpath returns the wrong path, breaking yaboot.conf

Asumu Takikawa asumu at ccs.neu.edu
Tue May 5 23:07:37 UTC 2015


Package: yaboot
Version: 1.3.16-4
Severity: important

Dear Maintainer,

ofpath returns the wrong result, causing the /etc/yaboot.conf file to have an
unbootable device path. I encountered this while trying to install Jessie on
a Powermac G5.

Here is the wrong output (from my now-booting system):

  $ /usr/sbin/ofpath /dev/sda2
  /ht at 0,f2000000/pci at 9/k2-sata-root at c/@ffffffffffffffff/@0:2

I would expect the output to look something like:

  /ht at 0,f2000000/pci at 9/k2-sata-root at c/k2-sata at 1/disk at 0:2

instead. It looks like the "@ffffffffffffffff" part comes from some commanad in
ofpath returning -1. The last part "@0:2" might be wrong too.

(note: I was only able to boot the system by replacing the device line in
 yaboot.conf to be "device=sd1:")

-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc64)

Kernel: Linux 3.16.0-4-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages yaboot depends on:
ii  libc6  2.19-18

Versions of packages yaboot recommends:
ii  hfsutils       3.2.6-13
ii  powerpc-utils  1.1.3-25

yaboot suggests no packages.

-- no debconf information



More information about the Debootloaders-yaboot mailing list