>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 majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message