Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-19 Thread Rick Thomas
No problem! It was a fun adventure tracking it down! (-; On Sun, Apr 19, 2020, at 1:41 AM, Frank Scheiner wrote: > On 19.04.20 10:36, Rick Thomas wrote: > > OK > > > > On Sat, Apr 18, 2020, at 11:47 PM, Frank Scheiner wrote: > >> You need to use the `ofpathname` from the `mac-support` branch

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-19 Thread Rick Thomas
OK On Sat, Apr 18, 2020, at 11:47 PM, Frank Scheiner wrote: > Hi Rick, > > nice to hear from you! > > On 19.04.20 00:10, Rick Thomas wrote: > > On Sat, Apr 18, 2020, at 1:58 AM, John Paul Adrian Glaubitz wrote: > >> You should test with ofpathname as well. > > > > OK, I will. Is there an

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-19 Thread Frank Scheiner
On 19.04.20 10:36, Rick Thomas wrote: OK On Sat, Apr 18, 2020, at 11:47 PM, Frank Scheiner wrote: You need to use the `ofpathname` from the `mac-support` branch mentioned on [2]. You can either download it directly from [3] or `git clone https://github.com/glaubitz/powerpc-utils.git` and do a

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-19 Thread John Paul Adrian Glaubitz
Hi Frank! On 4/19/20 8:47 AM, Frank Scheiner wrote: >> OK, I will.  Is there an updated version of ofpathname I should be using?  >> If so how do I get it? > > Check [1] and [2] for details. > > [1]: https://lists.debian.org/debian-powerpc/2020/04/msg00075.html > > [2]:

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-19 Thread Frank Scheiner
Hi Rick, nice to hear from you! On 19.04.20 00:10, Rick Thomas wrote: On Sat, Apr 18, 2020, at 1:58 AM, John Paul Adrian Glaubitz wrote: You should test with ofpathname as well. OK, I will. Is there an updated version of ofpathname I should be using? If so how do I get it? Check [1]

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-18 Thread Rick Thomas
On Sat, Apr 18, 2020, at 1:58 AM, John Paul Adrian Glaubitz wrote: > You should test with ofpathname as well. OK, I will. Is there an updated version of ofpathname I should be using? If so how do I get it? Thanks! Rick

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-18 Thread Rick Thomas
OK here it is with the fixed ofpath... rbthomas@kmac:~/tmp/usr/sbin$ ./ofpath /dev/sda /ht@0,f200/pci@5/k2-sata-root@c/@0/@0 rbthomas@kmac:~/tmp/usr/sbin$ ./ofpath /dev/sdb /ht@0,f200/pci@5/k2-sata-root@c/@1/@0 rbthomas@kmac:~/tmp/usr/sbin$ ./ofpath /dev/sda1

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-18 Thread John Paul Adrian Glaubitz
On 4/18/20 10:57 AM, Rick Thomas wrote: > OK here it is with the fixed ofpath... > > rbthomas@kmac:~/tmp/usr/sbin$ ./ofpath /dev/sda > /ht@0,f200/pci@5/k2-sata-root@c/@0/@0 > rbthomas@kmac:~/tmp/usr/sbin$ ./ofpath /dev/sdb > /ht@0,f200/pci@5/k2-sata-root@c/@1/@0 >

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-18 Thread John Paul Adrian Glaubitz
On 4/18/20 4:18 AM, Rick Thomas wrote: >>> Now, the only test I would like to see is whether ofpath sees a difference >>> between "sda" and "sdb" because apparently, Romain got identical paths >>> with ofpathname for both his disks. > > Here's what I ge on my PowerMacc7,3 PCI-X machine It

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread Rick Thomas
> > Now, the only test I would like to see is whether ofpath sees a difference > > between "sda" and "sdb" because apparently, Romain got identical paths > > with ofpathname for both his disks. Here's what I ge on my PowerMacc7,3 PCI-X machine It appears that ofpath gives the same answer for

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread Michael Cree
On Fri, Apr 17, 2020 at 09:48:47PM +, Dennis Clarke wrote: > On 4/17/20 9:18 PM, Michael Cree wrote: > > On Fri, Apr 17, 2020 at 07:28:37AM +0200, John Paul Adrian Glaubitz wrote: > > > On 4/17/20 1:18 AM, Michael Cree wrote: > > > > There was no forgetting; only a misreading of the original

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread Dennis Clarke
On 4/17/20 9:18 PM, Michael Cree wrote: On Fri, Apr 17, 2020 at 07:28:37AM +0200, John Paul Adrian Glaubitz wrote: On 4/17/20 1:18 AM, Michael Cree wrote: There was no forgetting; only a misreading of the original message when skim-reading due to being in a hurry. You have a habbit of making

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread Michael Cree
On Fri, Apr 17, 2020 at 07:28:37AM +0200, John Paul Adrian Glaubitz wrote: > On 4/17/20 1:18 AM, Michael Cree wrote: > > There was no forgetting; only a misreading of the original message > > when skim-reading due to being in a hurry. You have a habbit of > > making negative assumptions of people

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread John Paul Adrian Glaubitz
On 4/17/20 12:55 PM, John Paul Adrian Glaubitz wrote: > OK, I got it now: I have uploaded patched versions of the powerpc-utils and grub-installer packages and will build test images tomorrow - I have to wait for the mirrors to sync. Tomorrow we will find out whether my changes work. Adrian --

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread John Paul Adrian Glaubitz
On 4/17/20 11:28 AM, Romain Dolbeau wrote: > Le ven. 17 avr. 2020 à 11:26, Jeffrey Walton a écrit : >> If no one offers SSH access > > I'm going to try to let Adrian plays with my Quad, but if you have a > different/older models the ability to try/port on it as well might be > valuable

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread Romain Dolbeau
Le ven. 17 avr. 2020 à 11:26, Jeffrey Walton a écrit : > If no one offers SSH access I'm going to try to let Adrian plays with my Quad, but if you have a different/older models the ability to try/port on it as well might be valuable nonetheless. Cordially, -- Romain Dolbeau

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread Jeffrey Walton
On Fri, Apr 17, 2020 at 5:03 AM John Paul Adrian Glaubitz wrote: > > On 4/17/20 10:51 AM, Romain Dolbeau wrote: > > Le ven. 17 avr. 2020 à 10:37, John Paul Adrian Glaubitz > > a écrit : > >> I have come up with this patch, can you test it on the mac-support branch? > > > > No cigars: > > > > ...

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread John Paul Adrian Glaubitz
On 4/17/20 10:51 AM, Romain Dolbeau wrote: > Le ven. 17 avr. 2020 à 10:37, John Paul Adrian Glaubitz > a écrit : >> I have come up with this patch, can you test it on the mac-support branch? > > No cigars: > > dolbeau@powermacg5:~/powerpc-utils$ sudo ./scripts/ofpathname sda >

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread Romain Dolbeau
Le ven. 17 avr. 2020 à 10:37, John Paul Adrian Glaubitz a écrit : > I have come up with this patch, can you test it on the mac-support branch? No cigars: dolbeau@powermacg5:~/powerpc-utils$ sudo ./scripts/ofpathname sda /ht@0,f200/pci@9/k2-sata-root@c/@0 The first added line on your patch

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread John Paul Adrian Glaubitz
Hi! On 4/17/20 10:20 AM, Romain Dolbeau wrote: > Le ven. 17 avr. 2020 à 10:17, John Paul Adrian Glaubitz > a écrit : >> Can you edit Yaboot's ofpath script and set DEBUG=1, then run "ofpath" on >> both >> /dev/sda1 and /dev/sdb1? > > First on the drives just in case, then on the partitions as

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread Romain Dolbeau
Le ven. 17 avr. 2020 à 10:17, John Paul Adrian Glaubitz a écrit : > Can you edit Yaboot's ofpath script and set DEBUG=1, then run "ofpath" on both > /dev/sda1 and /dev/sdb1? First on the drives just in case, then on the partitions as requested: # dolbeau@powermacg5:~$ sudo ./ofpath.debug

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread John Paul Adrian Glaubitz
On 4/17/20 10:05 AM, Romain Dolbeau wrote: > Maybe 'lssci' can help with your question? > > dolbeau@powermacg5:~$ lsscsi -tv > [0:0:0:0]cd/dvd ata:/dev/sr0 > dir: /sys/bus/scsi/devices/0:0:0:0 >

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread Romain Dolbeau
Le ven. 17 avr. 2020 à 09:27, John Paul Adrian Glaubitz a écrit : > Or maybe the plug ID is identical to the LUN in this case? Maybe 'lssci' can help with your question? dolbeau@powermacg5:~$ lsscsi -tv [0:0:0:0]cd/dvd ata:/dev/sr0 dir:

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread John Paul Adrian Glaubitz
On 4/17/20 9:25 AM, John Paul Adrian Glaubitz wrote: > Can you test whether the following patch fixes the problem? > > diff --git a/scripts/ofpathname b/scripts/ofpathname > index 375154e..3564485 100755 > --- a/scripts/ofpathname > +++ b/scripts/ofpathname > @@ -955,7 +955,7 @@ l2of_scsi() >

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread John Paul Adrian Glaubitz
On 4/17/20 9:23 AM, John Paul Adrian Glaubitz wrote: > It would be handy to have access to a G5 running Linux now. It seems that > get_hbtl() needs to be extended to include the target ID in its output. Never mind, it's actually "ID" in the function get_hbtl(). Can you test whether the following

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread John Paul Adrian Glaubitz
On 4/17/20 9:05 AM, Romain Dolbeau wrote: > Le jeu. 16 avr. 2020 à 21:31, John Paul Adrian Glaubitz > a écrit : >>> And if my reading of OF 'dev / ls' is correct, the disks should be: >>> /ht@0,f200/pci@9/k2-sata-root@c/k2-sata@0/disk@0 >>> /ht@0,f200/pci@9/k2-sata-root@c/k2-sata@1/disk@0

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread Romain Dolbeau
Le jeu. 16 avr. 2020 à 21:31, John Paul Adrian Glaubitz a écrit : > > And if my reading of OF 'dev / ls' is correct, the disks should be: > > /ht@0,f200/pci@9/k2-sata-root@c/k2-sata@0/disk@0 > > /ht@0,f200/pci@9/k2-sata-root@c/k2-sata@1/disk@0 > What does ofpath say? Still says:

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-17 Thread John Paul Adrian Glaubitz
On 4/17/20 7:42 AM, Dennis Clarke wrote: > On 4/16/20 11:18 PM, Michael Cree wrote: >> On Fri, Apr 17, 2020 at 01:03:49AM +0200, John Paul Adrian Glaubitz wrote: > > Just running a quick install test of the 2020-04-16 ppc64 installer on a > G5 and I select "no" for the EFI path grub option which

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Dennis Clarke
On 4/16/20 11:18 PM, Michael Cree wrote: On Fri, Apr 17, 2020 at 01:03:49AM +0200, John Paul Adrian Glaubitz wrote: Just running a quick install test of the 2020-04-16 ppc64 installer on a G5 and I select "no" for the EFI path grub option which then shows me : [!!] Install the GRUB boot

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
On 4/17/20 1:18 AM, Michael Cree wrote: > There was no forgetting; only a misreading of the original message > when skim-reading due to being in a hurry. You have a habbit of > making negative assumptions of people who are only trying to help > which is, frankly, not appreciated. Not sure how

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Michael Cree
On Fri, Apr 17, 2020 at 01:03:49AM +0200, John Paul Adrian Glaubitz wrote: > On 4/17/20 12:39 AM, Michael Cree wrote: > > Machine (from /proc/cpuinfo): > > cpu : PPC970MP, altivec supported > > motherboard : PowerMac11,2 MacRISC4 Power Macintosh > > detected as : 337 (PowerMac G5 Dual

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Michael Cree
On Thu, Apr 16, 2020 at 06:07:29PM +0200, John Paul Adrian Glaubitz wrote: > Done. Could someone perform tests on various Mac systems, please and > provide the output of "ofpathname /dev/sda1", "ofpathname /dev/sd2" > and - if available - "ofpathname /dev/sdb1" and provide the same output > from

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
On 4/17/20 12:39 AM, Michael Cree wrote: > Machine (from /proc/cpuinfo): > cpu : PPC970MP, altivec supported > motherboard : PowerMac11,2 MacRISC4 Power Macintosh > detected as : 337 (PowerMac G5 Dual Core) > > Running yaboot (1.3.17-4+ports1) ofpath: > root@joule:~# ofpath

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Frank Scheiner
Hi Adrian, On 16.04.20 21:25, John Paul Adrian Glaubitz wrote: Hi Frank! On 4/16/20 8:49 PM, Frank Scheiner wrote: Alternatively, can someone run the ofpathname command from the powerpc-utils package on different physical disks, e.g. sda1 and sdb1 and do the same with the ofpath command?

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
On 4/16/20 8:53 PM, Romain Dolbeau wrote: > Le jeu. 16 avr. 2020 à 20:38, Romain Dolbeau a écrit : >> In case tracing the script a bit could be helpful, I attach the log >> from tuning 'sudo bash -x ~/powerpc-utils/scripts/ofpathname /dev/sda >> 2>&1 | tee /tmp/log'. > > And if my reading of OF

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
Hi Frank! On 4/16/20 8:49 PM, Frank Scheiner wrote: >> Alternatively, can someone run the ofpathname command from the powerpc-utils >> package on different physical disks, e.g. sda1 and sdb1 and do the same with >> the ofpath command? > > Sorry, I can't be of help ATM, as my G5s are all in

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
On 4/16/20 8:53 PM, Romain Dolbeau wrote: > And if my reading of OF 'dev / ls' is correct, the disks should be: > > /ht@0,f200/pci@9/k2-sata-root@c/k2-sata@0/disk@0 > > /ht@0,f200/pci@9/k2-sata-root@c/k2-sata@1/disk@0 What does ofpath say? Adrian -- .''`. John Paul Adrian Glaubitz :

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
On 4/16/20 8:45 PM, Frank Scheiner wrote: >> dolbeau@powermacg5:~$ ls -l /usr/sbin/ofpath* >> -rwxr-xr-x 1 root root 24392 Apr 14  2019 /usr/sbin/ofpath >> lrwxrwxrwx 1 root root    16 Jan 26 10:49 /usr/sbin/ofpathname -> >> /usr/sbin/ofpath >> -rwxr-xr-x 1 root root 40016 Feb 10  2019

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
On 4/16/20 8:38 PM, Romain Dolbeau wrote: > Anyway - here's the result with your branch, the only difference I see > is that 'scsi' & 'sd' are gone: > > # > dolbeau@powermacg5:~/powerpc-utils$ git status > On branch mac-support > Your branch is up to date with 'origin/mac-support'. > nothing

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Romain Dolbeau
Le jeu. 16 avr. 2020 à 20:38, Romain Dolbeau a écrit : > In case tracing the script a bit could be helpful, I attach the log > from tuning 'sudo bash -x ~/powerpc-utils/scripts/ofpathname /dev/sda > 2>&1 | tee /tmp/log'. And if my reading of OF 'dev / ls' is correct, the disks should be:

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Frank Scheiner
Hi Adrian, On 16.04.20 17:23, John Paul Adrian Glaubitz wrote: I have finally found some time to work on this issue again. Nice! First things first, I have reviewed the messages in this thread and compared it with the source code and the knowledge about the hardware I have. I have

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Frank Scheiner
Hi guys, On 16.04.20 20:38, Romain Dolbeau wrote: First, the mystery was solved by the almighty command 'ls', turns out it's not exactly a patch: dolbeau@powermacg5:~$ ls -l /usr/sbin/ofpath* -rwxr-xr-x 1 root root 24392 Apr 14 2019 /usr/sbin/ofpath lrwxrwxrwx 1 root root16 Jan 26 10:49

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Romain Dolbeau
Le jeu. 16 avr. 2020 à 20:09, John Paul Adrian Glaubitz a écrit : > Ok, so on the G4 FW800, you should see "ofpath" and "ofpathname" showing > _different_ OF paths. Which I do, so that's OK. > Can you now try the patched version from my Github repo on your G5? First, the mystery was solved by

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
On 4/16/20 8:01 PM, Romain Dolbeau wrote: > Le jeu. 16 avr. 2020 à 19:53, Romain Dolbeau a écrit : >>> which is why I suspect the ofpathname script on the G4 FW800 machine has >>> been >>> patched. >> Apparently, it _has_ been patched on the G5 > > I checked, it's vanilla on the G4 FW800. Ok,

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Romain Dolbeau
Le jeu. 16 avr. 2020 à 19:53, Romain Dolbeau a écrit : > > which is why I suspect the ofpathname script on the G4 FW800 machine has > > been > > patched. > Apparently, it _has_ been patched on the G5 I checked, it's vanilla on the G4 FW800. Cordially, -- Romain Dolbeau

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
On 4/16/20 7:53 PM, Romain Dolbeau wrote: > Le jeu. 16 avr. 2020 à 19:38, John Paul Adrian Glaubitz > a écrit : >> Basically, your G4 FW800 the ofpathname script outputs the correct path >> and it also doesn't expect the error message as on your G5 > > I'm not sure I follow - the error message

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Romain Dolbeau
Le jeu. 16 avr. 2020 à 19:38, John Paul Adrian Glaubitz a écrit : > Basically, your G4 FW800 the ofpathname script outputs the correct path > and it also doesn't expect the error message as on your G5 I'm not sure I follow - the error message appears on the G4FW800, not on the G5? > which is

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
Hi Stan! On 4/16/20 7:38 PM, user...@yahoo.com wrote: > The following information is from a PPC G5, 2.2 GHz, 2 processors. > Disk /dev/sda: 931.53 GiB - internal SATA disk > Disk /dev/sdb: 465.78 GiB - internal SATA disk > Disk /dev/sdc: 298.9 GiB - firewire disk (front built-in firewire) > Disk

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread userm57
Sorry, my mistake; Debian 7 and Debian SID ofpathnames match, I was looking at ofpath. On 4/16/20 11:38 AM, user...@yahoo.com wrote: > On 4/16/20 9:23 AM, John Paul Adrian Glaubitz wrote: >> Hi! >> >> ... >> >> Alternatively, can someone run the ofpathname command from the powerpc-utils >>

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread userm57
On 4/16/20 9:23 AM, John Paul Adrian Glaubitz wrote: > Hi! > > ... > > Alternatively, can someone run the ofpathname command from the powerpc-utils > package on different physical disks, e.g. sda1 and sdb1 and do the same with > the ofpath command? > > Adrian > Hi Adrian, The following

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
On 4/16/20 7:34 PM, Romain Dolbeau wrote: > ... because it's a different machine altogether ? :-) Then it should still print the "sd@0" string instead of just "@0". Basically, your G4 FW800 the ofpathname script outputs the correct path and it also doesn't expect the error message as on your G5

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
On 4/16/20 7:24 PM, Romain Dolbeau wrote: > dolbeau@powermacg4fw800:~$ sudo ofpathname /dev/sda > /usr/sbin/ofpathname: line 812: warning: command substitution: ignored > null byte in input > /pci@f400/ata-6@d/scsi@0/sd@0,0 > dolbeau@powermacg4fw800:~$ sudo ofpath /dev/sda >

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Romain Dolbeau
Le jeu. 16 avr. 2020 à 19:18, John Paul Adrian Glaubitz a écrit : > Huh? Where is that ofpathname from? Unless you have a patched version, > it shouldn't be printing the SCSI with just an "@". dolbeau@powermacg5:~$ dpkg -S /usr/sbin/ofpathname powerpc-ibm-utils: /usr/sbin/ofpathname

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Romain Dolbeau
> Le jeu. 16 avr. 2020 à 17:23, John Paul Adrian Glaubitz > a écrit : > > Alternatively, can someone run the ofpathname command from the powerpc-utils > > package on different physical disks, e.g. sda1 and sdb1 and do the same with > > the ofpath command? On my PowerMac G4 FW800 ; this one has a

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
On 4/16/20 7:13 PM, Romain Dolbeau wrote: > Le jeu. 16 avr. 2020 à 17:23, John Paul Adrian Glaubitz > a écrit : >> Alternatively, can someone run the ofpathname command from the powerpc-utils >> package on different physical disks, e.g. sda1 and sdb1 and do the same with >> the ofpath command? >

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Romain Dolbeau
Le jeu. 16 avr. 2020 à 17:23, John Paul Adrian Glaubitz a écrit : > Alternatively, can someone run the ofpathname command from the powerpc-utils > package on different physical disks, e.g. sda1 and sdb1 and do the same with > the ofpath command? On my G5 Quad: dolbeau@powermacg5:~$ sudo

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
Hi! On 4/16/20 6:13 PM, Jeffrey Walton wrote: >> Anyone can provide me with access to a G5 for testing? I just want check the >> device paths output by my patched "ofpathname". > > Yes. Send your SSH public keys/authorized_keys to noloader, gmail account. Sent. If I can successfully test this

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread Jeffrey Walton
> Anyone can provide me with access to a G5 for testing? I just want check the > device paths output by my patched "ofpathname". Yes. Send your SSH public keys/authorized_keys to noloader, gmail account. On Thu, Apr 16, 2020 at 11:23 AM John Paul Adrian Glaubitz wrote: > > I have finally found

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
Hi! On 4/16/20 5:23 PM, John Paul Adrian Glaubitz wrote: > 1) through 3) are fairly easy to implement, 4) needs some scripting-fu. > > I will work on the first three now. Done. Could someone perform tests on various Mac systems, please and provide the output of "ofpathname /dev/sda1",

Re: ofpath vs ofpathname vs grub-ofpathname

2020-04-16 Thread John Paul Adrian Glaubitz
Hi! I have finally found some time to work on this issue again. First things first, I have reviewed the messages in this thread and compared it with the source code and the knowledge about the hardware I have. I have concluded that the following changes are necessary in ofpathname: 1)

Re: ofpath vs ofpathname vs grub-ofpathname

2019-07-30 Thread John Ogness
On 2019-07-30, John Paul Adrian Glaubitz wrote: > I have started working on this now and first had a go at the > ofpathname script from the powerpc-utils package [1]. > > The script now prints out the correct Open Firmware path names on my > iBook G4: > > root@test-adrian1:~/powerpc-utils# ofpath

Re: ofpath vs ofpathname vs grub-ofpathname

2019-07-30 Thread John Paul Adrian Glaubitz
Hello! On 6/20/19 3:47 PM, John Paul Adrian Glaubitz wrote: > In order to collect data for fixing the limitations we have with > grub-ofpathname, > I have done some initial testing on our POWER8 buildd by comparing the output > of Yaboot's ofpath [1], ofpathname from powerpc-utils [2] and

Re: ofpath vs ofpathname vs grub-ofpathname

2019-07-02 Thread Frank Scheiner
On 6/20/19 22:45, John Paul Adrian Glaubitz wrote: Hi Frank! On 6/20/19 9:04 PM, Frank Scheiner wrote: Combining the information from [1] and [2] for my 11,2 type G5 the following OF paths are returned: ``` root@powermac-g5:~# ofpathname /dev/sda2

Re: ofpath vs ofpathname vs grub-ofpathname

2019-06-21 Thread John Paul Adrian Glaubitz
Hi Mathieu! On 6/21/19 2:20 PM, Mathieu Malaterre wrote: > System: Mac Mini G4 > > Using master branch from: > $ git clone g...@github.com:ibm-power-utilities/powerpc-utils.git > $ git clone git://ozlabs.org/srv/projects/yaboot/yaboot.git > $ git clone git://git.savannah.gnu.org/grub.git > >

Re: ofpath vs ofpathname vs grub-ofpathname

2019-06-21 Thread Mathieu Malaterre
Adrian, On Thu, Jun 20, 2019 at 3:47 PM John Paul Adrian Glaubitz wrote: > > Hi! > > In order to collect data for fixing the limitations we have with > grub-ofpathname, > I have done some initial testing on our POWER8 buildd by comparing the output > of Yaboot's ofpath [1], ofpathname from

Re: ofpath vs ofpathname vs grub-ofpathname

2019-06-20 Thread John Paul Adrian Glaubitz
Hi Frank! On 6/20/19 9:04 PM, Frank Scheiner wrote: > Combining the information from [1] and [2] for my 11,2 type G5 the > following OF paths are returned: > > ``` > root@powermac-g5:~# ofpathname /dev/sda2 > /ht@0,f200/pci@9/k2-sata-root@c/scsi@0/sd@0,0:2 > > # The used `grub-ofpathname`

Re: ofpath vs ofpathname vs grub-ofpathname

2019-06-20 Thread Frank Scheiner
Hi Adrian, On 6/20/19 15:47, John Paul Adrian Glaubitz wrote: Hi! In order to collect data for fixing the limitations we have with grub-ofpathname, I have done some initial testing on our POWER8 buildd by comparing the output of Yaboot's ofpath [1], ofpathname from powerpc-utils [2] and

ofpath vs ofpathname vs grub-ofpathname

2019-06-20 Thread John Paul Adrian Glaubitz
Hi! In order to collect data for fixing the limitations we have with grub-ofpathname, I have done some initial testing on our POWER8 buildd by comparing the output of Yaboot's ofpath [1], ofpathname from powerpc-utils [2] and grub-ofpathname [3]. Interestingly, all three return different path