home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!sun-barr!ames!sgi!fido!zola!zuni!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Subject: Re: SCSI disconnect or lack thereof in kernel/devices
- Message-ID: <pnsk9j4@zuni.esd.sgi.com>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- References: <2935@contex.contex.com>
- Date: Fri, 11 Sep 92 22:32:50 GMT
- Lines: 43
-
- In <2935@contex.contex.com> jeff@hobbes.contex.com (Jeff Carey) writes:
-
-
- | We have a SCSI device attached to a SGI PI25 running IRIX 4.0.5A that I know
- | does not support SCSI disconnect.
- | The kernel, in particular /usr/sysgen/master.d/scsi, has not been changed.
- | There is a line in there that currently reads:
- | int scsi_enable_disconnect[SC_MAXADAP] = {1,1,1,1};
- |
- | The device seems to work, and just as importantly, the whole system seems
- | to work just fine while using the non-disconnecting device. Obviously,
- | the SCSI bus is locked down when said device is being accessed.
- |
- | My questions are:
- | 1. Is it necessary for some as-yet unrecognized reason to disable disconnect
- | on the host adapter with said device?
-
- No. The array is there so that the driver can be configured to not allow
- a disconnect, primarily for devices that think they support it, but
- don't work right (or perhaps trigger a bug in our driver).
-
- | 2. Is it beneficial (integrity, speed, dependability-wise) to disable
- | disconnect on the host adapter?
-
- No. It is in fact, the opposite, as you lose the ability to overlap
- i/o on multiple devices.
-
- | 3. Should I expect similar success(/failure) rates on other machines, such
- | as PI35s, Indigos, Crimsons (with their two host adapters), etc? (I can
- | not imagine graphics options 8-bit, Elan, etc. would have any affect.)
-
- Probably. The only other problem you are likely to run into is when
- the device that doesn't disconnect holds the bus for a 'long' time
- (> 2-30 seconds, depending on device and command). If this happens
- after a device that does disconnect accepts a command, disconnects,
- and can't get back on the bus (because your device is hogging it), you
- will get a timeout, and the SCSI bus will be reset. In that case,
- you would have to change scsi_enable_disconnect, autoconfig, and reboot,
- so that you won't get into this situation.
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-