Subject: Re: NCR SCSI Driver Woes
To: None <port-i386@netbsd.org, ofross@scms.sc.intel.com>
From: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
List: port-i386
Date: 10/06/1998 23:21:07
>>>>> "Oliver" == Oliver Fross <ofross@scms.sc.intel.com> writes:
    Oliver> I have encountered a problem with the NCR 53c875 driver.  I
    Oliver> appear not to be the first person to have this problem, but the
    Oliver> mailing-list archive does not indicate that anyone has found a
    Oliver> solution.  I'm running 1.3.2 with Perry's GENERIC kernel to ease

  Yup. An Adaptec 2940.

    Oliver> offset 15) Oct 4 11:16:02 vertel /netbsd: drive offline
    Oliver> ^^^^^^^^^^^^^

  Me too.

    Oliver> **==--Problem 2--==** I've had Problem 1 for about a month, and

  I've had it since I added my fourth drive, which is alas, an SCA drive.
I now have tried four drives on the Adaptec, and got different problems. I
ordered two terminated wide cables from adaptec, which I've tried on my
NCR chain (with the SCA drive as the only drive) and I still get the same
problems. I will try the better cable on my Adaptec chain this weekend.

    Oliver> sd3(ncr0:3:0): COMMAND FAILED (9 80) @0xf09df800.  sd3(ncr0:3:0):
    Oliver> extraneous data discarded.

    Oliver> And here's the user-land error:

    Oliver> cd: Input/output error: /data/vol1

  I've seen that too.

    Oliver> **==--Debugging Steps--==** NOTE: This is (to the best of my
    Oliver> knowledge) *not* a termination problem.  I get the same results
    Oliver> with the last drive terminated, and with an active terminator
    Oliver> attached to the end of the chain.  A termination error would look
    Oliver> like this:

    Oliver> sd1(ncr0:2:0): Check Condition on opcode 0x8 SENSE KEY: Aborted
    Oliver> Command ASC/ASCQ: Overlapped Commands Attempted

  Really. Hmm. Interesting. I got that a lot with my tape drive. It seems
to have gone away after a lot of various attempts at reording stuff, etc.
  It happened for sure when I tried to backup my largest (2G) and fastest
drive. Backing up via the loopback network interface solved the problem!

    Oliver> **==--Additional Curiosities--==** The NCR card spits out
    Oliver> information indicating that it is "single-ended," which I find
    Oliver> unusual for a differential card.  Looking at the source, we found
    Oliver> that there is no time at which NetBSD will say "Differential" for
    Oliver> this card.  hmm.

  Mine is a Ultra/Wide card.

   :!mcr!:            |  Network and security consulting/contract programming
   Michael Richardson |         Firewalls, TCP/IP and Unix administration
 Personal: http://www.sandelman.ottawa.on.ca/People/Michael_Richardson/Bio.html
 Corporate: http://www.sandelman.ottawa.on.ca/SSW/
	ON HUMILITY: To err is human, to moo bovine.