From owner-freebsd-bugs Mon Aug 6 18:50:12 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2FC6337B403 for ; Mon, 6 Aug 2001 18:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f771o3K35960; Mon, 6 Aug 2001 18:50:03 -0700 (PDT) (envelope-from gnats) Date: Mon, 6 Aug 2001 18:50:03 -0700 (PDT) Message-Id: <200108070150.f771o3K35960@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Chih-Chang Hsieh Subject: Re: i386/29315: Promise ATA100 UDMA5 works incorrectly Reply-To: Chih-Chang Hsieh Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/29315; it has been noted by GNATS. From: Chih-Chang Hsieh To: freebsd-gnats-submit@FreeBSD.org, cch@kmu.edu.tw Cc: Subject: Re: i386/29315: Promise ATA100 UDMA5 works incorrectly Date: Tue, 07 Aug 2001 09:34:28 +0800 3o,O MIME .f&!*:&h$y,q6l%s!C --------------08D908B015FCF9827134B2E2 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 7bit I have done several tests by the script in attachment. The results of these tests show that: (simply checked by "grep MD5 chkcp.txt") 1. Intel ICH2 ATA driver (UDMA5 mode) + Seagate-ST320413A -> OK please see: http://cc.kmu.edu.tw/~cch/FreeBSD/ata/intel-ich2-udma5-hd.txt 2.Promise ATA100 driver (UDMA5 mode) + IBM-DTLA-307030 -> FAIL (It sometimes works correctly, but incorrectly at most time.) please see: http://cc.kmu.edu.tw/~cch/FreeBSD/ata/promise-udma5-hd.txt 3. Promise ATA100 driver (UDMA5 mode) + IBM-DTLA-307030 * 2 (vinum - raid0) -> FAIL please see: http://cc.kmu.edu.tw/~cch/FreeBSD/ata/promise-udma5-vinum0.txt 4. Promise ATA100 driver (PIO mode) + IBM-DTLA-307030 *2 (vinum-raid0) -> OK (But it's too too slow!) please see: http://cc.kmu.edu.tw/~cch/FreeBSD/ata/promise-pio-vinum0.txt Test 1 has been done on machine PC-A. Test 2 has been done on machine PC-B. Test3 and Test4 has been done on PC-C. PC-B and PC-C have the same hardware configuration except different number of hard disks. --------------08D908B015FCF9827134B2E2 Content-Type: application/x-sh; name="chkcp.sh" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="chkcp.sh" #!/bin/sh # # This script tests large file copying on FreeBSD/i386 with ATA hardisk # sample=/kernel.GENERIC nrun=10 sleep_unit=0 src=fsrc.tmp dst=fdst.tmp log=chkcp.txt echo "Large File Copy Testing begins (`date`)" > $log # get some of hardware and file system configuration # echo "" >> $log grep -i ata /var/run/dmesg.boot >> $log echo "" >> $log mount >> $log echo "" >> $log df >> $log echo "" >> $log sysctl -a | grep hw.ata >> $log # tests for file size: (sample file size) * {10,100,1000} # for count in 10 100 1000 do # generate source file for copying # echo "" >> $log cat $sample > $src i=0 while [ $i -lt $count ] do cat $sample >> $src i=`expr $i + 1` done echo "src: `ls -l $src`" >> $log md5 $src >> $log echo "" >> $log #sync;sleep 60;sync;sleep 30 # tests copying # i=0 while [ $i -lt $nrun ] do echo "-- Run $i begins (`date`)" >> $log echo " - cp begins (`date`)" >> $log cp $src $dst echo " - cp ends (`date`)" >> $log #sync st=`expr $i \* $sleep_unit` #sync echo " sleep $st seconds" >> $log sleep $st echo " dst: `ls -l $dst`" >> $log echo " - md5 begins (`date`)" >> $log echo " `md5 $dst`" >> $log echo " - md5 ends (`date`)" >> $log #sync echo "-- Run $i ends (`date`)" >> $log echo "" >> $log i=`expr $i + 1` done done echo "Large File Copy Testing ends (`date`)" >> $log --------------08D908B015FCF9827134B2E2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message