From owner-aic7xxx Mon Aug 25 11:18:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA28435 for aic7xxx-outgoing; Mon, 25 Aug 1997 11:18:35 -0700 (PDT) Received: from dledford.dialnet.net (dledford.dialnet.net [206.65.249.116]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA28426 for ; Mon, 25 Aug 1997 11:18:13 -0700 (PDT) Received: from dledford.dialnet.net (localhost [127.0.0.1]) by dledford.dialnet.net (8.8.5/8.8.4) with ESMTP id NAA10857; Mon, 25 Aug 1997 13:17:33 -0500 Message-Id: <199708251817.NAA10857@dledford.dialnet.net> X-Mailer: exmh version 1.6.9 05/05/96 To: Gerard Roudier cc: Doug Ledford , Ulrich Windl , Leonard Zubkoff , aic7xxx@FreeBSD.ORG, linux-scsi@vger.rutgers.edu Subject: Re: "read defect list" with 2.0.30-pre7 and patch Aug19 In-reply-to: Your message of "Mon, 25 Aug 1997 19:28:47 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 25 Aug 1997 13:17:33 -0500 From: Doug Ledford Sender: owner-aic7xxx@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk -------- > > 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. * *****************************************************************************