From: mikebo@i88.isc.com (Michael Borowiec)
Subject: Re: HELP with 4/490 SCSI Device IDs for SCSI disk drives.
Organization: INTERACTIVE Systems Corporation, Naperville, IL
Date: Fri, 14 Aug 1992 04:31:44 GMT

In article <1992Aug12.142412.15112@Princeton.EDU> stz@phoenix.Princeton.EDU (Stephen Zehl) writes:
>	Sun does not recommend putting SCSI disk drives on the SCSI bus of a 
>4/490, but everyone else has told me that there is no problem with doing it.
>I have been unable to find anything to help me set the SCSI device IDs of the 
>drives.  Does anyone have multiple SCSI drives hanging off a 4/490 that could
>tell me the SCSI device IDs they used and what what drive device that is
>associated with. for example, here are the settings for a Sparc2s internal
>drives:
>
>	Drive Number		SCSI Device ID		Drive Device
>        ------------		--------------		------------
>	     1			      3			    sd0
>	     2			      1			    sd1 
>	      
>
>	Also, how many drives can I daisy chain off of the SCSI bus, I already
>have 2 tape drives and a cdrom on it.
>
>	Thanks.
>
>Stephen Zehl
>Systems Admin. Princeton University Cognitive Science Lab
>Princeton, NJ
>sz@clarity.princeton.edu
>

Well, I have 3 VME SCSI boards in our 4/490 with up to 4 1.2GB drives
on each SCSI bus. Theoretically you could easily configure up to seven
SCSI drives on each bus, although performance may suffer if you're 
hitting on several of them at the same time...

Here is the SCSI portion of my kernel config file:
#
# Support for the SCSI-3 host adapter and the on-board SCSI controller
# on several machines (e.g. 3/50).
#
controller	si0 at vme24d16 ? csr 0x200000 priority 2 vector siintr 0x40
controller	si1 at vme24d16 ? csr 0x204000 priority 2 vector siintr 0x41
controller	si2 at vme24d16 ? csr 0x208000 priority 2 vector siintr 0x42
tape		st0 at si0 drive 040 flags 1		# QIC150 SCSI ID: 4
tape		smt0 at si0 drive 050 flags 3		# ST-8mm SCSI ID: 5
disk		sr0 at si0 drive 060 flags 2		# CD-ROM SCSI ID: 6
disk		sd0 at si0 drive 000 flags 0		# BUS: 0 SCSI ID: 0
disk		sd9 at si0 drive 010 flags 0		# BUS: 0 SCSI ID: 1
disk		sd1 at si1 drive 000 flags 0		# BUS: 1 SCSI ID: 0
disk		sd2 at si1 drive 010 flags 0		# BUS: 1 SCSI ID: 1
disk		sd3 at si1 drive 020 flags 0		# BUS: 1 SCSI ID: 2
disk		sd4 at si1 drive 030 flags 0		# BUS: 1 SCSI ID: 3
disk		sd5 at si2 drive 000 flags 0		# BUS: 2 SCSI ID: 0
disk		sd6 at si2 drive 010 flags 0		# BUS: 2 SCSI ID: 1
disk		sd7 at si2 drive 020 flags 0		# BUS: 2 SCSI ID: 2
disk		sd8 at si2 drive 030 flags 0		# BUS: 2 SCSI ID: 3

Although Sun only *supports* two SCSI buses in a 4/490, it was a simple
matter to jumper the third board and use the above config information to
make the proper kernel. I can't figure out why Sun insists on setting sd0
to SCSI address 3 in the GENERIC file, but it isn't at all necessary.
- Mike

--------------------------------------------------------------------------
Michael Borowiec  (N9EUZ)  -  mikebo@isc.com  -  mikebo@timesink.chi.il.us
INTERACTIVE Systems Corp. - 1901 N. Naper Blvd. - Naperville, IL 60563 USA
System Administration Office: 708-505-9100 ext 229   -   FAX: 708-505-9133
--------------------------------------------------------------------------
Newsgroups: comp.sys.sun.admin