From owner-freebsd-current Tue Mar 30 12:31:30 1999 Delivered-To: freebsd-current@freebsd.org Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (Postfix) with ESMTP id A678914D54 for ; Tue, 30 Mar 1999 12:31:26 -0800 (PST) (envelope-from jobaldwi@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id PAA12136; Tue, 30 Mar 1999 15:30:56 -0500 (EST) Received: from john.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.63]) by sable.cc.vt.edu (8.8.8/8.8.8) with ESMTP id PAA19447; Tue, 30 Mar 1999 15:30:55 -0500 (EST) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199903301129.NAA60572@freebsd.dk> Date: Tue, 30 Mar 1999 15:30:52 -0500 (EST) From: John Baldwin To: Soren Schmidt , freebsd-current@freebsd.org Subject: Re: UPDATE4: ATA/ATAPI driver new version available. Cc: sobomax@altavista.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 30-Mar-99 Soren Schmidt wrote: > It seems Maxim Sobolev wrote: >> >>New ata driver (cvsup'ed several minutes ago) locks my box solid (only >>reset but ton can help). Bug is fully reproducible on my machine (Toshiba >>Satellite Pro 445). >>I using the following command: dd if=/dev/zero of=/dev/ad0s2 bs=1024k. It >>works several minutes then IDE led turns off and box freezes. Interesting >>that >>when I looking at systat -vm measures, performance constantly degrades from >>3.3MB/s to 2.5MB/s. >>Bug exist either in single-user and in multi-user mode. Following is relevant >>dmesg pieces from my dmesg output: > > Hmm, are you sure you want to WRITE all those zeros to your disk ?? > However it should not hang before the end of disk is reached that is. > Have you tried reading all of the disk instead, does that hang ?? > The degradation is probably becuse the transferrate of the disk slows > down as you get closer to the center of the disk. > Have you anu idea on how much data is transferred ?? how long is it > running ?? > > > -Søren > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message I had similar problems in -stable with the old ATA drivers. I was having weird swap errors, so I booted w/o swap and dd'd my swap partitions to check for read or write errors. I could do a dd if=/dev/wd0s3b of=/dev/null fine. But, when I tried a write from /dev/zero (dd if=/dev/zero of=/dev/wd0s3b) it locked up. If I specified the number of blocks to write, including enough blocks for the entire slice, the dd finished without a problem. If I let it figure out how much to write it locked the machine and I had to reset. However, that is with the old drivers on -stable, so I don't think it is your new stuff, Søren. ... Ok, I just checked on a -stable system built from sources dated March 28 and here is what I found: I can read and write from the raw devices (e.g. /dev/rwd0s3b) perfectly fine. I can read from the block devices (e.g. /dev/wd0s3b) fine. If I write to them with a specific count of blocks it works. The only problems are from writing without blockcounts. Here's the output (approx.) > dd if=/dev/zero of=/dev/rwd0s3b bs=64k warning /dev/rwd0s3b: data overflows device (or something similar) 1216+0 records in 1216+0 recorsd out 76xxxxxxxxxx bytes blah blah blah.. > dd if=/dev/zero of=/dev/wd0s3b bs=64k Disk activity for a while (i think it actually goes long enough to finish the write), and then the machine locks up. --- John Baldwin -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message