Re: issue booting CD iso on iBook G4

2018-11-30 Thread Riccardo Mottola

Hi Adrian!

John Paul Adrian Glaubitz wrote:

It's not showing any partitions, see "List of all partitions".
It looks like it's not even detecting your hard drive.


but the installer knerl detected everything and installed, the installed 
kernel not, isn't that strange?

I wonder if it is due to some yaboot configuration parameter.





I will create new images this weekend, then you can retry.


ok, then I will eagerly try to install again!

If they could have updated "release and architecture" then one could 
enter manually the mirror and also fetch updated packages, which could 
help during install.


Should it contain the fixed yaboot already?

Riccardo



Re: issue booting CD iso on iBook G4

2018-11-30 Thread John Paul Adrian Glaubitz
On 11/30/18 11:09 AM, Riccardo Mottola wrote:> The extract of the boot dmesg 
says, screenshot attached.

It's not showing any partitions, see "List of all partitions".
It looks like it's not even detecting your hard drive.

I will create new images this weekend, then you can retry.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: issue booting CD iso on iBook G4

2018-11-30 Thread John Paul Adrian Glaubitz



> On Nov 30, 2018, at 10:00 AM, Riccardo Mottola  
> wrote:
> 
> I am doing a second installation attempt right now, keeping the original 
> parittions but reformatting them; but...

Rather than reinstalling, you should give us a screenshot or a textcopy of the 
kernel panic.

Adrian


Re: issue booting CD iso on iBook G4

2018-11-30 Thread Riccardo Mottola

Hi,

Riccardo Mottola wrote:


I tried booting of from the USB, but I don't know where to get the 
system yaboot.conf from 


now I have an installed systen (I hope) but cannot boot it.

My idea was to do the same USB trick again, but on the ard disk, thus doing:

1. boot usb1/disk@1:,\install\yaboot
2. conf device=hd file=/yaboot.conf
3. remove USB key
4. /boot/vmlinux

It starts booting, however it ends with a kernel panic because of no 
mounted file system...


I thus think that something is not correctly installed!


I am doing a second installation attempt right now, keeping the original 
parittions but reformatting them; but...



Riccardo



Re: issue booting CD iso on iBook G4

2018-11-29 Thread Risto Suominen
2018-11-29 19:54 UTC+02.00, Riccardo Mottola :
> Riccardo Mottola wrote:
>
> Is there a way to list files from OF, just to be sure the device and paths
> are correct?
>
I think there is a 'dir' command with same syntax as 'boot'.

Risto



Re: issue booting CD iso on iBook G4

2018-11-29 Thread Riccardo Mottola

Hi John

John Ogness wrote:



Have you checked if the device is recognized? With the OF command
"devalias" you can see what usb0 is. For example, for me it is:

/pci@f200/usb@1b,1

You can manually traverse the device tree and see if the USB disk is
detected:

dev usb0
ls   <--- should show an entry like "disk@1"


It did not! thanks for the trick...
OF didn't like my USB key (which wasn't USB3... but still). I had 
another one that worked.






boot usb0/hub@1/hub@4/disk@1:2,\install\yaboot


for me it was

boot usb1/disk@1:,\install\yaboot

and I did boot! I did use debian 8.11, since 8.9 was not readily available.

Then I booted the local disk by issuing

conf device=cd file=/install/yaboot.conf



install32

Removing USB key is very important, or at boot it is detected and a 
mismatch happens between kernel and installer and, for example, no 
kernel modules are detected.


The ISO is still old, with the wrong mirrors! so only the packages of 
the ISO get installed


The installed, system does not boot. It loads the first stage but 
then resets.


I tried booting of from the USB, but I don't know where to get the 
system yaboot.conf from


Riccardo



On a side note, it is a bit frustrating that I provided a patch and even
NMU package [0] with a fix 3 months ago but because it is not being
accepted, people like you continue to waste our time on this issue.



Yes, indeed, a working yaboot would have saved me hours of time... the 
trick of usb load, the not recognized USB key.. and at the end, the 
trick of removing the USB key!


