linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Scst-devel] Problems with SCST and QLA 2432 FC Cards
       [not found] <88044fc70705171348l64913b26r742718986632f3ca@mail.gmail.com>
@ 2007-05-18  7:06 ` Vladislav Bolkhovitin
  2007-05-18 14:28   ` Matthew Jacob
       [not found]   ` <88044fc70705180721x7d8ac7efvd4f8d716470d93be@mail.gmail.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Vladislav Bolkhovitin @ 2007-05-18  7:06 UTC (permalink / raw)
  To: sandip shete; +Cc: scst-devel, andrew.vasquez, linux-scsi

sandip shete wrote:
> Hi,
> 
> I am working with the SCST 0.9.4 version on linux-2.6.15 with the
> linux-2.6-qla2xxx-target.patch patch applied.
> I was using a QLA2312 card on this setup and things were just fine when
> i used this system as a Target.
> 
> Now I have switched to a qla2432 card and even though i do enable
> "Target Mode" (echo "1" >
> /sys/class/scsi_host/host../target_mode_enabled) on the corresponding
> port, this port fails to work as a target, and none of the Fileio Luns
> are exported to the initiator.
> Also, on the initiator side the "/sys/class/fc_remote_port/..../role"
> file should show as "FC Target", which it used to with QLA 2312, but
> with QLA 2432 the initiator side shows the role of the remote port as
> "FC Initiator"
> 
> The initiator has 2312 cards and 2.6.15 kernel compiled on it.
> 
> Also note that, i have the corresponding ql2400_fw.bin firmware binary
> at the right location and it gets loaded when i load the modules.
> To check if the qla2432 card was working fine, i connected this to a
> different 2312 based target system and had it work as a Initiator, this
> worked fine and i could see all the luns exported on this box.
> 
> Now the only problem that i can think of in target mode is, maybe, scst
> doesn't support the qla 24xx series.

Yes, that's correct. Unfortunately, 24xx+ series are not supported yet.

> But i fail to see any part of the code pointing towards that.

You can see in the README for the driver that only 22xx and 23xx series 
are currently supported.

> When i  did some debugging on the initiator side i see that the
> "qla2x00_get_port_database" does return the status
> of the remote port as FCT_INITIATOR, i couldn't actually figure out the
> code wherein the target returns the response to these mbox_commands. I
> was wondering if SCST plays a part here and sends a different response
> when 24xx cards are used.

Unfortunately, 24xx+ cards have very different interface, so add support 
for them is almost the same as write another driver.

> I saw some posts regarding the problems that people were facing with qla24xx
> series. If this has been fixed in a different verison of Linux/SCST 
> that what i am using, please let me know.
> 
> Thanks and Regards.
> Sandip S

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Scst-devel] Problems with SCST and QLA 2432 FC Cards
  2007-05-18  7:06 ` [Scst-devel] Problems with SCST and QLA 2432 FC Cards Vladislav Bolkhovitin
@ 2007-05-18 14:28   ` Matthew Jacob
       [not found]   ` <88044fc70705180721x7d8ac7efvd4f8d716470d93be@mail.gmail.com>
  1 sibling, 0 replies; 8+ messages in thread
From: Matthew Jacob @ 2007-05-18 14:28 UTC (permalink / raw)
  To: Vladislav Bolkhovitin
  Cc: sandip shete, scst-devel, andrew.vasquez, linux-scsi

>
> Unfortunately, 24xx+ cards have very different interface, so add support
> for them is almost the same as write another driver.

 Not completely- but close. Feel free to grab

ftp://ftp.feral.com/pub/isp/isp_dist.tgz

as an example for code to add to scst.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Scst-devel] Problems with SCST and QLA 2432 FC Cards
       [not found]   ` <88044fc70705180721x7d8ac7efvd4f8d716470d93be@mail.gmail.com>
@ 2007-05-18 15:09     ` Vladislav Bolkhovitin
  0 siblings, 0 replies; 8+ messages in thread
From: Vladislav Bolkhovitin @ 2007-05-18 15:09 UTC (permalink / raw)
  To: sandip shete; +Cc: scst-devel, andrew.vasquez, linux-scsi

sandip shete wrote:
> Hi,
> 
> I wish to develop support for QLA 24xx series. If you already have a 
> partial implementaion of the same, i would like to take it forward.
> And if there isn't, i would appreciate if you could give me some 
> pointers in that direction.

Most probably, the driver by link sent by Matthew Jacob will be a good 
starting point, where you can see examples how to work with the card, so 
you can add it to the qla2x00t driver. Also you will need a manual the 
firmware interface specification for 2400 series of the cards. It is 
under NDA, but you maybe lucky to get one from QLogic. Feel free to ask 
me any SCST or qla2x00t driver related questions.

