Subject: Re: Succeeded to boot from IDE on G3/266MT
To: None <scott@cybersource.com>
From: Yoshihisa Sugimoto <sugimoto@sums.shiga-med.ac.jp>
List: port-macppc
Date: 03/25/1999 19:51:27
Hi,

At 1:57 AM 99.3.25, scott@cybersource.com wrote:
> I believe you can achieve these results by going into OF (cmd-ctrl-O-F at
> boot) and typing:
>
> setenv boot-device ide/disk@0:0
> setenv boot-file netbsd

No. My G3 could never boot by these commands and "boot" command.
The results were always "CAN'T OPEN ide/disk@0:0".
The reason I thought the nvramrc contained something important was that "boo
t scsi-int/sd@0:0" returned "no bootable HFS partition" on my G3. This means
OF at least tried to boot from the internal SCSI drive. But "boot ide/disk@0
:0" seemed to have no effects on the IDE drive. So I guessed something was l
acking before typing "boot ide/disk@0:0", i.e. something to recognize the ex
istence of the IDE drive.


> Only reason I'm not sure is the nvramrc stuff--I don't know Forth, but it
> doesn't look like it has anything to do with these nvram vars.


> >      dev ide0
> >      f3000038 constant $hfr
> >      : $M $hfr rl@ or $hfr rl! 10 ms ;
> >      : ata-enable 4 $M 80 $M 800000 $M 100 $M 20 $M 40 $M ;
> >      : $M2 use-ata-interface ata-enable true ;
> >      : set-device-ID set-drive-select ;
> >      : reset-atapi-bus reset-ata-bus ;
> >      ' open ' $M2 $R
> >      ' enable-bus ' ata-enable $R
> >      ' reset-ata-bus 2c + ' 2 $L
> >      $E

I also don't know Forth language well, but I presume these may contain the c
odes which enable atapi devices.



--
Yoshihisa Sugimoto, M.D., Ph. D.
Medical Information Center / First Deapartment of Medicine
Shiga University of Medical Science
Seta-Tsukinowa, Otsu, Shiga, 520-2192, Japan