From nobody@FreeBSD.org  Mon Sep 20 08:00:32 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 D4C3916A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Sep 2004 08:00:32 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C780A43D45
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Sep 2004 08:00:32 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i8K80WKZ037932
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Sep 2004 08:00:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i8K80WnJ037931;
	Mon, 20 Sep 2004 08:00:32 GMT
	(envelope-from nobody)
Message-Id: <200409200800.i8K80WnJ037931@www.freebsd.org>
Date: Mon, 20 Sep 2004 08:00:32 GMT
From: Alexander Topuzov <sandeto_t@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ata+hpt366 controller on BE6II motherboard
X-Send-Pr-Version: www-2.3

>Number:         71924
>Category:       i386
>Synopsis:       timeouts with ata+hpt366 controller on BE6II motherboard
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 20 08:00:45 GMT 2004
>Closed-Date:    Mon Mar 12 07:13:22 GMT 2007
>Last-Modified:  Mon Mar 12 07:13:22 GMT 2007
>Originator:     Alexander Topuzov
>Release:        4.10
>Organization:
DME
>Environment:
FreeBSD server.datamap 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Mon Jul 26 11:27:58 EEST 2004     root@server.datamap:/usr/src/sys/compile/FILESRV  i386

>Description:
A system with attached hard-disk to the HPT366 controller!
The bios of the HPT366 controller is not flashed!
when running command "portsdb -Uu to update INDEX file after cvsup-ing ports collections getting the next output.....

server# portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please wait..Sep 20 10:16:34
 server login: ROOT LOGIN (root) ON ttyv2
ad4: READ command timeout tag=0 serv=0 - resetting
ata2: resetting devices .. ata2-slave: ATA identify retries exceeded
done 

The output of atacontrol list command..

ATA channel 0:
    Master:      no device present
    Slave:       no device present
ATA channel 1:
    Master: acd0 <_NEC CD-ROM CD-3002A/C000> ATA/ATAPI rev 0
    Slave:       no device present
ATA channel 2:
    Master:  ad4 <Maxtor 2R015H1/EAH41MF0> ATA/ATAPI rev 6
    Slave:       no device present
ATA channel 3:
    Master:      no device present
    Slave:       no device present 

I just want to help! -I am not sure if this is really a problem or my own misconfiguration on tunning my hard-disk

Sorry for convenience!

Good Luck!
>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Thierry Herbelot <thierry@herbelot.com>
To: bug-followup@FreeBSD.org, sandeto_t@yahoo.com
Cc:  
Subject: Re: i386/71924: timeouts with ata+hpt366 controller on BE6II motherboard
Date: Fri, 15 Apr 2005 18:50:43 +0200

 <Me too>
 
 I am having the same problem with a recent -Current :
 the kernel messages preceding the crash were :
 login: ad8: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=9806831
 ad8: FAILURE - device detached
 subdisk8: detached
 ad8: detached
 
 the HPT controller is :
 atapci2: <HighPoint HPT366 UDMA66 controller> port 
 0xb400-0xb407,0xb800-0xb803,0xbc00-0xbcff irq 18 at device 19.0 on pci0
 ata4: <ATA channel 0> on atapci2
 atapci3: <HighPoint HPT366 UDMA66 controller> port 
 0xc000-0xc007,0xc400-0xc403,0xc800-0xc8ff irq 18 at device 19.1 on pci0
 ata5: <ATA channel 0> on atapci3
 
 the disks connected to the HPT-366 are :
 ad8: 9671MB <IBM DTTA-351010 T56OA73A> at ata4-master UDMA33
 ad10: 9671MB <IBM DTTA-351010 T56OA73A> at ata5-master UDMA33
 
 the disks were configured as a gmirror raid :
 GEOM_MIRROR: Device gm0s1 created (id=2240757196).
 GEOM_MIRROR: Device gm0s1: provider ad8s1 detected.
 GEOM_MIRROR: Device gm0s1: provider ad10s1 detected.
 GEOM_MIRROR: Device gm0s1: provider ad10s1 activated.
 GEOM_MIRROR: Device gm0s1: provider ad8s1 activated.
 GEOM_MIRROR: Device gm0s1: provider mirror/gm0s1 launched.
 
 the motherboard is an Abit BP6 (a bit older than the BE6-II of the original 
 report), running SMP.
 
 The kernel run is a straight generic : (with WITNESS and all debug flags)
 FreeBSD 6.0-CURRENT #571: Mon Apr  4 06:25:21 CEST 2005
     XXX@YYY:/usr/obj/usr/src/sys/GENERIC
 
 I have seen the problem three times, once on a disk and twice on the other.
 the problem was seen while building the world, with /usr/src on the gmirror 
 and /usr/obj on another disk.
 
 I have reconnected the disks to the onboard 440BX to determine that my problem 
 does not come from the oldish disks (I have built around 20 worlds with this 
 new configuration, with so far no disk problems).
 
 	Cheers
 
 	TfH
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Wed Feb 21 10:07:31 UTC 2007 
State-Changed-Why:  
Hello is this still a problem? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71924 
Responsible-Changed-From-To: freebsd-i386->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Wed Feb 21 10:07:37 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71924 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Mar 12 07:13:21 UTC 2007 
State-Changed-Why:  
feedback timeout 

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