From owner-freebsd-scsi Sun Jan 14 09:57:39 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA13903 for freebsd-scsi-outgoing; Sun, 14 Jan 1996 09:57:39 -0800 (PST) Received: from elwood.probe.net (root@elwood.probe.net [206.28.166.252]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA13892 for ; Sun, 14 Jan 1996 09:57:35 -0800 (PST) Received: from sylvia.tummy.com (jafo@ariel.tummy.com [206.28.166.237]) by elwood.probe.net (8.6.12/8.6.10) with ESMTP id LAA15035; Sun, 14 Jan 1996 11:56:05 -0600 Received: (from jafo@localhost) by sylvia.tummy.com (8.7.3/8.7.3) id LAA11847; Sun, 14 Jan 1996 11:56:00 -0600 From: Sean Reifschneider Message-Id: <199601141756.LAA11847@sylvia.tummy.com> Subject: FreeBSD NCR driver timeout? To: freebsd-scsi%freebsd.org@probe.net Date: Sun, 14 Jan 1996 11:56:00 -0600 (CST) Cc: wolf%cologne.de@probe.net, se%mi.Uni-Koeln.de@probe.net X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk 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 wether it is possible to increase this value (to about 3 or 4 seconds). It seems that the scanner starts doing the scan when it gets the request to read data, but it has to position the scan head, activate the light, etc. It's just taking too long to start sending back data. I've tried upping the timeout through the SCSI library, but that has no effect. Unfortunately, the SCSI controller that's on my sound board completely hangs whenever I try to access the scanner (it's an Adaptec on a Sound Blaster 16). With the exception of this timeout, EVERYTHING else in my interactions with the scanner work -- inquiring name, negotiating scanning parameters, etc. Any pointers would be appreciated. My next course of action is going to be seeing if I can get a small program that I can ship off to somone with a different controller to try. Thanks, Sean -- "We just wanted to give the band a little more thrust than most other bands." - Donald Fagen's reply to why they chose the band name 'Steely Dan' Sean Reifschneider, Inimitably Superfluous URL: XVScan -- HP-UX/Linux X11 scanning software.