Date: Thu, 21 Feb 2008 17:29:08 GMT From: gavin@FreeBSD.org To: arnaud@pnzone.net, gavin@FreeBSD.org, freebsd-i386@FreeBSD.org, gavin@FreeBSD.org Subject: Re: i386/79409: Coming back from idles make the server reboot Message-ID: <200802211729.m1LHT8Gx071069@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: Coming back from idles make the server reboot State-Changed-From-To: open->closed State-Changed-By: gavin State-Changed-When: Thu Feb 21 17:19:25 UTC 2008 State-Changed-Why: To submitter: firstly, sorry that it has taken so long for this PR to be looked at. PR kern/99567 is about the same issue, from that PR: "Since ataidle bypasses the kernel and talks directly to the hardware there are cases where it just doesn't work with certain controllers. Unfortunately the only solution at the moment is simply not to use it if it doesn't work with the combination of hardware you have. The READ_DMA timeouts are expected: the kernel doesn't expect to have to wait for a drive to spin up before data can be read. [...] This only becomes a problem if the operation fails after all the retries have been done." As it appears your drives take longer to spin up than the kernel is prepared to wait, the kernel gives up on the disk; assuming it is no longer there (as it has no idea that the disk was ever put to sleep). Apparently there is a possibility that using ataidle's standby mode rather than sleep mode may help with this. There is talk of integrating this functionality into the kernel, I don't know of a timeframe which this will be completed in. You could possibly try upping the retries count in the ATA code to see if you are able to work around the problem that way, else the only answer is to not use ataidle on your hardware. Responsible-Changed-From-To: freebsd-i386->gavin Responsible-Changed-By: gavin Responsible-Changed-When: Thu Feb 21 17:19:25 UTC 2008 Responsible-Changed-Why: Track http://www.freebsd.org/cgi/query-pr.cgi?pr=79409
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802211729.m1LHT8Gx071069>