From nobody@FreeBSD.org  Thu Aug 12 10:52:53 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 7A18316A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Aug 2004 10:52:53 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6FC4043D53
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Aug 2004 10:52:53 +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 i7CAqrPl011779
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Aug 2004 10:52:53 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i7CAqrIR011778;
	Thu, 12 Aug 2004 10:52:53 GMT
	(envelope-from nobody)
Message-Id: <200408121052.i7CAqrIR011778@www.freebsd.org>
Date: Thu, 12 Aug 2004 10:52:53 GMT
From: Aaron Gifford <astounding@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Random lock-ups with 3ware RAID 5 under FreeBSD 5.2.1
X-Send-Pr-Version: www-2.3

>Number:         70360
>Category:       kern
>Synopsis:       [twe] Random lock-ups with 3ware RAID 5 under FreeBSD 5.2.1
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 12 11:00:35 GMT 2004
>Closed-Date:    Fri Mar 23 19:01:47 GMT 2007
>Last-Modified:  Fri Mar 23 19:01:47 GMT 2007
>Originator:     Aaron Gifford
>Release:        FreeBSD 5.2.1 (RELENG_5_2 as of August 2004)
>Organization:
>Environment:
FreeBSD my.host.name 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Tue Aug 10 14:14:44 MDT 2004     me@my.host.name:/usr/obj/usr/src/sys/MYKERNEL  i386  
>Description:
There have been random system lock-ups (where the system becomes suddenly unresponsive, no unusual output on the console, keyboard is unresponsive too, network unresponsive) at unpredictable intervals on several machines running 5.2.1 with 3ware RAID arrays, including:

1) A verly lightly loaded machine with 3ware 7506-LP with 4 drives in a single RAID 5

2) A mixed load machine with 3Ware 8506 with 4 drives in a single RAID 10 array

3) And the worst offender, a medium-to-high-load server with 3ware 8506 with 8 drives in two arrays, one RAID 10 and one RAID 1

There doesn't seem to be any predictable I/O or system load correlation with the lock-ups that I'm aware of.  Murphy's law does mean a large number of them like to happen in the early A.M. though the timing is different each time, and it also happens at all other times of day.

With one machine (#2), it would lock-up during background fsck after the first lock-up, several times in a row, until background fsck was disabled.  I don't know if this is relevant, or not.
>How-To-Repeat:
I wish I knew how to consistently repeat the problem.  The machines may stay up without problems for days, weeks, or longer, and other times, one will lock-up multiple times in a single day or week.
>Fix:
For now I'll be downgrading to 4.x.  Hopefully this will be remedied by 5.3 so that 5.3 can really be -STABLE rather than unstable like 5.2.1 has been.

I'm keeping the low-load machine running 5.2.1.  If anyone has any idea how to get the twe driver to print out some useful information instead of a totally-useless total-lock-up, I may be able to try it out and hope for another occurence.
>Release-Note:
>Audit-Trail:

From: Harrison Grundy <astrodog@gmail.com>
To: bug-followup@FreeBSD.org,  astounding@gmail.com
Cc:  
Subject: Re: kern/70360: [twe] Random lock-ups with 3ware RAID 5 under FreeBSD
 5.2.1
Date: Wed, 21 Mar 2007 22:58:14 -0500

 Does this issue still occur? Have you tried updating the firmware of the 
 controllers?
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Mar 23 19:01:18 UTC 2007 
State-Changed-Why:  
From personal email from submitter: no longer occurs on 6.X. 

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