From owner-aic7xxx@FreeBSD.ORG Thu Aug 30 09:37:49 2007 Return-Path: Delivered-To: aic7xxx@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8913A16A417 for ; Thu, 30 Aug 2007 09:37:49 +0000 (UTC) (envelope-from rien@sinas.rename-it.nl) Received: from sinas.rename-it.nl (sinas.rename-it.nl [195.85.225.173]) by mx1.freebsd.org (Postfix) with ESMTP id 54AF513C46C for ; Thu, 30 Aug 2007 09:37:49 +0000 (UTC) (envelope-from rien@sinas.rename-it.nl) Received: from rien by sinas.rename-it.nl with local (Exim 4.63) (envelope-from ) id 1IQg3m-0000Nu-1O for aic7xxx@freebsd.org; Thu, 30 Aug 2007 11:11:30 +0200 Date: Thu, 30 Aug 2007 11:11:30 +0200 From: Rien Broekstra To: aic7xxx@freebsd.org Message-ID: <20070830091129.GC880@sinas.rename-it.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Error when using a tapestreamer: data overrun detected in Data-out phase. X-BeenThere: aic7xxx@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rien Broekstra List-Id: Adaptec Device Drivers in FreeBSD and Linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2007 09:37:49 -0000 Hello everyone, I'm mailing this list because i'm quite out of options (google and irc help channels haven't gotten me very far). One of my customer's machines has recently started to act weird during the nightly backup cycle. About half of the time the backup cycle terminates abnormally, and I find the following lines in dmesg: ---8<---- (scsi12:A:15:0): data overrun detected in Data-out phase. Tag == 0x3. (scsi12:A:15:0): Have seen Data Phase. Length = 49152. NumSGs = 12. sg[0] - Addr 0x0220b5000 : Length 4096 sg[1] - Addr 0x0379e6000 : Length 4096 sg[2] - Addr 0x02765c000 : Length 4096 sg[3] - Addr 0x0da05000 : Length 4096 sg[4] - Addr 0x0aecd000 : Length 4096 sg[5] - Addr 0x01c61f000 : Length 4096 sg[6] - Addr 0x02c27000 : Length 4096 sg[7] - Addr 0x0773a000 : Length 4096 sg[8] - Addr 0x0162c4000 : Length 4096 sg[9] - Addr 0x0371a7000 : Length 4096 sg[10] - Addr 0x018f1d000 : Length 4096 sg[11] - Addr 0x020f67000 : Length 4096 st0: Error 70000 (sugg. bt 0x0, driver bt 0x0, host bt 0x7). st0: Error 10000 (sugg. bt 0x0, driver bt 0x0, host bt 0x1). st0: Error on write filemark. st0: Error 10000 (sugg. bt 0x0, driver bt 0x0, host bt 0x1). st0: Error 10000 (sugg. bt 0x0, driver bt 0x0, host bt 0x1). ---8<--- After this happens, the tapestreamer keeps blinking that it's active forever. The fix is to power the streamer off and on again, and reload the st module. Details of the system this happens on: It's a Sony AIT-2 tapestreamer connected to an Adaptec aic-7892a host controller. The host is running linux 2.6.17-14mdv (Mandriva Spring 2007.1). Is this a driver issue? Do I have broken hardware or cabling somewhere? Is there something else I can do to isolate the problem? Thanks in advance for any insights. Cheers, -- Rien Broekstra Mail: rien@rename-it.nl