← Back to team overview

ubuntu-powerpc team mailing list archive

[Bug 1400030] [NEW] ofpath generates wrong OpenFirmware path for boot device

 

Public bug reported:

in Ubuntu 14.10 (powerpc) ofpath generates incorrect OpenFIrmware device
path. This path is used in yaboot.conf and in ofboot.b

Because of this issue, system will not boot. The problem happens during
install procedure and after otherwise sucessful installation system
fails to boot.

Most likely (but not directly verified) the issue is already present in
Ubuntu 14.04

ifpath returns:
ofpath /dev/sdb
/ht@0,f2000000/pci@9/k2-sata-root@c/@ffffffffffffffff/@0

while OF wants:
/ht@0,f2000000/pci@9/k2-sata-root@c/k2-sata@1/disk@0


Kernel got it right:
/proc/device-tree/ht@0,f2000000/pci@9/k2-sata-root@c/k2-sata@1/disk@0


Kernel version:
uname -a
Linux powermac 3.16.0-25-powerpc64-smp #33-Ubuntu SMP Tue Nov 4 12:22:53 UTC 2014 ppc64 ppc64 ppc64 GNU/Linux
lsb_release -rd
Description:    Ubuntu 14.10
Release:        14.10
apt-cache policy yaboot
yaboot:
  Installed: 1.3.16-4ubuntu1
  Candidate: 1.3.16-4ubuntu1
  Version table:
 *** 1.3.16-4ubuntu1 0
        500 http://ports.ubuntu.com/ubuntu-ports/ utopic/main powerpc Packages
        100 /var/lib/dpkg/status


Machine: Powermac G5 QUAD, specs at:
https://gist.github.com/anonymous/5b3cc9c9fc91abf577ca

** Affects: yaboot (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
PowerPC Architecture Team, which is subscribed to yaboot in Ubuntu.
https://bugs.launchpad.net/bugs/1400030

Title:
  ofpath generates wrong OpenFirmware path for boot device

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/yaboot/+bug/1400030/+subscriptions


Follow ups

References