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

2020-04-17 Thread Mathieu Malaterre
On Tue, Nov 21, 2017 at 3:10 PM Nathan Fontenot wrote: > > 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 tryi

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

2018-12-17 Thread John Paul Adrian Glaubitz
Hi Mathieu! On 12/17/18 9:34 PM, Mathieu Malaterre wrote: > OK. I see some difference in between ofpath and ofpathname now. I've > reported it upstream: > > https://github.com/ibm-power-utilities/powerpc-utils/issues/30 > > Let's see how upstream is interested, hopefully we'll be able to make >

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

2018-12-17 Thread Mathieu Malaterre
On Tue, Nov 21, 2017 at 10: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-

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

2017-12-01 Thread Rick Thomas
Thanks. I’ll try again with a gziped file. Would another way be to open a wishlist bug and upload the log files to it? Any comments on the approach? Will it be helpful in fixing the ofpath* stuff? Is there a better way? Thanks Rick On Dec 1, 2017, at 8:03 AM, Frank Scheiner wrote: > On

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

2017-12-01 Thread Frank Scheiner
On 11/27/2017 08:08 PM, Rick Thomas wrote: When I tried to send this (with an attached zip file of the output of my test script) to the PowerPC list, I got a bounce message back saying I’m not allowed to send attachments to the list. So… If you want to see the output of the below script send m

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

2017-11-29 Thread Frédéric Bonnard
Hi, actually powerpc-ibm-utils does still exists as binary package. And the source package is powerpc-utils. Adam just renamed source packages powerpc-ibm-utils to powerpc-utils and powerpc-utils to pmac-utils for less confusion as explained here : https://bugs.launchpad.net/ubuntu/+source/powerpc-

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

2017-11-29 Thread Frédéric Bonnard
Hi Adrian, On Wed, 29 Nov 2017 16:02:00 +0100, John Paul Adrian Glaubitz wrote: > On 11/29/2017 03:57 PM, Frédéric Bonnard wrote: > > actually powerpc-ibm-utils does still exists as binary package. > > And the source package is powerpc-utils. > > Adam just renamed source packages powerpc-ibm-uti

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

2017-11-29 Thread John Paul Adrian Glaubitz
On 11/29/2017 03:57 PM, Frédéric Bonnard wrote: actually powerpc-ibm-utils does still exists as binary package. And the source package is powerpc-utils. Adam just renamed source packages powerpc-ibm-utils to powerpc-utils and powerpc-utils to pmac-utils for less confusion as explained here : http

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

2017-11-27 Thread Rick Thomas
When I tried to send this (with an attached zip file of the output of my test script) to the PowerPC list, I got a bounce message back saying I’m not allowed to send attachments to the list. So… If you want to see the output of the below script send me an off-list request and I’ll mail it to yo

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

2017-11-22 Thread Frank Scheiner
On 11/22/2017 11:18 AM, John Paul Adrian Glaubitz wrote: On 11/22/2017 09:26 AM, Frank Scheiner wrote: attached are the results for ofpathname on my p5 520Q. One thing to notice is, that although I added three additional HDDs in slots 2, 3 and 4, the first disk (in slot 1) ended up as /dev/sda

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

2017-11-22 Thread John Paul Adrian Glaubitz
On 11/22/2017 09:26 AM, Frank Scheiner wrote: attached are the results for ofpathname on my p5 520Q. One thing to notice is, that although I added three additional HDDs in slots 2, 3 and 4, the first disk (in slot 1) ended up as /dev/sda in the past (see earlier mail from me) but now is/was /dev/

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

2017-11-22 Thread Frank Scheiner
Hi again, On 11/21/2017 08:34 PM, Frank Scheiner wrote: I just ran ofpathname with set -x on my 11,2 Power Mac G5 and 10,1 Mac mini (results are in the attached compressed text file). I can do the same for my p5 520Q tomorrow in the morning. attached are the results for ofpathname on my p5 52

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

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

2017-11-20 Thread Rick Thomas
> On Nov 20, 2017, at 5:48 PM, Rick Thomas wrote: > >Power Mac G5 7,2 (I think — it’s turned off right now) It’s actually a Power Mac G5 7,3 Dual Processor Rick

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

2017-11-20 Thread Rick Thomas
Hi Frank, On Nov 19, 2017, at 1:11 AM, Frank Scheiner wrote: > I'd like to check the behaviour of ofpath and ofpathname on my G3/G4 Power > Macs and Xserve but this will take a while, as most of them are in storage > currently and far away. I only have a Mac mini G4 at hand currently for > te

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

2017-11-19 Thread Frank Scheiner
Hi Adrian, On 11/18/2017 09:40 PM, John Paul Adrian Glaubitz wrote: Hi Frank! Sorry for my brevity, currently on mobile but one question: How did you determine the OF pathname when you installed GRUB manually on your Macs? And can’t we just use this mechanism? There was no need for that IIR

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

2017-11-18 Thread John Paul Adrian Glaubitz
Hi Frank! Sorry for my brevity, currently on mobile but one question: How did you determine the OF pathname when you installed GRUB manually on your Macs? And can’t we just use this mechanism? And, I agree, depending on any Yaboot components is a no-go. If GRUB has bugs, we need to report them

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

2017-11-18 Thread Frank Scheiner
Hi Mathieu, On 11/18/2017 06:32 PM, Mathieu Malaterre wrote: Well that's surprising. Thanks for the detailed explanation. I've filled #882076 and forwarded upstream. Sorry for not being specific enough, but grub-ofpathname is currently not shipped in any GRUB package for powerpc or ppc64. I o

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

2017-11-18 Thread Mathieu Malaterre
Frank, On Sat, Nov 18, 2017 at 2:01 PM, Frank Scheiner wrote: > Hi Mathieu, > > On 11/18/2017 01:17 PM, Mathieu Malaterre wrote: >> >> Hi Frank, >> >> On Sat, Nov 18, 2017 at 11:52 AM, Frank Scheiner >> wrote: >>> >>> This patch requires the ofpath tool which is part of the yaboot package, >>> a

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

2017-11-18 Thread Frank Scheiner
Hi Mathieu, On 11/18/2017 01:17 PM, Mathieu Malaterre wrote: Hi Frank, On Sat, Nov 18, 2017 at 11:52 AM, Frank Scheiner wrote: This patch requires the ofpath tool which is part of the yaboot package, as both ofpathname (part of powerpc-ibm-utils package) and grub-ofpathname (not available pac

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

2017-11-18 Thread Mathieu Malaterre
Hi Frank, On Sat, Nov 18, 2017 at 11:52 AM, Frank Scheiner wrote: > This patch requires the ofpath tool which is part of the yaboot package, > as both ofpathname (part of powerpc-ibm-utils package) and > grub-ofpathname (not available packaged but part of the GRUB source > code) do not translate