From nobody@FreeBSD.org  Mon Mar  8 02:39:06 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 57AE616A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 Mar 2004 02:39:06 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 544F743D45
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 Mar 2004 02:39:06 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i28Ad572026078
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 8 Mar 2004 02:39:05 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i28Ad5Kf026077;
	Mon, 8 Mar 2004 02:39:05 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200403081039.i28Ad5Kf026077@www.freebsd.org>
Date: Mon, 8 Mar 2004 02:39:05 -0800 (PST)
From: Balzs Nagy <js@iksz.hu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: cannot boot from SATA when ata dma is disabled
X-Send-Pr-Version: www-2.3

>Number:         63923
>Category:       kern
>Synopsis:       cannot boot from SATA when ata dma is disabled
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 08 02:40:10 PST 2004
>Closed-Date:    Mon Oct 04 11:36:49 GMT 2004
>Last-Modified:  Mon Oct 04 11:36:49 GMT 2004
>Originator:     Balzs Nagy
>Release:        FreeBSD tcb.aranyoroszlan.hu 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 05:36:22 GMT 2004     root@cypress.btc.adpatec.com:/usr/obj/usr/src/sys/GENERIC  i386
>Organization:
>Environment:
FreeBSD tcb.aranyoroszlan.hu 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #0: Sun Mar  7 21:44:21 CET 2004 root@tcb.aranyoroszlan.hu:/opt/devel/obj/opt/devel/src/sys/SAMU i386
>Description:
Until DMA bugs exist in 5_2_RELENG systems, I have to disable DMA to keep it stable.  I have an Abit IS-7E motherboard with two Maxtor SATA 160G disks.

I cannot safe boot nor boot with hw.ata.ata_dma="0" with my latest kernel.  It hangs at 'Mounting root from ufs:/dev/vinum/root' prompt.  I tried with no vinum boot (ufs:ad4s1a), with no success.

Appropriate lines from dmesg (with 5.2.1-RC kernel):
atapci1: <Intel ICH5 SATA150 controller> port 0xd000-0xd00f,0xcc00-0xcc03,0xc800-0xc807,0xc400-0xc403,0xc000-0xc007 irq 
18 at device 31.2 on pci0
atapci1: [MPSAFE]
ata2: at 0xc000 on atapci1
ata2: [MPSAFE]
ata3: at 0xc800 on atapci1
ata3: [MPSAFE]
..
GEOM: create disk ad4 dp=0xc6b6b960
ad4: 152627MB <Maxtor 6Y160M0> [310101/16/63] at ata2-master PIO4
GEOM: create disk ad6 dp=0xc6b6b560
ad6: 150100MB <Maxtor 6Y160M0> [304965/16/63] at ata3-master PIO4

>How-To-Repeat:
1. compile latest src with 5_2_RELENG tag
2. boot with hw.ata.ata_dma="0", using an ICH5-based motherboard with SATA disks
3. boot will hang at the prompt "Mounting root from ..."
>Fix:
5.2.1-RC kernel works with dma disabled
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: arved 
Responsible-Changed-When: Mon Sep 6 14:01:42 GMT 2004 
Responsible-Changed-Why:  
Over to ATA Maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63923 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Mon Oct 4 11:36:12 GMT 2004 
State-Changed-Why:  
This works in -current/5.3 so you should update. 

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