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 Message-ID: <199610141522.RAA00864@x14.mi.uni-koeln.de> In-Reply-To: <199610120646.IAA02796@imladris.frmug.fr.net>; from Bertrand Petit on Oct 12, 1996 08:46:42 %2B0200 References: <199610120646.IAA02796@imladris.frmug.fr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610141522.RAA00864>