From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 28 00:40:25 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A41F116A4D0 for ; Wed, 28 Jun 2006 00:40:25 +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 2339543D48 for ; Wed, 28 Jun 2006 00:40:25 +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 k5S0eOO2028141 for ; Wed, 28 Jun 2006 00:40:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5S0eOHl028140; Wed, 28 Jun 2006 00:40:24 GMT (envelope-from gnats) Resent-Date: Wed, 28 Jun 2006 00:40:24 GMT Resent-Message-Id: <200606280040.k5S0eOHl028140@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Steve Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2A1116A47B for ; Wed, 28 Jun 2006 00:33:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AFC543E94 for ; Wed, 28 Jun 2006 00:07:42 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k5S07gtZ027772 for ; Wed, 28 Jun 2006 00:07:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k5S07gVV027771; Wed, 28 Jun 2006 00:07:42 GMT (envelope-from nobody) Message-Id: <200606280007.k5S07gVV027771@www.freebsd.org> Date: Wed, 28 Jun 2006 00:07:42 GMT From: Steve To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: misc/99567: Powerup of sleeping IDE drives causes system reboot. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 00:40:25 -0000 >Number: 99567 >Category: misc >Synopsis: Powerup of sleeping IDE drives causes system reboot. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 28 00:40:24 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Steve >Release: 5.5 >Organization: >Environment: FreeBSD Torhelm.mil 5.5-RELEASE FreeBSD 5.5-RELEASE #0: Tue May 23 14:58:27 UTC 2006 root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Occasionally, accessing a hard disk drive that is powered down causes the system to freeze (likely a kernel panic) and then reboot. If accessing a powered down hard drive does not cause a lockup, then messages such as the following are reported: kernel: ad1: TIMEOUT - READ_DMA retrying (2 retries left) LBA=32547130 >From my websearching, it seems the IDE subsystem in the 5.x branch is the problem and 4.x and 6.x lack the issues I'm reporting. I was hoping that 5.5 would contain the patch that Søren Schmidt released (ATA-mkIII), but apparently that is not the case. Note that I'm only writting this bug report because the server has rebooted 4 times today, and WindowsXP is starting to look much much more stable than FreeBSD. >How-To-Repeat: >Fix: If one turns off powering down of hard disk drives, this would obviously solve the problem. The patch by Søren Schmidt may or may not also work. Migrating to 6.x should also work. >Release-Note: >Audit-Trail: >Unformatted: