Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 May 2004 14:19:33 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Scott Long <scottl@freebsd.org>, freebsd-stable@freebsd.org
Cc:        Vinod Kashyap <vkashyap@freebsd.org>
Subject:   Re: [PATCH] Fix for 3ware driver
Message-ID:  <6.0.3.0.0.20040504133732.054ccfd8@64.7.153.2>
In-Reply-To: <40965292.2040608@freebsd.org>
References:  <40965292.2040608@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 10:09 AM 03/05/2004, Scott Long wrote:
>All,
>
>Release testing has shown several recent problems with the 3ware (twe) 
>driver.  Attached is a patch that appears to fix these problems.  I
>would appreciate as much testing as possible before I commit so that I
>can be sure that all of the problems are caught and fixed correctly.
>The patch applies to both RELENG_4_10 and RELENG_4 branches.  Symptoms
>of the problems included i/o hangs under heavy load and filesystem
>corruption.


I was never able to recreate the problem, however I did test the patches on 
a couple of machines.  Note, in the past, a LONG time ago (back when 
msmith@freebsd.org wrote the drivers) the following with just 10 could hang 
the twe system where all disk I/O would be blocking in some race condition.


#!/bin/sh

i=1
   while [ $i -le 50 ]
   do
     i=`expr $i + 1`
     bonnie -s 100 -d /usr/ &
   done

Seems to get through it no problem, and disk io is consistent, despite 50 
processes blocking.

Also did
make buildworld
make -j2 buildworld
make -j3 buildworld
... all the way to -j11
make -j11 buildworld > /var/log/build.out

all with seemingly no problems.

I tested on a
Monitor version: ME7X 1.01.00.038
Firmware version: FE7S 1.05.00.063
BIOS version: BE7X 1.08.00.048
PCB version: Rev5
Achip version: 3.20
Pchip version: 1.30-66
Model: 8006-2LP
Unit count: 1

and a

Monitor version: ME6X 1.01.00.028
Firmware version: FE6X 1.02.28.053
BIOS version: BE6X 1.07.02.005
PCB version: Rev2
Achip version: V4.40
Pchip version: V5.70
Model: 6400
Unit count: 1


both running 4.10-PRERELEASE

Also, would not these same issues crop up in -HEAD ?


         ---Mike





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