From owner-freebsd-current@FreeBSD.ORG Wed May 9 04:55:17 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9F2D16A400 for ; Wed, 9 May 2007 04:55:17 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id A480E13C459 for ; Wed, 9 May 2007 04:55:17 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l494tA1D005965; Tue, 8 May 2007 22:55:11 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4641542A.7030203@samsco.org> Date: Tue, 08 May 2007 22:55:06 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: Barrett Lyon References: <9FC464A4-4405-4C10-A7CB-0A424EA4EAD3@blyon.com> In-Reply-To: <9FC464A4-4405-4C10-A7CB-0A424EA4EAD3@blyon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Tue, 08 May 2007 22:55:11 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-current@freebsd.org Subject: Re: Functional RAID controller? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2007 04:55:18 -0000 Barrett Lyon wrote: > I've been using HEAD with 3ware adapters and all of my test machines are > completely non-functional. I had my team working directly with 3ware > for two weeks and they offered a tip here and there. Ultimately we > ended up with a non-functioning systems and a good idea what's wrong > with the twa driver. > > I offered to help fund and provide hardware for a development effort to > update their driver to support HEAD but they refused to help. I am > worried about 3ware's commitment to the future of FreeBSD and the twa > driver at this point, 3ware is not the least bit concerned (even with a > large customer): > I have a pretty good idea of what is wrong, and it's partially my fault. A quick work-around would be to edit /sys/dev/twa/tw_osl_freebsd.c and remove the INTR_MPSAFE flag as so: --- tw_osl_freebsd.c 9 May 2007 04:16:32 -0000 1.7 +++ tw_osl_freebsd.c 9 May 2007 04:54:24 -0000 @@ -359,7 +359,7 @@ return(ENXIO); } if ((error = bus_setup_intr(sc->bus_dev, sc->irq_res, - INTR_TYPE_CAM | INTR_MPSAFE, + INTR_TYPE_CAM, #ifdef TW_OSLI_DEFERRED_INTR_USED twa_pci_intr_fast, NULL, #else If that works for you then I'll check it into CVS and work with AMCC on a real fix. Scott