From owner-freebsd-scsi Mon Oct 14 08:27:02 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA03625 for freebsd-scsi-outgoing; Mon, 14 Oct 1996 08:27:02 -0700 (PDT) Received: from Octopussy (Octopussy.MI.Uni-Koeln.DE [134.95.212.20]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA03410 for ; Mon, 14 Oct 1996 08:24:01 -0700 (PDT) Received: from x14.mi.uni-koeln.de (annexr2-41.slip.Uni-Koeln.DE) by Octopussy with SMTP id AA23648 (5.67b/IDA-1.5 for ); Mon, 14 Oct 1996 17:23:15 +0200 Received: (from se@localhost) by x14.mi.uni-koeln.de (8.7.6/8.6.9) id RAA00864; Mon, 14 Oct 1996 17:22:34 +0200 (MET DST) Message-Id: <199610141522.RAA00864@x14.mi.uni-koeln.de> Date: Mon, 14 Oct 1996 17:22:33 +0200 From: se@zpr.uni-koeln.de (Stefan Esser) To: elrond@imladris.frmug.fr.net (Bertrand Petit) Cc: freebsd-scsi@freebsd.org Subject: Re: Success report: NOMAI MCD540 In-Reply-To: <199610120646.IAA02796@imladris.frmug.fr.net>; from Bertrand Petit on Oct 12, 1996 08:46:42 +0200 References: <199610120646.IAA02796@imladris.frmug.fr.net> X-Mailer: Mutt 0.45 Mime-Version: 1.0 Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bertrand Petit writes: > > I sucessfuly hooked a NOMAI MCD540 removable disk unit to a > FreeBSD 2.1.0-RELEASE system. > > I got some troubles to make it work, I got tons of bus resets > and NCR crashes likes this: > > sd5(ncr0:5:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. > ncr0:5: ERROR (80:100) (8-2a-0) (8/13) @ (544:900b0000). > script cmd = 910a0000 > reg: da 10 80 13 47 08 05 1f 01 08 05 2a 80 00 02 00. > ncr0: handshake timeout > sd5(ncr0:5:0): COMMAND FAILED (6 ff) @f0c04c00. Everything is fine, except for the handshake timeout. Your device seems to be very slow at times (for example when loading a new medium ?) and just blocks operations on the SCSI bus for a significant time. This was considered a device failure in 2.1R, but it was later found, that there are in fact some CD-ROM changers, CD-R drives or SCSI scanners, which may do this as part of their normal operation. The handshake timeout has been removed from the driver for this reason. Apply the following patch, if you ever again have a problem with your device causing handshake timeouts: Index: /sys/pci/ncr.c =================================================================== RCS file: /usr/cvs/src/sys/pci/ncr.c,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -r1.57 -r1.58 *** ncr.c 1996/01/15 00:10:15 1.57 --- ncr.c 1996/01/15 23:16:39 1.58 *************** *** 4427,4431 **** OUTB (nc_stest2, EXT ); /* Extended Sreq/Sack filtering */ OUTB (nc_stest3, TE ); /* TolerANT enable */ ! OUTB (nc_stime0, 0xfb ); /* HTH = 1.6sec STO = 0.1 sec. */ /* --- 4427,4431 ---- OUTB (nc_stest2, EXT ); /* Extended Sreq/Sack filtering */ OUTB (nc_stest3, TE ); /* TolerANT enable */ ! OUTB (nc_stime0, 0x0b ); /* HTH = disabled, STO = 0.1 sec. */ /* > It was solved by a main board BIOS update on an Asus > P/I-55TP4XE with an Asus PCI-SCSI2000 adaptater. The last version of > the BIOS available from the Asus ftp site or mirrors, in the file > TCX5I020.ZIP. Regards, STefan