> I have adequate experience of programming in the SCSI domain, however i 
> am not much conversant with the QLA driver code.
> 
> Thanks and Regards,
> Sandip S

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Scst-devel] Problems with SCST and QLA 2432 FC Cards
@ 2007-05-18 16:00 Johan Kragsterman
  2007-05-18 17:00 ` Matthew Jacob
  2007-05-19  1:52 ` Andrew Vasquez
  0 siblings, 2 replies; 8+ messages in thread
From: Johan Kragsterman @ 2007-05-18 16:00 UTC (permalink / raw)
  To: Vladislav Bolkhovitin, sandip shete
  Cc: scst-devel, andrew.vasquez, linux-scsi

Hi, all!

>Vladislav Bolkhovitin <vst@vlnb.net> Skrev: 
>

sandip shete wrote:
>> Hi,
>> 
>> I wish to develop support for QLA 24xx series. If you already have a 
>> partial implementaion of the same, i would like to take it forward.
>> And if there isn't, i would appreciate if you could give me some 
>> pointers in that direction.
>
>Most probably, the driver by link sent by Matthew Jacob will be a good 
>starting point, where you can see examples how to work with the card, so 
>you can add it to the qla2x00t driver. Also you will need a manual the 
>firmware interface specification for 2400 series of the cards. It is 
>under NDA, but you maybe lucky to get one from QLogic. Feel free to ask 
>me any SCST or qla2x00t driver related questions.
>
>> I have adequate experience of programming in the SCSI domain, however i 
>> am not much conversant with the QLA driver code.

That´s a very nice initiativ! Though I believe the most important target
driver to develope is one for a PCI-Express HBA. I believe QLA24xx stands
for PCI-X, doesn´t it? And the PCI-Express HBA is called QLE-something? But
maybe with this driver we will come closer to a PCI-Express HBA target
driver?

Rgrds Johan



>> 
>> Thanks and Regards,
>> Sandip S
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Scst-devel mailing list
>Scst-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/scst-devel
>
>


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Scst-devel] Problems with SCST and QLA 2432 FC Cards
  2007-05-18 16:00 Johan Kragsterman
@ 2007-05-18 17:00 ` Matthew Jacob
  2007-05-19  1:52 ` Andrew Vasquez
  1 sibling, 0 replies; 8+ messages in thread
From: Matthew Jacob @ 2007-05-18 17:00 UTC (permalink / raw)
  To: Johan Kragsterman
  Cc: Vladislav Bolkhovitin, sandip shete, scst-devel, andrew.vasquez,
	linux-scsi

> That´s a very nice initiativ! Though I believe the most important target
> driver to develope is one for a PCI-Express HBA. I believe QLA24xx stands
> for PCI-X, doesn´t it? And the PCI-Express HBA is called QLE-something? But
> maybe with this driver we will come closer to a PCI-Express HBA target
> driver?
>

2422 -> PCI-X
2432 -> PCI-E
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Scst-devel] Problems with SCST and QLA 2432 FC Cards
  2007-05-18 16:00 Johan Kragsterman
  2007-05-18 17:00 ` Matthew Jacob
@ 2007-05-19  1:52 ` Andrew Vasquez
  1 sibling, 0 replies; 8+ messages in thread
From: Andrew Vasquez @ 2007-05-19  1:52 UTC (permalink / raw)
  To: Johan Kragsterman
  Cc: Vladislav Bolkhovitin, sandip shete, scst-devel, linux-scsi

On Fri, 18 May 2007, Johan Kragsterman wrote:

> >Most probably, the driver by link sent by Matthew Jacob will be a good 
> >starting point, where you can see examples how to work with the card, so 
> >you can add it to the qla2x00t driver. Also you will need a manual the 
> >firmware interface specification for 2400 series of the cards. It is 
> >under NDA, but you maybe lucky to get one from QLogic. Feel free to ask 
> >me any SCST or qla2x00t driver related questions.
> >
> >> I have adequate experience of programming in the SCSI domain, however i 
> >> am not much conversant with the QLA driver code.
> 
> That´s a very nice initiativ! Though I believe the most important target
> driver to develope is one for a PCI-Express HBA. I believe QLA24xx stands
> for PCI-X, doesn´t it? And the PCI-Express HBA is called QLE-something? But
> maybe with this driver we will come closer to a PCI-Express HBA target
> driver?

QLogic doesn't formally release target-mode drivers for their ISP
chips.  Matthew J. has done a great job at providing a community
available souce-base from which to draw ideas and code from.

