Subject: Re: This is pathetic...
To: None <port-sparc@NetBSD.ORG, seebs@solon.com>
From: Brad Walker <bwalker@breakthru.musings.com>
List: port-sparc
Date: 11/14/1996 01:21:49
> From seebs@solon.com Thu Nov 14 01:08:29 1996
> Date: Wed, 13 Nov 1996 21:20:30 -0600 (CST)
> From: Peter Seebach <seebs@solon.com>
> To: port-sparc@netbsd.org
> Subject: This is pathetic...
> Delivered-To: port-sparc@NetBSD.ORG
> 
> 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)
> 
> ... 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.
> 
> -s
> 


unit is (lun #) + (target # * 8)...

so for example, a SCSI target 3 lun 0 would be
	0 + (8 * 3) == 24

or for example a SCSI ESDI controller with SCSI target 2 lun 1
	1 + (8*2) = 17

can you remember the days of a SCSI ESDI controller. 8-)

-brad w.