Re: [PATCH v2 4/5] Patch the CHRP boot script

2017-11-21 Thread Frank Scheiner
Hi Nathan, On 11/21/2017 03:09 PM, Nathan Fontenot wrote: Here's the output of ofpath and ofpathname for /dev/sda2 on the my Mac mini (10,1): ``` root@mac-mini:~# ofpath /dev/sda2 /pci@f400/ata-6@d/@0:2 root@mac-mini:~# ofpathname /dev/sda2 /usr/sbin/ofpathname: line 812: warning: command s

Re: [PATCH v2 4/5] Patch the CHRP boot script

2017-11-21 Thread Rick Thomas
On Nov 20, 2017, at 10:51 PM, Frank Scheiner wrote: > Well, to be on the safe side, I think you need to use the latest versions of > ofpath and ofpathname, hence running Debian Sid could be the easiest way to > make sure this is the case. As both ofpath and ofpathname are shell scripts, would

Re: [PATCH v2 4/5] Patch the CHRP boot script

2017-11-21 Thread Mathieu Malaterre
Hi, On Tue, Nov 21, 2017 at 8:36 AM, Rick Thomas wrote: > > On Nov 20, 2017, at 10:51 PM, Frank Scheiner wrote: > >> Well, to be on the safe side, I think you need to use the latest versions of >> ofpath and ofpathname, hence running Debian Sid could be the easiest way to >> make sure this is

Re: [PATCH v2 4/5] Patch the CHRP boot script

2017-11-21 Thread Benjamin Herrenschmidt
On Tue, 2017-11-21 at 09:56 +0100, Mathieu Malaterre wrote: > Hi Ben, > > Sorry for the direct question, but I assumed you would know the > answer. We are currently trying to replace yaboot with grub-ieee1275 > in debian-installer, but are facing a very small issue, namely with OF > path handling.

Re: [PATCH v2 4/5] Patch the CHRP boot script

2017-11-21 Thread Frank Scheiner
Hi Rick, On 11/21/2017 02:48 AM, Rick Thomas wrote: If you can tell me *exactly* what to do, and I don’t have to set up an installation environment to do it, I’ll be happy to test ofpathname vs ofpath vs devalias on my PowerPC test machine farm. Well, to be on the safe side, I think you need

Re: [PATCH v2 4/5] Patch the CHRP boot script

2017-11-21 Thread Mathieu Malaterre
Hi Ben, Sorry for the direct question, but I assumed you would know the answer. We are currently trying to replace yaboot with grub-ieee1275 in debian-installer, but are facing a very small issue, namely with OF path handling. It appears that on Apple hardware only `ofpath` from Yaboot returns the

Re: [PATCH v2 4/5] Patch the CHRP boot script

2017-11-21 Thread Mathieu Malaterre
Adrian, I actually discover the issue only today, and was a bit surprised too. I think this is related to the powerpc downgrade to port, and was part of the large packages autoremoval done at the time (ppc64el was added only in 1.2.19-1). But I think we can revive this package simply because it is

Re: [PATCH v2 4/5] Patch the CHRP boot script

2017-11-21 Thread John Paul Adrian Glaubitz
Was the removal of powerpc-ibm-utils coordinated somewhere? I‘m asking because it’s still in the package list of debian-installer for powerpc/ppc64/ppc64el in debian-cd [1]. I can’t seem to find the removal bug report. Adrian > [1] > https://anonscm.debian.org/cgit/debian-cd/debian-cd.git/tre

Re: [PATCH v2 4/5] Patch the CHRP boot script

2017-11-21 Thread Nathan Fontenot
On 11/21/2017 03:27 AM, Benjamin Herrenschmidt wrote: > On Tue, 2017-11-21 at 09:56 +0100, Mathieu Malaterre wrote: >> Hi Ben, >> >> Sorry for the direct question, but I assumed you would know the >> answer. We are currently trying to replace yaboot with grub-ieee1275 >> in debian-installer, but ar