From owner-freebsd-i386@FreeBSD.ORG Tue Aug 8 18:20:14 2006 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FAB516A4DF for ; Tue, 8 Aug 2006 18:20:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83BD043D53 for ; Tue, 8 Aug 2006 18:20:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k78IKDq6006728 for ; Tue, 8 Aug 2006 18:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k78IKDNu006727; Tue, 8 Aug 2006 18:20:13 GMT (envelope-from gnats) Resent-Date: Tue, 8 Aug 2006 18:20:13 GMT Resent-Message-Id: <200608081820.k78IKDNu006727@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Laurent LEVIER Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E17F16A4DA for ; Tue, 8 Aug 2006 18:10:28 +0000 (UTC) (envelope-from root@tirion.argosnet.com) Received: from tirion.argosnet.com (tirion.argosnet.com [82.224.1.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FEB143D53 for ; Tue, 8 Aug 2006 18:10:27 +0000 (GMT) (envelope-from root@tirion.argosnet.com) Received: from tirion.argosnet.com (tirion.argosnet.com [192.168.0.254]) by tirion.argosnet.com (8.13.6/8.13.6) with ESMTP id k78IAO9G074696 for ; Tue, 8 Aug 2006 20:10:24 +0200 (CEST) (envelope-from root@tirion.argosnet.com) Received: (from root@localhost) by tirion.argosnet.com (8.13.6/8.13.6/Submit) id k78IANS9074695; Tue, 8 Aug 2006 20:10:23 +0200 (CEST) (envelope-from root) Message-Id: <200608081810.k78IANS9074695@tirion.argosnet.com> Date: Tue, 8 Aug 2006 20:10:23 +0200 (CEST) From: Laurent LEVIER To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: i386/101667: ATA problems when power management is on 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: Tue, 08 Aug 2006 18:20:14 -0000 >Number: 101667 >Category: i386 >Synopsis: ATA problems when power management is on >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 08 18:20:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Laurent LEVIER >Release: FreeBSD 6.1-RELEASE-p3 i386 >Organization: N/A >Environment: System: FreeBSD tirion 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Fri Jul 14 01:06:28 CEST 2006 root@tirion:/usr/obj/usr/src/sys/TIRION i386 >Description: Hi, since I migrated to FreeBSD 6.0 (in fact I reinstalled the box), I am facing some weird behavior with my data hard drive. My server is using 2 HD: one for OS (permanently running) and the other for data storage (power management activated). Naturally, when 2nd is not used, it stops running until it is requested again. On FreeBSD 4.x, HD was restarting, then once ready data was accessible. On 6.x, I got ATA errors: ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=62098175 ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=12127 ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=46291583 ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=287 Of course, I thought it could be a HD, controler or cabling issue and so performed some tests. At the end, when the only difference is FreeBSD 4.11 vs 6.x, problem no longer exists. So I guess problem comes from 6.x. Differences between 4.11 & 6.x: APM was present on 4.x and not detected on 6.x. But ACPI runs and pmtimer is in kernel. The problem is no annoying that, after a while, the hard drive is purely disconnected by kernel (/u2 not available). >How-To-Repeat: I guess installing 6.x and using an A7M266 Mobo, with its normal ATA100 controler will suffice. >Fix: found the bug? ;-) >Release-Note: >Audit-Trail: >Unformatted: