From: jeffl@comix.UUCP (Jeff Liebermann)
Newsgroups: comp.unix.xenix.sco
Subject: Re: Adaptec 1740 modes.
Summary: 1740 tweak corrections.
Date: Sat, 05 Sep 92 15:13:05 PDT
Followup-To: comp.unix.xenix.sco
Organization: COmmittee to Maintain Independent Xenix

In article <9209010953.AA25837@dynamix.com> david@dynamix.com (David L Jarvis) writes:
>well for someone who spent a couple of hundred lines telling me how
>atrocious my correspondence skill are, I'd have to say that "Aiiieee!"
>ranks right up there with AIN'T ... 
I'll do it in one line.  Nobody cares.  Don't post your frustrations,
complaints, and drivel that could best be dealt with using email.

>yes, the instructions ARE directly out of SCO magazine, which frequently 
>publishes instructions straight from SCO technical support ... 
>(but nice try at the cheap shot tho, you're getting better with each try)

The following is from the SCO On-line support bulletin board system.
It's available for $90/year from SCO and has saved my ass
numerous times.  (Support at midnight)?  I highly recommend it.
My appologies about the length of this posting, but I suspect
it's a very common problem.

>but I am interested in
>learning the views of some of the more experienced folks out there, 
>(Chip Rosenthal, Bill Davidsen, JP Radley, Bill Campbell, and all the
>others out there I might have missed, but whose expertise, knowledge, and
>wisdom I value and respect so greatly :-) )
Hey!  What about me?  (Grumble, grumble...)

>> would write a nasty letter to the editors of SCO Magazine.  This is
>> *not* the way the ID subsystem is supposed to work.
------------------------------------------------------------------------
n 1740
1  Can't install SCO UNIX or XENIX on system with Adaptec 1740 SCSI host
2  How to use Adaptec 1740 EISA SCSI adapter in enhanced mode.
3  Using Zenith Inteq Tempest 486 computer with SCO UNIX System or ODT.
4  Major new features in SCO UNIX System V/386 Release 3.2 Version 4.0?
5  The HP EISA supplement is not removed properly using custom.
6  Install on HP VECTRA486-EISA; "no configuration information for Sdsk"
7  Default AT BIOS address for Adaptec 1740 adapter not used by UNIX.
8  Installing SCO UNIX System on HP EISA system with SCSI-2 Host Adapter?
9  How to switch Adaptec 1740 SCSI host adapter to or from enhanced mode
10  Creating more than one SCSI tape drive under XENIX 2.3.4 with Adaptec
11  July/August 1992 issue of SCO Magazine misprint re: Adaptec 1740 card
------------------------------------------------------------------------
Type '?' for a list of commands.
Item 11 of 11:
July/August 1992 issue of SCO Magazine misprint re: Adaptec 1740 card

KEYWORDS: v4 sco magazine misprint adaptec 1740 1540 1542 enhanced standard mode scsi host adapter unix eisa 

RELEASE:  SCO UNIX System V/386 Release 3.2 Operating System Version 4.0

PROBLEM:  There is a misprint in the July/August 1992 issue of SCO Magazine
	  regarding how to change an Adaptec 1740 SCSI host adapter to or
	  from enhanced mode.  The text of the article is accurate and 
	  complete, but the chart on page 18 is somewhat ambiguous. 

SOLUTION: The chart on page 18 illustrates what mscsi looks like BEFORE
	  changes are made. It reads in part as follows:

          Partial contents of /etc/conf/cf.d/mscsi:

          ha/tattach/tnumber/tID/tlun
          ad	  Sdsk	  0	  0	0	#HARD DRIVE AT ID=0
          ad/tStp/t0/t2/to/t			#TAPE AT ID=2


	  The chart on page 18 should read in part as follows:

          Partial contents of /etc/conf/cf.d/mscsi:

          *ha	attach	number	ID	lun
          *
          ad 	Sdsk	0	0	0	#HARD DRIVE AT ID=0
          ad	Stp	0	2	0	#TAPE AT ID=2

