Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2000 10:01:19 +1100
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: ATA driver problems
Message-ID:  <00Jan7.100119est.40323@border.alcanet.com.au>
In-Reply-To: <20000106103851.A620@gsmx07.alcatel.com.au>; from peter.jeremy@alcatel.com.au on Thu, Jan 06, 2000 at 10:38:51AM %2B1100
References:  <20000106103851.A620@gsmx07.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2000-Jan-06 10:38:51 +1100, I wrote:
["dd if=/dev/rad0c of=/dev/null bs=64k" dies with an error]

I did some poking around and found that there are two bugs which
conspire together to cause this:
1) diskstrategy() does not detect dscheck() returning EOF, instead
   passing a zero-length request to the underlying driver.
2) The ata-disk driver doesn't check for (and ignore) zero-length
   requests, instead passing them onto the disk.

See kern/15956 for details and patches.

Peter


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?00Jan7.100119est.40323>