Reset/Abort patch

Doug Ledford dledford at dialnet.net
Tue Aug 19 08:57:21 PDT 1997


The third (and fourth) generation of this patch have been placed on my ftp 
server as of this morning.  The new generation of this patch now includes a 
complete abort code path, a complete reset code path, plus more intelligent 
QUEUE_FULL and TARGET_BUSY error condition handling.  People who have had 
problems with any of these might want to go ahead and give this patch a try. 
 The Aug19-2 is the latest version, having only minor modifications from the 
Aug19 version (all changes were in the QUEUE_FULL and TARGET_BUSY handling). 
 This patch now represents a complete working patch, and I now have it in 
use after extensive testing on my development machine.  As a matter of fact, 
ftp.dialnet.net is one machine already running this code (ftp is actually an 
alias for news.dialnet.net, and this machine runs two 2940UW adapters with 
three drives each, using one as an OS drive, the other 5 as news spool in an 
MD raid0 array).  My developement machine has been able to survive repeated 
wedged bus conditions, device resets, etc. without the bad side effects 
normally associated with these conditions.

In any case, unless I hear something bad about this patch, then all I have 
left to do is some more cleanup of messages so the patch doesn't talk your 
head off during abort/reset cycles (although it isn't near as bad as my 
first patches because now you have to specify aic7xxx=verbose:2 or higher in 
order to get a lot of messages, setting verbose above 5 won't produce any 
more messages as 5 is the limit I check for in the code).

One final note, the buffer.patch file on my ftp server is already in 
2.0.31-pre-7, but the buffer2.patch (also from Gadi Oxman) on the server 
needs to go into pre-8, so you may want to grab it in the interim if you are 
testing this.  Without that patch, the buffer code has a possible lock 
condition that can make your machine spin loop in bdflush() infinitely.

-- 
*****************************************************************************
* Doug Ledford                      *   Unix, Novell, Dos, Windows 3.x,     *
* dledford at dialnet.net    873-DIAL  *     WfW, Windows 95 & NT Technician   *
*   PPP access $14.95/month         *****************************************
*   Springfield, MO and surrounding * Usenet news, e-mail and shell account.*
*   communities.  Sign-up online at * Web page creation and hosting, other  *
*   873-9000 V.34                   * services available, call for info.    *
*****************************************************************************





More information about the aic7xxx mailing list