Date: Tue, 30 Mar 1999 15:30:52 -0500 (EST) From: John Baldwin <jobaldwi@vt.edu> To: Soren Schmidt <sos@freebsd.dk>, freebsd-current@freebsd.org Cc: sobomax@altavista.net Subject: Re: UPDATE4: ATA/ATAPI driver new version available. Message-ID: <XFMail.990330153052.jobaldwi@vt.edu> In-Reply-To: <199903301129.NAA60572@freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jobaldwi@vt.edu> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990330153052.jobaldwi>