"read defect list" with 2.0.30-pre7 and patch Aug19

Doug Ledford dledford at dialnet.net
Mon Aug 25 11:18:35 PDT 1997


--------
> 
> I donnot use to be sarcastic, or perhaps I does, I donnot know ...
> If you are able to write 50 full lines of text that explains a 
> trivial change, you probably will put the Net on the knees the day 
> you will explain a complex one. ;-)
> (Sorry Doug, I could'nt resist.)
> 

Absolutely, it's my goal in life ;)


> > > Aug 22 23:57:52 elf kernel:  SMalloc: 4096 0000a000
> > > Aug 22 23:57:52 elf kernel: scsi_do_cmd (host = 0, channel = 0 target = 0, buffer =0000a000, bufflen = 4096, done = 001ab754, timeout = 1000, retries = 5)
> > > Aug 22 23:57:52 elf kernel: command : 37  00  14  00  00  00  00  20  00  00  
> > > Aug 22 23:57:52 elf kernel: (scsi0:0:0) Data overrun of 16773218 bytes detected in Data-In phase, tag 7; forcing a retry.
> 
> A data overrun is generally an application error and so, no error 
> recovery should be attempted at driver level, in my opinion.

We don't actually attempt to correct the problem, we say we are forcing a 
retry, but our method of forcing a retry is to simply return 
DID_RETRY_COMMAND to the mid level scsi code and let it do what it wants.  
We assume it will return an error elsewhere when the time comes.
-- 
*****************************************************************************
* 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