Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2004 02:39:05 -0800 (PST)
From:      Balázs Nagy <js@iksz.hu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/63923: cannot boot from SATA when ata dma is disabled
Message-ID:  <200403081039.i28Ad5Kf026077@www.freebsd.org>
Resent-Message-ID: <200403081040.i28AeAEx003745@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63923
>Category:       misc
>Synopsis:       cannot boot from SATA when ata dma is disabled
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 08 02:40:10 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Balázs 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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403081039.i28Ad5Kf026077>