Re: ataidle - causing apache & cvs timeouts



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

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • ataidle - causing apache & cvs timeouts
    ... every time it has to spin up a drive whatever I'm accessing ... (apache, cvs, etc) ... I then access it again after a couple seconds once the disk is active ...
    (freebsd-questions)
  • Re: [PATCH] libata: implement ata_wait_after_reset()
    ... need to figure out how to do background spinup with the new implementation. ... The change was made primarily to make libata spin down disks properly on ... So to me it seems that failed, because the undefined reset time is just ... Explained is why we wait on the disk, but that's only the sd_resume part. ...
    (Linux-Kernel)
  • Re: [PATCH] libata: implement ata_wait_after_reset()
    ... so that's probably why you can feel the delay. ... The change was made primarily to make libata spin down disks properly on ... So to me it seems that failed, because the undefined reset time is just ... Explained is why we wait on the disk, but that's only the sd_resume part. ...
    (Linux-Kernel)
  • Re: Thoughts and Notes on Missile Gap by Charles Stross
    ... Disk *must* spin. ... degenerate matter with crushing surface gravity, ... is radically different from the amount of spin needed for the outer edge. ...
    (rec.arts.sf.science)
  • Re: [PATCH] libata: implement ata_wait_after_reset()
    ... need to figure out how to do background spinup with the new implementation. ... So to me it seems that failed, because the undefined reset time is just ... Explained is why we wait on the disk, but that's only the sd_resume part. ... I assume that causes the disk to spin up. ...
    (Linux-Kernel)