Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #193309

Re: jessie powermac yboot: ybin fails

From Frank Scheiner <frank.scheiner@web.de>
Newsgroups linux.debian.user, linux.debian.ports.powerpc
Subject Re: jessie powermac yboot: ybin fails
Date 2018-03-04 14:30 +0100
Message-ID <vpByN-4Z1-7@gated-at.bofh.it> (permalink)
References <vo6nn-1lB-5@gated-at.bofh.it> <voRPj-2tN-5@gated-at.bofh.it> <voVgd-4wl-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi Felix,

what Debian release are you actually running and what yaboot version 
(shown above yaboot boot prompt) have you installed? I'm running Sid 
(just upgraded all packages minutes ago) and yaboot 1.3.17.

On 03/02/2018 04:51 PM, Felix Miata wrote:
>>> # ybin
>>> ofpath: Device: /dev/ata-ST is not supported
>>> ybin: Unable to determine OpenFirmware path for macosx=/dev/disk/by-id/ata-ST340015A_5LA13M03-part10 macosx=/dev/hda10
>>> ybin: Try specifying the real OpenFirmware path for macosx=/dev/disk/by-id/ata-ST340015A_5LA13M03-part10 macosx=/dev/hda10 in /etc/yaboot.conf

It looks like you have the "macosx=" option twice in your `yaboot.conf` 
on top and at the bottom. I'm unsure if this is an issue though. Does 
someone with Debian and Mac OS X on their machine know more?

But does `/dev/hda10` really exist on your machine?

Apart from that I did some testing with `ofpath` and seem to be able to 
create a similar behaviour on my Mac mini G4:

```
root@mac-mini:/dev/disk/by-id# ls -la
total 0
drwxr-xr-x 2 root root 340 Mar  4 13:28 .
drwxr-xr-x 6 root root 120 Mar  4 13:28 ..
[...]
lrwxrwxrwx 1 root root   9 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456 -> ../../sda
lrwxrwxrwx 1 root root  10 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456-part1 -> ../../sda1
lrwxrwxrwx 1 root root  10 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456-part2 -> ../../sda2
lrwxrwxrwx 1 root root  10 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456-part3 -> ../../sda3
lrwxrwxrwx 1 root root  10 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456-part4 -> ../../sda4
lrwxrwxrwx 1 root root  10 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456-part5 -> ../../sda5
lrwxrwxrwx 1 root root  10 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456-part6 -> ../../sda6
[...]
root@mac-mini:/dev/disk/by-id# ofpath 
ata-SAMSUNG_HM160HC_S12TABCD123456-part6
ofpath: Device: /dev/ata-SAMSUNG_HM is not supported

root@mac-mini:/dev/disk/by-id# ofpath 
./ata-SAMSUNG_HM160HC_S12TABCD123456-part6
ofpath: Device: /dev/ata-SAMSUNG_HM is not supported

root@mac-mini:/dev/disk/by-id# ofpath 
/dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TABCD123456-part6
ofpath: Device: /dev/ata-SAMSUNG_HM is not supported

[...]

root@mac-mini:/dev/disk/by-id# ofpath 
/dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TABCD123456-part1
ofpath: Device: /dev/ata-SAMSUNG_HM is not supported

root@mac-mini:/dev/disk/by-id# ofpath 
/dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TABCD123456
ofpath: Device: /dev/ata-SAMSUNG_HM is not supported

root@mac-mini:/dev/disk/by-id# ofpath /dev/sda6
/pci@f4000000/ata-6@d/@0:6
```

So it works with the actual path. Interestingly I have:

```
boot="/dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TABCD123456-part2"
```

...in my `/etc/yaboot.conf` and running `ybin` doesn't make an issue for 
me although `ofpath` doesn't seem to work with it when specified as 
argument. Maybe `ybin` does resolve the symlinkg before feeding the 
device path to `ofpath`.

I'd still try to replace the symlink device paths 
(`/dev/disk/by-id/[...]`) in your yaboot.conf against the actual device 
paths (`/dev/sda?`) or the result from ofpath for the actual device 
paths and try again to run `ybin` with the modified `yaboot.conf`.

Cheers,
Frank

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

jessie powermac yboot: ybin fails Felix Miata <mrmazda@earthlink.net> - 2018-02-28 10:40 +0100
  Re: jessie powermac yboot: ybin fails Rick Thomas <rbthomas@pobox.com> - 2018-03-02 13:20 +0100
    Re: jessie powermac yboot: ybin fails Felix Miata <mrmazda@earthlink.net> - 2018-03-02 17:00 +0100
      Re: jessie powermac yboot: ybin fails Frank Scheiner <frank.scheiner@web.de> - 2018-03-04 14:30 +0100
        Re: jessie powermac yboot: ybin fails [solved] Frank Scheiner <frank.scheiner@online.de> - 2018-03-07 21:00 +0100
          Re: jessie powermac yboot: ybin fails [solved] John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2018-03-07 21:40 +0100
      Re: jessie powermac yboot: ybin fails Rick Thomas <rbthomas@pobox.com> - 2018-03-05 04:10 +0100
        Re: jessie powermac yboot: ybin fails Frank Scheiner <frank.scheiner@web.de> - 2018-03-07 21:40 +0100

csiph-web