From nobody@FreeBSD.org  Fri Nov 18 19:07:59 2005
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 AE18616A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 Nov 2005 19:07:59 +0000 (GMT)
	(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 A55F743D6E
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 Nov 2005 19:07:57 +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 jAIJ7vMx092213
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 Nov 2005 19:07:57 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jAIJ7vjw092212;
	Fri, 18 Nov 2005 19:07:57 GMT
	(envelope-from nobody)
Message-Id: <200511181907.jAIJ7vjw092212@www.freebsd.org>
Date: Fri, 18 Nov 2005 19:07:57 GMT
From: Julien Nury <jnury@wopr.ch>
To: freebsd-gnats-submit@FreeBSD.org
Subject: HighPoint RocketRAID 1520 (HPT372N) can't write on hard drives
X-Send-Pr-Version: www-2.3
X-GNATS-Notify: jeremy@smart-serv.net

>Number:         89249
>Category:       i386
>Synopsis:       [ataraid] HighPoint RocketRAID 1520 (HPT372N) can't write on hard drives (regression)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 18 19:10:28 GMT 2005
>Closed-Date:    
>Last-Modified:  Wed Aug 27 20:30:00 UTC 2008
>Originator:     Julien Nury
>Release:        FreeBSD 6.0 Release
>Organization:
WOPR Hosting
>Environment:
FREEBSD 6.0 RELEASE GENERIC i386
>Description:
When attempting to write on drives (in install program for example)
connected to an HighPoint RocketRAID 1520 (HPT372N Chipset with last
firmware) controller board the following errors appear:

ad6: FAILURE - WRITE_DMA status=51<READY,DSC,ERROR> error=5<ABORTED,ILLEGAL_LENGHT> LBA=63
ar0: WARNING - mirror protection lost. RAID1 array in DEGRADED mode
ad4: FAILURE - WRITE_DMA status=51<READY,DSC,ERROR> error=5<ABORTED,ILLEGAL_LENGHT> LBA=9
ada4: write metadata failed
ad4: FAILURE - WRITE_DMA status=51<READY,DSC,ERROR> error=5<ABORTED,ILLEGAL_LENGHT> LBA=63
ar0: FAILURE - RAID1 array broken

.. and leads to unavailability of the drives.

Read is OK
Same error with no RAID
No error with the same machine and FreeBSD 5.4
>How-To-Repeat:
              
>Fix:
              
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Tue Feb 19 17:27:09 UTC 2008 
State-Changed-Why:  
To submitter:  Firstly, I'm sorry that this PR has sat for so long without 
anyone looking at it.  Can you tell me, is this still a problem with newer 
versions of FreeBSD? 


Responsible-Changed-From-To: freebsd-i386->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Tue Feb 19 17:27:09 UTC 2008 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89249 
State-Changed-From-To: feedback->closed 
State-Changed-By: gavin 
State-Changed-When: Tue Apr 29 18:47:37 UTC 2008 
State-Changed-Why:  
Feedback timeout (2 months).  To submitter: if you still see 
this, we can reopen the PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89249 
State-Changed-From-To: closed->open 
State-Changed-By: gavin 
State-Changed-When: Wed Aug 27 11:02:52 UTC 2008 
State-Changed-Why:  
Reopen, I've had conformation from <jeremy at smart-serv dot net> that this 
is still an issue on 
FreeBSD xxxx.smart-serv.net 7.0-STABLE FreeBSD 7.0-STABLE #1: Tue Aug 12 21:13:47 MDT 2008 



Responsible-Changed-From-To: gavin->freebsd-bugs 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Wed Aug 27 11:02:52 UTC 2008 
Responsible-Changed-Why:  
Back into the pool 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89249 

From: Jeremy Johnston <jeremy@smart-serv.net>
To: bug-followup@FreeBSD.org, jnury@wopr.ch
Cc:  
Subject: Re: i386/89249: [ataraid] HighPoint RocketRAID 1520 (HPT372N) can't
 write on hard drives (regression)
Date: Wed, 27 Aug 2008 13:05:38 -0700

 As per request, I can recreate this bug on demand by enabling DMA and 
 attempting to read/write from the drives
>Unformatted:
