From alepulver@FreeBSD.org  Tue May  1 06:01:49 2007
Return-Path: <alepulver@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id D1CF216A401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  1 May 2007 06:01:49 +0000 (UTC)
	(envelope-from alepulver@FreeBSD.org)
Received: from relay02.pair.com (relay02.pair.com [209.68.5.16])
	by mx1.freebsd.org (Postfix) with SMTP id 6F26C13C45A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  1 May 2007 06:01:49 +0000 (UTC)
	(envelope-from alepulver@FreeBSD.org)
Received: (qmail 61925 invoked from network); 1 May 2007 06:01:47 -0000
Received: from 190.55.91.88 (HELO deimos.mars.bsd) (190.55.91.88)
  by relay02.pair.com with SMTP; 1 May 2007 06:01:47 -0000
Message-Id: <1177999317.1472@deimos.mars.bsd>
Date: Tue, 1 May 2007 03:01:57 -0300
From: "Alejandro Pulver" <alepulver@FreeBSD.org>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: atacontrol(8): changing DMA modes when disk is reading/writing crashes
X-Send-Pr-Version: gtk-send-pr 0.4.8 
X-GNATS-Notify:

>Number:         112282
>Category:       kern
>Synopsis:       [ata] atacontrol(8): changing DMA modes when disk is reading/writing crashes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          suspended
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 01 06:10:06 GMT 2007
>Closed-Date:    
>Last-Modified:  Sun Sep 05 20:11:04 UTC 2010
>Originator:     Alejandro Pulver
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
    root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP



>Description:


I have a FreeBSD machine which changes ATA modes correctly when the disk
is idle, but when it is reading/writing (moderate/high load) the system
freezes after the command returns, and the disk light keeps on.

The specifications of my machine are available here (the files containing
"_1"; well, it has FreeBSD 6.2 now, not 6.1):

http://people.freebsd.org/~alepulver/disk-crash.tar.bz2

If you need more information just ask me.


>How-To-Repeat:


For example (by default is in UDMA133):
# atacontrol mode ad2 UDMA100
# atacontrol mode ad2 UDMA133

I could not reproduce the problem in my other machine which has a SATA
disk and seems locked to the SATA300 mode (although one attempt to change
it froze the system, keeping the disk light off; instead of rejecting
the mode). This machine's specifications are in the files containing
"_2" (see above).


>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->suspended 
State-Changed-By: arundel 
State-Changed-When: Sun Sep 5 20:10:43 UTC 2010 
State-Changed-Why:  
Work on the ATA subsytem has been suspended, because eventually it will get  
replaced by CAM. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112282 
>Unformatted:
