Subject: Re: Having prom command problems
To: Erik E. Fair <fair@clock.org>
From: None <mcmahill@mtl.mit.edu>
List: port-sparc
Date: 06/17/1998 21:27:24
Unfortunately I think the 'new' command at the 'ok' prompt is for newer
proms maybe?  When I type 'new', it says "new ?".  Maybe I have version 1
OpenBoot roms?  Anyway, 'probe-scsi' works, but not 'probe-scsi-all'.  All
it says about the new drive is "Target 4, Unit 0" (plus info on the
manufacturer, etc.  The INSTALL document says:

If you have to use the old-style `sd(c,u,p)' syntax to boot from a
SCSI disk, you can calculate the parameters as follows:

        `c'     - specifies the controller number
        `u'     - the hexadecimal number obtained from evaluating
                  the expression `(8 * TARGET) + LUN'
        `p'     - the partition number from which to boot (0=`a', 1=`b',
etc).


but I don't know what goes in 'c', and 'u'.  Is the controller number, c,
equal to 0 because probe-scsi said "Unit 0"? 

In the line for 'u', is TARGET, then 4 in my case?  What about LUN?

Sorry for so many should be simple questions...

Thanks

Dan



On Wed, 17 Jun 1998, Erik E. Fair wrote:

> At the "ok" prompt:
> 
> 	new
> 	probe-scsi-all
> 
> note the messy path (probably beginning in /iommu ) for your new disk; then
> 
> 	boot <messy-path>/sd@4,1 netbsd -s
> 
> that should get you up in the miniroot. ID#4, partition #1.
> 
> 	Erik <fair@clock.org>
> 
> 
>