From owner-aic7xxx@FreeBSD.ORG Thu Feb 19 10:02:07 2004 Return-Path: Delivered-To: aic7xxx@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46B1316A4CE for ; Thu, 19 Feb 2004 10:02:07 -0800 (PST) Received: from magic.adaptec.com (magic.adaptec.com [216.52.22.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D38F43D1D for ; Thu, 19 Feb 2004 10:02:07 -0800 (PST) (envelope-from gibbs@scsiguy.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id i1JI26J27980; Thu, 19 Feb 2004 10:02:07 -0800 Received: from [10.100.253.70] (aslan.btc.adaptec.com [10.100.253.70]) by redfish.adaptec.com (8.11.6/8.11.6) with ESMTP id i1JI26814178; Thu, 19 Feb 2004 10:02:06 -0800 Date: Thu, 19 Feb 2004 11:02:06 -0700 From: "Justin T. Gibbs" To: Cristiano Duarte , aic7xxx@freebsd.org Message-ID: <370790000.1077213725@aslan.btc.adaptec.com> In-Reply-To: <4034D259.5050001@uol.com.br> References: <4034D259.5050001@uol.com.br> X-Mailer: Mulberry/3.1.1 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: BUG introduced in kernels above 2.4.18 ? X-BeenThere: aic7xxx@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Justin T. Gibbs" List-Id: Adaptec Device Drivers in FreeBSD and Linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 18:02:07 -0000 > Hi all, > > [1.] One line summary of the problem: > I'm experiencing some problem with my Sceptre S1200(scsi) scanner, > my Adaptec AHA-2940UW and kernels above 2.4.18. > > [2.] Full description of the problem/report: > With RedHat 9, kernel 2.4.20, my scanner is recognized by the kernel, but the sane-find-scanner and > scanimage utility get garbage when talking to it. > So I installed Fedora Core 1, and tested with kernel 2.4.22(Fedora) and "vanilla" 2.4.24. > I got these error messages on boot: ... > Feb 13 17:53:15 thor kernel: blk: queue c130d574, I/O limit 4095Mb (mask 0xffffffff) > Feb 13 17:53:15 thor kernel: (scsi0:A:3:0): Unexpected busfree while idle > Feb 13 17:53:15 thor kernel: SEQADDR == 0x156 > Feb 13 17:53:15 thor kernel: (scsi0:A:3:0): No or incomplete CDB sent to device. > Feb 13 17:53:15 thor kernel: scsi0: Issued Channel A Bus Reset. 1 SCBs aborted > Feb 13 17:53:15 thor kernel: (scsi0:A:6:0): No or incomplete CDB sent to device. > Feb 13 17:53:15 thor kernel: (scsi0:A:6:0): Protocol violation in Message-in phase. Attempting to abort. > Feb 13 17:53:15 thor kernel: (scsi0:A:6:0): Abort Message Sent These are caused by one or more of your devices either violating the SCSI protocol, or the utility you are using to talk to the scanner failing to properly setup the SCSI command. Pervious versions of the driver did not flag these errors, but it is not a bug that the driver now does. I would suggest auditing your scanner software to ensure that it is properly setting the cdb length in all commands that it sends since this is often the cause of such issues. -- Justin