From nobody@FreeBSD.ORG  Sun Oct  1 13:35:30 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 4425337B503; Sun,  1 Oct 2000 13:35:30 -0700 (PDT)
Message-Id: <20001001203530.4425337B503@hub.freebsd.org>
Date: Sun,  1 Oct 2000 13:35:30 -0700 (PDT)
From: admin@govital.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: 3ware twe driver not working properly with 6000 series cards
X-Send-Pr-Version: www-1.0

>Number:         21686
>Category:       kern
>Synopsis:       3ware twe driver not working properly with 6000 series cards
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    msmith
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 01 13:40:01 PDT 2000
>Closed-Date:    Thu Oct 26 15:06:51 PDT 2000
>Last-Modified:  Thu Oct 26 15:08:21 PDT 2000
>Originator:     Chris Demers
>Release:        4.1
>Organization:
GoVital Hosting
>Environment:
FreeBSD web002.govitalhosting.com 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Thu Jul 27
 04:44:16 GMT 2000     root@usw4.freebsd.org:/usr/src/sys/compile/GENERIC  i386
>Description:
I am trying to
use FreeBSD with the 6200/6400 series ide raid cards from 3ware and have
had much difficulty getting them to run properly t raid level 1 just
basic mirroring.  The problem that we are having is that we cannot
properly install FreeBSD 4.1-Release with the 6000 series cards.  If we
setup a raid 1 mirror, shutdown the machine and then disconnect one of
the drives and then boot up again everything is fine running from a
single drive, we can setup the system no problem get everything running
all fine, but as soon as we add in the second or additional drives we
start to get errors.  The errors start to appear about a couple minutes
after initial startup and as the drives begin to sync up their data
updating the new drive.  After a little while the system starts to core
dump everything pretty well that loads up.

Systems being used are super socket 7 motherboards atx, amd k6/2 500mhz,
128-256mb ram, 15GB hard drives (fujitsu 7200rpm), generic pci vga cards.

>How-To-Repeat:
Just setup a raid 1 mirroring with the 3ware 6200/6400 cards and use
system like normal.  The problem has occured identical on 4 seperate
setups of cards and motherboards.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->msmith 
Responsible-Changed-By: johan 
Responsible-Changed-When: Tue Oct 3 12:22:54 PDT 2000 
Responsible-Changed-Why:  
Over to twe maintainer. 

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

From: Chris Demers <admin@govital.net>
To: freebsd-gnats-submit@FreeBSD.org, admin@govital.net
Cc:  
Subject: Re: kern/21686: 3ware twe driver not working properly with 6000 series 
 cards
Date: Thu, 26 Oct 2000 08:11:36 -0400

  http://www.freebsd.org/cgi/query-pr.cgi?pr=21686
 
 I have done some quick further testing of this problem, and the problem
 has gone away as far as I can tell with the latest bios that is
 available from 3ware.  So far I have not run into any further problems,
 after reflashing to the latest bios everything seems fine.  But when
 running with the old Bios on 4.1-Release problems keep poping up.
 
 --
 Chris Demers (admin@govial.net) (Web Mail : cjdemers@netscape.net )
 cdemers@wincom.net              (Web Alias: bill_the_cat@usa.net  )
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 COMMAND.COM not found. Running NONSENSE.COM. Ufdsk (Q/L)?
 
 
 
 
State-Changed-From-To: open->closed 
State-Changed-By: msmith 
State-Changed-When: Thu Oct 26 15:06:51 PDT 2000 
State-Changed-Why:  

This issue is an off-by-one error in the 3ware firmware which strikes when 
you completely fill the card with commands.  3ware have fixed it in their 
more recent firmware, and current versions of the driver avoid filling 
the card completely as well. 

Thanks to Chris for following up and confirming that this was the issue. 


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