[1218] in linux-scsi channel archive
Re: NCR 53c825 (53c8xx vs. 53c7,8xx)
daemon@ATHENA.MIT.EDU (Dirk Foersterling)
Fri Jan 3 21:08:20 1997
Date: Sat, 4 Jan 1997 02:43:31 +0100
From: dirk@informatik.uni-frankfurt.de (Dirk Foersterling)
To: linux-scsi@vger.rutgers.edu (Linux SCSI)
In-Reply-To: <Pine.LNX.3.91.970103165727.244B-100000@localhost>; from Gerard Roudier on Jan 3, 1997 17:33:27 +0000
On Jan 3 1997, Gerard Roudier wrote:
>
> On Fri, 3 Jan 1997, Dirk Foersterling wrote:
>
> > Hi, SCSI Linuxers.
> >
> > Just curiosity:
> >
> > I have an NCR 53C825 based hostadapter, and with the 53c8xx driver I get
> > the following messages short after starting to use the scanner:
> >
> [ init messages removed ...]
> > Jan 3 13:38:44 infinity kernel: ncr53c825-0-<target 6, lun 0>: extraneous data discarded.
> > Jan 3 13:38:44 infinity kernel: ncr53c825-0-<target 6, lun 0>: COMMAND FAILED (9 0) @0137a810.
> > Jan 3 13:38:58 infinity kernel: ncr53c825-0: restart (ncr dead ?).
> >
> > Then, I used the other driver (ncr53c7,8xx) and the result was:
> >
> [ init messages removed ...]
> >
> > [scan did function properly]
First something I forgot to mention (don't know if this is really
important): after the (ncr dead ?) message, I have to power down the
scanner. If I don't do, the scanner seems to be non-existant for the
hostadapter / driver.
>
> I am interested in the opcode that cause problem.
> (Config "verbose scsi messages" will probably print it to the syslog)
A quick look through the source code of "mscan" tells me that it seems
to be the Command "0x04" (#defined: MUSTEK_SCSI_AREA_AND_WINDOWS). This
command actually starts the scan. (This seems to be the last action).
But I try to recompile my kernel with the "verbose..." option ASAP and mail
the results.
> This guess is probably not enough or perhaps have errors, or "scan" uses
> some proprietary commands for your scanner.
I'm sure it does. Is there a list of common commands to compare?
> I know that I have to change something in the driver in order to allow
> both possible directions for "unknown" command.
> That is possible, since the target informs the driver of data direction
> with MSG C/D I/O signals.
Is this done by EVERY device? I don't know much about SCSI, so I don't
know this (just a SCSI beginner).
-dirk
--
D i r k F "o r s t e r l i n g
dirk@informatik.uni-frankfurt.de http://www.uni-frankfurt.de/~dirk
----------
A child of five could understand this. Fetch me a child of five!