From owner-freebsd-current Tue Mar 30 23: 3:42 1999 Delivered-To: freebsd-current@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 3852715510 for ; Tue, 30 Mar 1999 23:03:39 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id RAA00353; Wed, 31 Mar 1999 17:03:18 +1000 Date: Wed, 31 Mar 1999 17:03:18 +1000 From: Bruce Evans Message-Id: <199903310703.RAA00353@godzilla.zeta.org.au> To: freebsd-current@FreeBSD.ORG, jobaldwi@vt.edu, sos@freebsd.dk 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 >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. Writing beyond EOF to a buffered disk device hangs both 3.x and -current. The failing writes are retried forever. >> 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. The easiest fix is: don't do that. Unbuffered disk devices are slower than buffered ones. Buffered disk devices are only useful for: - mounting on - finding bugs in the buffer cache. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message