Date: Wed, 28 Nov 2007 23:26:31 +0100 From: Kris Kennaway <kris@FreeBSD.org> To: stevefranks@ieee.org Cc: User Questions <freebsd-questions@freebsd.org> Subject: Re: ataidle - causing apache & cvs timeouts Message-ID: <474DEB17.5000200@FreeBSD.org> In-Reply-To: <539c60b90711281405n3edf0124p2570d5b4b36f6cb0@mail.gmail.com> References: <539c60b90711281405n3edf0124p2570d5b4b36f6cb0@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?474DEB17.5000200>