Regards,
Andrew Vasquez
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Scst-devel] Problems with SCST and QLA 2432 FC Cards
@ 2007-05-19  4:57 Johan Kragsterman
  2007-05-20  3:55 ` Andrew Vasquez
  0 siblings, 1 reply; 8+ messages in thread
From: Johan Kragsterman @ 2007-05-19  4:57 UTC (permalink / raw)
  To: Andrew Vasquez, Johan Kragsterman
  Cc: Vladislav Bolkhovitin, sandip shete, scst-devel, linux-scsi



Andrew Vasquez <andrew.vasquez@qlogic.com> Skrev: 
>

On Fri, 18 May 2007, Johan Kragsterman wrote:
>
>> >Most probably, the driver by link sent by Matthew Jacob will be a good 
>> >starting point, where you can see examples how to work with the card, so
>
>> >you can add it to the qla2x00t driver. Also you will need a manual the 
>> >firmware interface specification for 2400 series of the cards. It is 
>> >under NDA, but you maybe lucky to get one from QLogic. Feel free to ask
>
>> >me any SCST or qla2x00t driver related questions.
>> >
>> >> I have adequate experience of programming in the SCSI domain, however
>i 
>> >> am not much conversant with the QLA driver code.
>> 
>> That´s a very nice initiativ! Though I believe the most important target
>> driver to develope is one for a PCI-Express HBA. I believe QLA24xx
>stands
>> for PCI-X, doesn´t it? And the PCI-Express HBA is called QLE-something?
>But
>> maybe with this driver we will come closer to a PCI-Express HBA target
>> driver?
>
>QLogic doesn't formally release target-mode drivers for their ISP
>chips.  Matthew J. has done a great job at providing a community
>available souce-base from which to draw ideas and code from.
>
>Regards,
>Andrew Vasquez
>
>
So, Andrew, do you officially represent Qlogic? If so, your point of view
here is interesting, since you seem to consider that: "Matthew J. has done a
great job at providing a community available souce-base from which to draw
ideas and code from".
 In what way is Qlogic interested in helping the community with providing
open firmware, drivers and tools?

 Rgrds Johan


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Scst-devel] Problems with SCST and QLA 2432 FC Cards
  2007-05-19  4:57 Johan Kragsterman
@ 2007-05-20  3:55 ` Andrew Vasquez
  0 siblings, 0 replies; 8+ messages in thread
From: Andrew Vasquez @ 2007-05-20  3:55 UTC (permalink / raw)
  To: Johan Kragsterman
  Cc: Vladislav Bolkhovitin, sandip shete, scst-devel, linux-scsi

On Sat, 19 May 2007, Johan Kragsterman wrote:

> Andrew Vasquez <andrew.vasquez@qlogic.com> Skrev: 
> >
> >QLogic doesn't formally release target-mode drivers for their ISP
> >chips.  Matthew J. has done a great job at providing a community
> >available souce-base from which to draw ideas and code from.
> >
> >Regards,
> >Andrew Vasquez
> >
> >
> So, Andrew, do you officially represent Qlogic? If so, your point of view
> here is interesting, since you seem to consider that: "Matthew J. has done a
> great job at providing a community available souce-base from which to draw
> ideas and code from".

Matthew's driver works on a variety of *nix platforms which QLogic
does not provide drivers for -- *BSD varients, etc.   He also has a
fine target-mode driver which others can reference.

>  In what way is Qlogic interested in helping the community with providing
> open firmware,

We've worked with various members of the open-source community to
address some of licensing issues.  At this stage we provide
firmware-blobs for all our ISPs under the (3 clause) BSD license:

	ftp://ftp.qlogic.com/outgoing/linux/firmware/

Firmware specifications are still tightly circulated.

> drivers and tools?

If there's some specific OS's and 'tools' you'd like to see more work
on from QLogic, then I can forward your request up-the-chain.

--
Andrew Vasquez

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-05-20  3:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <88044fc70705171348l64913b26r742718986632f3ca@mail.gmail.com>
2007-05-18  7:06 ` [Scst-devel] Problems with SCST and QLA 2432 FC Cards Vladislav Bolkhovitin
2007-05-18 14:28   ` Matthew Jacob
     [not found]   ` <88044fc70705180721x7d8ac7efvd4f8d716470d93be@mail.gmail.com>
2007-05-18 15:09     ` Vladislav Bolkhovitin
2007-05-18 16:00 Johan Kragsterman
2007-05-18 17:00 ` Matthew Jacob
2007-05-19  1:52 ` Andrew Vasquez
  -- strict thread matches above, loose matches on Subject: below --
2007-05-19  4:57 Johan Kragsterman
2007-05-20  3:55 ` Andrew Vasquez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).