From owner-freebsd-stable@FreeBSD.ORG Mon Jul 31 15:49:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE85516A4E0 for ; Mon, 31 Jul 2006 15:49:19 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABCF343D55 for ; Mon, 31 Jul 2006 15:49:11 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so867365uge for ; Mon, 31 Jul 2006 08:49:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YcWwgkoFEf6hbEOGU2TcLIcYWfIsLCiockZv0HFAn3WLO9wbt+zTbKCoAL4ov2W4GHBgIF5FRr5EJKtVgFoScu+odEzTp5ef52y2fJDLayWgEc++ssRm0MFO2E3ePdwXPyvDJc+nlse80+NDtsmd7ePPM0QvMexLMgLMx7KqpWg= Received: by 10.78.165.13 with SMTP id n13mr227528hue; Mon, 31 Jul 2006 08:49:10 -0700 (PDT) Received: by 10.78.143.11 with HTTP; Mon, 31 Jul 2006 08:49:08 -0700 (PDT) Message-ID: Date: Mon, 31 Jul 2006 10:49:08 -0500 From: "Nikolas Britton" To: "Mike Tancsa" In-Reply-To: <6.2.3.4.0.20060731094908.137f4848@64.7.153.2> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6.2.3.4.0.20060731094908.137f4848@64.7.153.2> Cc: scottl@freebsd.org, erich@areca.com.tw, FreeBSD Stable List Subject: Re: GIANT in arcmsr(4) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 15:49:19 -0000 On 7/31/06, Mike Tancsa wrote: > At 07:13 AM 30/07/2006, Nikolas Britton wrote: > >On 7/29/06, Nikolas Britton wrote: > >>Anyone know why the giant is in arcmsr(4) or how to kill him? > >> > > > >I did some work on the arcmsr(4) driver: > >http://www.freebsd.org/cgi/query-pr.cgi?pr=101045 > > > > Is not the driver from the Areca site just plugin compatible ? I > havent updated my Areca boxes in a bit, but I recall just dropping > the source code in place of what was there and recompiling. I was > also told by Areca to make sure I had the latest firmware at the time > too. I don't know but I do know it won't compile if you just dropped it in, I had to fix a few syntax errors: > diff arcmsr.h.1200012 arcmsr.h.freebsd.new 36a37 > ** $FreeBSD$ 112c113 < #define dma_addr_hi32(addr) (u_int32_t) ((addr>>16)>>16 --- > #define dma_addr_hi32(addr) (u_int32_t) ((addr>>16)>>16) 518,519c519,520 < u_int32_t num_resets < u_int32_t num_aborts --- > u_int32_t num_resets; > u_int32_t num_aborts; 523c524 < u_int32_t firm_ide_channels; /*4,16-19* --- > u_int32_t firm_ide_channels; /*4,16-19*/ I asked the Areca people what their plans were for the driver > on the website and they said they submitted the driver to be merged > into the tree, but either didnt email the right people, or no one had > time to do the merge/import. Perhaps Scott Long knows ? > > ---Mike > CC'd Erich Chen, the person who made the driver. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/