What a work. Including the obsolete mirrors :(



Re: issue booting CD iso on iBook G4

2018-11-29 Thread John Ogness
On 2018-11-29, John Ogness  wrote:
> On a side note, it is a bit frustrating that I provided a patch and
> even NMU package [0] with a fix 3 months ago but because it is not
> being accepted, people like you continue to waste our time on this
> issue.

Sorry, I think that last sentence was formulated poorly. By "waste our
time" I meant you and me and others that continue to fight and re-solve
the same problem over and over and over again. Most people probably give
up without even posting. Updating the yaboot installer on the ISO (even
if it is counter to our goal of getting grub to be the installer), would
at least allow "us" (meaning people like you and me and many others) to
easily install Debian/sid on G4-iBooks in order to help and participate.

John Ogness 

> [0] http://www.ogness.net/debian/yaboot



Re: issue booting CD iso on iBook G4

2018-11-29 Thread John Ogness
Hi Riccardo,

On 2018-11-29, Riccardo Mottola  wrote:
> I did try to get debian 8.11.0 netinst on an USB stick
>
> I am unable to boot that stick, neither with just "boot usb" from OF,
> neither using this:
>
> 1. download jessie powerpc netinst iso[1] and dd it to a USB stick
>
> 2. boot into open firmware
>
> 3. start yaboot 1.3.16 from jessie usb stick
>boot usb0/disk@1:2,\install\yaboot
>
> 4. from yaboot 1.3.16, switch to sid netinst (CD-ROM)
>conf device=cd file=/install/yaboot.conf
>
> 5. run installer
>install32
>
> If I do:
>
>boot usb0/disk@1:2,\install\yaboot
> -> Can't open device or file

Have you checked if the device is recognized? With the OF command
"devalias" you can see what usb0 is. For example, for me it is:

/pci@f200/usb@1b,1

You can manually traverse the device tree and see if the USB disk is
detected:

dev usb0
ls   <--- should show an entry like "disk@1"

(The "dev" command is like "cd". You can specify absolute or relative
paths to move up and down the tree.) Otherwise try the other USB port:

dev usb1
ls

You need to make sure the USB stick is inserted before powering
on. Also, if the USB stick is USB3, it may not be detected. I was able
to work around that issue by using a USB2 hub. With the USB2 hub, I then
had to find my stick:

dev usb0
ls
dev hub@1
ls
dev hub@4
ls <--- finally showed me disk@1

So the boot command for me was then:

boot usb0/hub@1/hub@4/disk@1:2,\install\yaboot

On a side note, it is a bit frustrating that I provided a patch and even
NMU package [0] with a fix 3 months ago but because it is not being
accepted, people like you continue to waste our time on this issue.

John Ogness

[0] http://www.ogness.net/debian/yaboot



Re: issue booting CD iso on iBook G4

2018-11-29 Thread Frank Scheiner

On 11/29/18 18:54, Riccardo Mottola wrote:

If I do:

    boot usb0/disk@1:2,\install\yaboot
-> Can't open device or file

    boot usb1/disk@1:2,\install\yaboot
-> Can't open device or file

    boot usb1a/disk@1:2,\install\yaboot

I get a big grey screen with the "not found" sign in the middle, after 
some xcoff loading


There might be no device alias for your USB ports or they might just be 
named differently on your machine (e.g. like in this post on [1]). You 
can check the device aliases with the `devalias` command.


[1]: https://apple.stackexchange.com/a/160252



I wonder if I wrote the key correctly, I can see it as HFS volume from 
mac and see the files.


Is there a way to list files from OF, just to be sure the device and 
paths are correct?


Just stumbled upon this on the web: check "Finding the OF Code File on 
the hard drive" on [2], maybe this works for you.


[2]: 
https://www.fenestrated.net/mirrors/Apple%20Technotes%20(As%20of%202002)/tn/tn2001.html


Cheers,
Frank



Re: issue booting CD iso on iBook G4

2018-11-29 Thread Riccardo Mottola

Riccardo Mottola wrote:


I did not try any USB tricks, I always had issues with USB sticks on 
Mac, this is why I ent to optical media.


I did try to get debian 8.11.0 netinst on an USB stick

I am unable to boot that stick, neither with just "boot usb" from OF, 
neither using this:


1. download jessie powerpc netinst iso[1] and dd it to a USB stick

2. boot into open firmware

3. start yaboot 1.3.16 from jessie usb stick
   boot usb0/disk@1:2,\install\yaboot

4. from yaboot 1.3.16, switch to sid netinst (CD-ROM)
   conf device=cd file=/install/yaboot.conf

5. run installer
   install32

If I do:

   boot usb0/disk@1:2,\install\yaboot
-> Can't open device or file

   boot usb1/disk@1:2,\install\yaboot
-> Can't open device or file

   boot usb1a/disk@1:2,\install\yaboot

I get a big grey screen with the "not found" sign in the middle, after some 
xcoff loading

I wonder if I wrote the key correctly, I can see it as HFS volume from mac and 
see the files.

Is there a way to list files from OF, just to be sure the device and paths are 
correct?



Riccardo



issue booting CD iso on iBook G4

2018-11-29 Thread Riccardo Mottola

Hi!

I want to install on my iBook G4. It is a slightly different model than 
the one I succeded 10 days ago... this is the 14" version and not the 12".

The last one had a motherboard failure, so I can't "test" on the old one.

I burned on CD the iso from here,

 https://cdimage.debian.org/cdimage/ports/10.0/powerpc/iso-cd/

The date 18/5 did not change, so I suppose it is the same iso, there were no 
updates.

However, on boot I drop into OF

Decrementer exception at %SRR0: 001001d8   %SRR1: 10003030

Now what? I tried
- booting with "C" and I get this issue
- re-issue boot cdrom in OF, I still get the issuie
- hold "option" and select the CD (which gets correctly recognized as Linux CD)

this is looks very similar to this:
https://groups.google.com/forum/#!msg/linux.debian.ports.powerpc/LnSTJ3ziFPI/13ywYoX8EAAJ

I did not try any USB tricks, I always had issues with USB sticks on Mac, this 
is why I ent to optical media.


What I wonder is that on a G4 iBook "similar" but not the same (both with the 
same CPU, so about same vintage) it worked on the former and not the latter.


Do we have an older or newer cd image available perhaps?

Thank you.

Riccardo