Subject: Re: This is pathetic...
To: None <seebs@solon.com>
From: Gordon W. Ross <gwr@mc.com>
List: port-sparc
Date: 11/14/1996 11:32:23
> Date: Wed, 13 Nov 1996 21:20:30 -0600 (CST)
> From: Peter Seebach <seebs@solon.com>
> I can't figure out what the "unit" number should be to boot from most
> disks on a 4/110. I have the "sun 3" boot monitor, so my syntax is
> b(controller, unit, partition)
Here is how it works for SCSI devices:
sd(c,u,p)
c = controller (usually zero)
u = unit in hexadecimal, defined as ((target * 8) + LUN)
p = partition (0=a, 1=b, ...)
For tapes it is the same, but `p' selects which tape segment.
> ... and I have no clue what numbers it's looking for! I know that on
> a 3/80, (0,18,0) is target 6, and (0, 10, 0) was 4, I think... but I
> have disks at other addresses. In particular, how do you spell
> "target 0 lun 0", "target 0 lun 1", and "target 3 lun 0"? Any help
> or pointers much appreciated. The Sun Hardware Reference Guide doesn't
> seem to cover this... Nor does the prom's online help.
To answer your specific questions:
sd(0,0,0) is target 0 lun 0
sd(0,1,0) is target 0 lun 1
sd(0,18,0) is target 3 lun 0
Note 3*8 is 0x18 and the PROM does not want the 0x prefix.
Gordon