From owner-aic7xxx Tue Mar 12 2:46:37 2002 Delivered-To: aic7xxx@freebsd.org Received: from emperor.his.atr.co.jp (mail.his.atr.co.jp [133.186.80.65]) by hub.freebsd.org (Postfix) with SMTP id 80BD137B436 for ; Tue, 12 Mar 2002 02:46:32 -0800 (PST) Received: (qmail 21386 invoked from network); 12 Mar 2002 19:46:26 +0900 Received: from fortune.his.atr.co.jp (HELO atr.co.jp) (133.186.80.76) by emperor.his.atr.co.jp with SMTP; 12 Mar 2002 19:46:26 +0900 Message-ID: <3C8DDC7C.C8B6066B@atr.co.jp> Date: Tue, 12 Mar 2002 19:46:20 +0900 From: "J. Hart" X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.16 i686) X-Accept-Language: en MIME-Version: 1.0 To: aic7xxx@FreeBSD.ORG Cc: jhart@atr.co.jp Subject: file corruption on tape reload References: <200203111629.g2BGTdI12625@aslan.scsiguy.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-aic7xxx@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have been having difficulty making a good tape backup recently. I use the following command to back up a directory : tar cvM -f /dev/st0 2>&1 aminet | tee log I reload that into a seperate directory using the following command : tar xvM -f /dev/st0 2>&1 | tee log When I compare the original with the reloaded backup, I find that one of the files in the reloaded version is corrupted. It turns out that a contiguous block of exactly 4096 bytes is corrupt. If I reload the same backup tapes again, the corruption shows up at a different point in a different file, but the corruption still involves a block of exactly 4096 bytes. I had previously used this same tape drive on an older machine running Slackware 4 and a stock kernel until very recently, and it worked perfectly there. I am using the exact same model under RedHat 6.2 and the 2.2.16 kernel on another machine, and that works perfectly. I have tried changing tapes and cleaning the drive tape path, with no effect on the problem. I have also tried upgrading the kernel to the most recent version available at the time (then 2.4.16) to no avail. I then tried rebuilding the kernel to use "aic7xxx_old" support, also with no change in the problem. There is no indication of any error in any of the logs I have checked (dmesg, /var/log/messages). Does anyone have any idea on what I should be looking at here ? My setup is as follows : CPU : 900mhz Athlon motherboard : ASYS-A7V linux distribution : Slackware 8 kernel : 2.4.16 scsi controller : AHA-2940AU scsi drivers tried : aic7xxx : aic7xxx_old (after kernel rebuild) hard disk : ATA100 IBM-DTLA-307045 45gb tar version : tar (GNU tar) 1.13.25 tape drive: Vendor: WangDAT Model: Model 3400DX Rev: 5.0d Type: Sequential-Access ANSI SCSI revision: 02 Regards, J. Hart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe aic7xxx" in the body of the message