ataidle - causing apache & cvs timeouts
Kris Kennaway
kris at FreeBSD.org
Wed Nov 28 14:26:21 PST 2007
Steve Franks wrote:
> I'm running ataidle on my personal server to save electricity.
> However, every time it has to spin up a drive whatever I'm accessing
> (apache, cvs, etc) gives an error instead of waiting for the disk. If
> I then access it again after a couple seconds once the disk is active
> it works fine. Any idea how to fix this?
>
> Relevant parts of dmesg:
>
> ad7: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=640790375
> ad7: TIMEOUT - READ_DMA48 retrying (0 retries left) LBA=640790375
> ad7: FAILURE - READ_DMA48 timed out LBA=640790375
Hack the code to increase the timeout or number of retries. Evidently
your drive is taking too long to spin up when powered down.
Kris
More information about the freebsd-questions
mailing list