Subject: Re: Power Macintosh 9500 / 132
To: Marcos Onisto <mlonisto@gmail.com>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 11/21/2006 12:14:31
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Nov 21, 2006, at 05:52, Marcos Onisto wrote:

> I need to do my computer boot on my device scsi/sd@0:0 or getting open 
> firmware again, but It's impossible because I dont have one cable 
> serial to try it.

You can get away without a cable - might take some fiddling though.
Hunt down a small SCSI disk you don't immediately need for installing 
NetBSD, put it into your 9500 and install some sort of MacOS on it ( 
anything from 7.5 up should do ). Then download and install the 
bootvars utility as mentioned in the NetBSD-macppc FAQ. Use this 
utility to set up your OpenFirmware variables ( auto-boot?, 
input-device, output-device etc. as you had them before ). input-device 
should be kbd on most models, output-device is more difficult and 
depends on your graphics card ( since the 9500 has no onboard video ) - 
it needs to be set to the OpenFormware path of your graphics board. On 
my S900 for instance it's /bandit/3Dfx,Voodoo3, on yours it will be 
/bandit/something_else. Since your 9500 has two bandits ( read: PCI 
host bridges. One controls the upper 3 PCI slots and most onboard 
devices, the other one controls the lower 3 PCI slots if I remember 
correctly ) you need to specify which one has the graphics board - 
either /bandit@f2000000 or /bandit@f4000000. No need to specify any @ 
for the graphics board as long as you don't have two identical ones 
controlled by the same bandit.
With input-device, output-device set to the right values and auto-boot? 
set to false your Mac should drop you at the OF prompt on next reboot.
You will probably need a few tries until you find the right values - 
bootvars lets you save settings into files, use that unless you like 
typing the same stuff over and over again. And MacOS will nuke all OF 
settings when it boots so don't expect to find anything sane when 
starting bootvars.
If I remember correctly the System Profiler will show the graphics 
card's OF path or at least the OF node name, with that you should be 
able to guess the right value. If you have an ATI card the name will be 
something like ATY,mach64.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRWMz98pnzkX8Yg2nAQJEUQf+Nh9hZrn/8uoV0PAeIA9QmuZqz0dY662u
o+ialxMRLkXe3ksVr578LREkt+4fGFWjRhCiwnp/zTHPE+4+eP94yxr4lEhjBdEW
rn6hPD3hD/289Ou9wtXQujQfg8BlFnn7qgyk0isH39vHyAkQ+RdrREWTBd8ANNNc
LrdMG8kesvdpp8koKpypsQuQZuriI/fo9/D5SDG5IkRSky+lAs7Di25PqEhArXsu
2ur6CGwfxvXzlVCo1GDJlREUEYTkyQM1x1CidvSSUkp4/6HHgUxrFCx2pzjrOvQv
qfTFOs2o8BXy1qAQ9KfKZhwNbB+VQHQWWkdVGSxf/EyKNceArZkFgg==
=Xlox
-----END PGP SIGNATURE-----