Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2008 10:54:35 -0700
From:      Sean Bruno <sbruno@miralink.com>
To:        Alexander Sack <pisymbol@gmail.com>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: [ISP] QLA2432 Target Mode Broken
Message-ID:  <48B837DB.1000903@miralink.com>
In-Reply-To: <3c0b01820808290951s6a3a8ebuf6ea501308ed91c3@mail.gmail.com>
References:  <48B6E19A.7050603@miralink.com>	 <3c0b01820808281059k3c33e352g6be72f02817e8e6a@mail.gmail.com>	 <48B6EF1A.1040805@miralink.com> <3c0b01820808290951s6a3a8ebuf6ea501308ed91c3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Sack wrote:
> On Thu, Aug 28, 2008 at 2:31 PM, Sean Bruno <sbruno@miralink.com> wrote:
>   
>> Alexander Sack wrote:
>>     
>>> On Thu, Aug 28, 2008 at 1:34 PM, Sean Bruno <sbruno@miralink.com> 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




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