[8475] in linux-scsi channel archive
[Fwd: aic7xxx and AIC-7892/9 /Ultra160)]
daemon@ATHENA.MIT.EDU (Andrew Morton)
Fri Mar 24 02:21:13 2000
Message-ID: <38DB15A7.9D780FE6@asiapacificm01.nt.com>
Date: Fri, 24 Mar 2000 07:13:43 +0000
From: "Andrew Morton" <morton@nortelnetworks.com>
MIME-Version: 1.0
To: linux-scsi@vger.rutgers.edu
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT
Spotted this in a newsgroup...
-------- Original Message --------
Subject: aic7xxx and AIC-7892/9 /Ultra160)
Date: Thu, 23 Mar 2000 10:45:25 +0100
From: Josef Moellers <josef.moellers@pdb.siemens.de>
Organization: Changes ever so often
Newsgroups: comp.os.linux.development.system
There is a problem with the current version of the sequencer code in
that it disables the SCSI subsystem too early at the end of the command
phase resulting in a violation of the low level SCSI protocol:
+---------------+
REQ --------+ +-------
+---+
ACK ----------------+ +-----------
I discussed this with the original author of the aic7xxx driver for
FreeBSD, Justin Gibbs and he sent me the following patch:
--- aic7xxx.seq.org Thu Mar 23 10:32:20 2000
+++ aic7xxx.seq Thu Mar 23 10:32:38 2000
@@ -729,6 +729,7 @@
test SSTAT0, SDONE jnz p_command_ultra2_dma_done;
test SSTAT1,PHASEMIS jz p_command_dma_loop; /* ie.
underrun */
p_command_ultra2_dma_done:
+ test SCSISIGI, ACKI jnz .;
and DFCNTRL, ~HDMAEN;
test DFCNTRL, HDMAEN jnz .;
and DFCNTRL, ~SCSIEN;
This is in the 2.3.44 kernel (the latest I have access to) as well as
the 2.2.14 production kernel.
Josef
--
Josef Möllers
Fujitsu Siemens Computers
SHV Server DS 1
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu