Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 1997 13:17:33 -0500
From:      Doug Ledford <dledford@dialnet.net>
To:        Gerard Roudier <groudier@club-internet.fr>
Cc:        Doug Ledford <dledford@dialnet.net>, Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>, Leonard Zubkoff <lnz@dandelion.com>, aic7xxx@FreeBSD.ORG, linux-scsi@vger.rutgers.edu
Subject:   Re: "read defect list" with 2.0.30-pre7 and patch Aug19 
Message-ID:  <199708251817.NAA10857@dledford.dialnet.net>
In-Reply-To: Your message of "Mon, 25 Aug 1997 19:28:47 %2B0200." <Pine.LNX.3.95.970825191253.1005A-100000@localhost> 

next in thread | previous in thread | raw e-mail | index | archive | help
--------
> 
> 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@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.    *
*****************************************************************************





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708251817.NAA10857>