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: More testing and pending updated installation images

2020-04-17 Thread John Paul Adrian Glaubitz
On 4/17/20 11:35 PM, Michael Cree wrote: > On Fri, Apr 17, 2020 at 10:59:15PM +0200, John Paul Adrian Glaubitz wrote: >> Currently, I'm interested in drives connected over IDE, SATA, SCSI >> and USB. I have done anything for Firewire yet. > > I do have an external firewire hard drive which I can

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: More testing and pending updated installation images

2020-04-17 Thread Michael Cree
On Fri, Apr 17, 2020 at 10:59:15PM +0200, John Paul Adrian Glaubitz wrote: > Currently, I'm interested in drives connected over IDE, SATA, SCSI > and USB. I have done anything for Firewire yet. I do have an external firewire hard drive which I can test, but will need to wait to at least next week

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

More testing and pending updated installation images

2020-04-17 Thread John Paul Adrian Glaubitz
(Resent with a fixed subject) Hi! I have updated the powerpc-utils and grub-installer packages on powerpc and ppc64 with preliminary patches by Frank Scheiner and me to fix the installation of GRUB on Apple's Power Mac machines. Currently, I'm waiting for the local mirror on the Debian CD

More testing and ending updated installation images

2020-04-17 Thread John Paul Adrian Glaubitz
Hi! I have updated the powerpc-utils and grub-installer packages on powerpc and ppc64 with preliminary patches by Frank Scheiner and me to fix the installation of GRUB on Apple's Power Mac machines. Currently, I'm waiting for the local mirror on the Debian CD building machine to resync after a

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

Re: Invalid OpenBOOT path for a device

2020-04-17 Thread John Paul Adrian Glaubitz
Control: tags -1 +patch Attaching a patch squashing my three commits to address the issue from my fork on Github in the mac-support tree [1]. Adrian > [1] https://github.com/glaubitz/powerpc-utils/tree/mac-support -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer -

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: Bug#956952: O: powerpc-utils

2020-04-17 Thread John Paul Adrian Glaubitz
Control: retitle -1 ITA: powerpc-utils Control: owner -1 ! I will adopt this package to update it to the latest upstream version and also add support for most NewWorld PowerBooks and PowerMacs. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `'

Re: iMac G3 support in Sid, Impossible?

2020-04-17 Thread Michel Dänzer
On 2020-04-16 7:46 p.m., Alex McKeever wrote: > I was told that the kernel is why it doesn’t work 100%... that it needs User > Space Modesetting and thus needs an older kernel like 2.6, 3.13 or 4.4.0-187 > to work properly at all with the Rage128. The r128 drivers have never transitioned to

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

Bug#956952: O: powerpc-utils

2020-04-17 Thread John Paul Adrian Glaubitz
Package: wnpp Severity: normal User: debian-powerpc@lists.debian.org Usertags: powerpc ppc64 ppc64el Hello! I'm orphaning the powerpc-utils package with the intention to adopt it. The package hasn't been updated for a long time by the original maintainer and has a couple of issues that need

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