SEE ALSO: Another article in this database entitled "How to switch Adaptec 
	  1740 SCSI host adapter to or from enhanced mode."

------------------------------------------------------------------------

What is interesting is that it's still wrong.    This is the text
of item #2 which is correct (IMHO) and was probably the original
source of the article.

------------------------------------------------------------------------

Item 2 of 11: 
How to switch Adaptec 1740 SCSI host adapter to or from enhanced mode

KEYWORDS: v4 unix scsi host switch adaptec adapter change driver link kit 1740 enhanced mode 1540 1542 standard eisa ad eiad

RELEASE:  SCO UNIX System V/386 Release 3.2 Operating System Version 4.0
          SCO Open Desktop 2.0

PROBLEM:  I have installed Version 4.0 of SCO UNIX System with an Adaptec 
	  1740 SCSI host adapter in standard mode.  Now I want to switch 
	  the Adaptec 1740 SCSI host adapter to enhanced mode. 

	  NOTE: This is not instruction on adding a host adapter to the system,
	  it is simply instruction on changing an existing host adapter.

SOLUTION: First, some files need to be edited and the kernel will need to be
	  relinked.  Then your machine will need to be rebooted in order for
	  the changes to take effect.  If you installed SCO UNIX System V 
	  Operating System with an Adaptec 1740 SCSI host adapter in standard
	  mode, the operating system is using the 'ad' driver.  In order to 
	  utilize the full functionality of the Adaptec 1740 SCSI host adapter
	  in enhanced mode, the 'eiad' driver must be used. 

	  To implement this change, while logged into the system as root, 
	  do the following:

	  1. Change directories to /etc/conf/cf.d

	  2. Use the text editor of your choice to manually edit
	     the mscsi file. You should see something similar to
	     the following:

*
*  [text about this file commented out]
* 
*ha 	attach	number	ID	lun
*
ad	Sdsk	0	0	0	<--SCSI hard drive at ID=0
ad	Stp	0	2	0     	<--SCSI tape at ID=2

		   You may or may not have entries for SCSI peripherals
		   other than a SCSI hard drive at ID=0. 
		  
		   Change all occurrences of the string 'ad' in the left
		   column (shown above) of the mscsi file to read 'eiad'.

		3. Save the changes you have made to the mscsi file and
		   quit out of the editor. 

		4. Change directories to /etc/conf/sdevice.d

		5. Use the text editor of your choice to manually edit
		   the ad file. You should see something similar to 
		   the following:

ad	Y	1	5	0	0	330	332	0	0

		   Change the Y in the second field to an N.
		   Save the change you made to the ad file and quit
		   out of the editor. 

		6. Use the text editor of your choice to manually edit
		   the eiad file.  You should see something similar to     
		   following:

eiad	N	1	5	0	0	0	0	0	0

		   Change the N to a Y in the second field.  Do not
		   make any other changes to this file. The zeros (0's)
		   imply auto-configuration of the appropriate values. 
		   Save the change you made to the eiad file and quit 
		   out of the editor. 

		7. Change directories to /etc/conf/cf.d

		8. Relink your kernel by typing: ./link_unix
		   and press <Return>.

		9. Shutdown the system. 

	       10. Run the eisa configuration utility to change 
		   the mode of the Adaptec 1740 SCSI host adapter. 

	       11. Boot your system. 

	 Your system should now be running with the Adaptec 1740 host adapter
	 in enhanced mode. 

         If you wish to change the mode of the Adaptec 1740 host adapter to
	 standard mode from enhanced mode, simply follow the instructions
	 above, but replace every occurrence of eiad with ad and every 
	 occurrence of ad with eiad.


-- 
# Jeff Liebermann   Box 272     1540 Jackson Ave     Ben Lomond    CA   95005
# 408.336.2558 voice  wb6ssy@ki6eh.#nocal.ca.usa  wb6ssy.ampr.org [44.4.1.86]
# 408.699.0483 digital_pager    73557,2074  cis [don't]
# jeffl@comix.santa-cruz.ca.us  uunet!comix!jeffl  jeffl%comix@scruz.ucsc.edu
Newsgroups: comp.unix.xenix.sco