From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 29 17:54:35 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2EA6106569C for ; Fri, 29 Aug 2008 17:54:35 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id B18338FC18 for ; Fri, 29 Aug 2008 17:54:35 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id EB9F51A91B6; Fri, 29 Aug 2008 10:44:50 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.335 X-Spam-Level: X-Spam-Status: No, score=-4.335 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=0.064, BAYES_00=-2.599] Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eWAA+w1ZjLat; Fri, 29 Aug 2008 10:44:50 -0700 (PDT) Received: from [10.0.0.40] (iago.office.miralink.com [10.0.0.40]) by plato.miralink.com (Postfix) with ESMTP id 8CA311A91B5; Fri, 29 Aug 2008 10:44:50 -0700 (PDT) Message-ID: <48B837DB.1000903@miralink.com> Date: Fri, 29 Aug 2008 10:54:35 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Alexander Sack References: <48B6E19A.7050603@miralink.com> <3c0b01820808281059k3c33e352g6be72f02817e8e6a@mail.gmail.com> <48B6EF1A.1040805@miralink.com> <3c0b01820808290951s6a3a8ebuf6ea501308ed91c3@mail.gmail.com> In-Reply-To: <3c0b01820808290951s6a3a8ebuf6ea501308ed91c3@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org Subject: Re: [ISP] QLA2432 Target Mode Broken X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2008 17:54:36 -0000 Alexander Sack wrote: > On Thu, Aug 28, 2008 at 2:31 PM, Sean Bruno wrote: > >> Alexander Sack wrote: >> >>> On Thu, Aug 28, 2008 at 1:34 PM, Sean Bruno wrote: >>> >>> >>>> I tried putting a 2432 into target mode this week and noted that the >>>> system >>>> threw a pretty nice panic and thought I would post the output here. >>>> Reviewing the 4G documentation from Qlogic, it looks like they've >>>> substantially changed the target mode interface, so I'm not surprised >>>> that >>>> there's some work to do. If anyone has any patches they'd like me to >>>> test, >>>> I'm open to integration: >>>> >>>> >>> Did you rebuild the isp driver with -DISP_TARGET_MODE defined? I only >>> mention this because the output below seems like you twiddled the >>> "role" hint instead of actually recompile the driver? >>> >>> -aps >>> >>> >> Ah, yes, that's a little magic I was trying ... sorry about that. >> >> Yes, I definitely compiled with ISP_TARGET_MODE defined. :) >> > > Yea sorry, I just was checking. I don't have a clue right now why you > are dying but some else is seeing similar nastiness in target mode. > Minimally you should file a bug. > > How did you setup your box, how do you reproduce etc. etc.? > > thanks! > > -aps > Well, I put a 2432 into my box and recompiled with target mode enabled. Nothing fancy. :) A 23XX card in it's place works just fine. I believe, due to the architecture difference between the 4G/8G and 2G cards that it just doesn't work right now. The 4G/8G architecture does nothing in target mode except DMA the incoming data. the 2G cards do some things for the driver. I was hoping that someone has some patches in their trees just lying around that I could look over and test for 4G target mode support. :) -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Phone 503-621-5143 Fax 503-621-5199 MSN: sbruno@miralink.com Google: seanwbruno@gmail.com Yahoo: sean_bruno@yahoo.com