From owner-freebsd-scsi Sun Jan 14 12:36:11 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA21410 for freebsd-scsi-outgoing; Sun, 14 Jan 1996 12:36:11 -0800 (PST) Received: from Sysiphos (Sysiphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA21330 for ; Sun, 14 Jan 1996 12:36:01 -0800 (PST) Received: by Sysiphos id AA16933 (5.67b/IDA-1.5 for freebsd-scsi@freebsd.org); Sun, 14 Jan 1996 21:35:52 +0100 Message-Id: <199601142035.AA16933@Sysiphos> From: se@zpr.uni-koeln.de (Stefan Esser) Date: Sun, 14 Jan 1996 21:35:52 +0100 In-Reply-To: Sean Reifschneider "FreeBSD NCR driver timeout?" (Jan 14, 11:56) X-Mailer: Mail User's Shell (7.2.6 alpha(2) 7/9/95) To: Sean Reifschneider Subject: Re: FreeBSD NCR driver timeout? Cc: freebsd-scsi@freebsd.org Sender: owner-freebsd-scsi@freebsd.org Precedence: bulk On Jan 14, 11:56, Sean Reifschneider wrote: } Subject: FreeBSD NCR driver timeout? } Greetings. I'm trying to port some SCSI scanner code to FreeBSD 2.1.0 } but have run across (what seems to be) a timeout problem. I'm trying } to control a a SCSI scanner which emulates a processor device (as opposed } to implementing the scanner commands). } } During the scan operation, the scanner starts doing it's thing to scan, } but just before it would actually start sending data, I get a read error } and the scanner resets. A "handshake timeout" is logged to the console. } } I tracked this through the ncr.c driver, and it seems that at line } 4441 the handshake timeout is set to 1.6 seconds. My first question is Well, sorry, those 1.6 seconds are already the maximum supported by the NCR hardware ... You may want to try with HTH not included in the interrupt enable mask: Change line 4482 (in my copy of ncr.c): OUTW (nc_sien , STO|HTH|MA|SGE|UDC|RST); into: OUTW (nc_sien , STO|MA|SGE|UDC|RST); Please let me know, whether this helps ... Regards, STefan -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/~se