From owner-freebsd-i386@FreeBSD.ORG Thu Feb 21 17:29:09 2008 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 459E216A402; Thu, 21 Feb 2008 17:29:09 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 32C6513C45B; Thu, 21 Feb 2008 17:29:09 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1LHT97O071073; Thu, 21 Feb 2008 17:29:09 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1LHT8Gx071069; Thu, 21 Feb 2008 17:29:08 GMT (envelope-from gavin) Date: Thu, 21 Feb 2008 17:29:08 GMT Message-Id: <200802211729.m1LHT8Gx071069@freefall.freebsd.org> To: arnaud@pnzone.net, gavin@FreeBSD.org, freebsd-i386@FreeBSD.org, gavin@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: i386/79409: Coming back from idles make the server reboot X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2008 17:29:09 -0000 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