* RE: [ANNOUNCE] MPT Fusion driver 3.02.06 update
@ 2004-10-26 17:03 Moore, Eric Dean
2004-10-26 17:15 ` Christoph Hellwig
0 siblings, 1 reply; 11+ messages in thread
From: Moore, Eric Dean @ 2004-10-26 17:03 UTC (permalink / raw)
To: Christoph Hellwig, jeremy; +Cc: linux-scsi
> > This code code is ifdef'd with CPQ_CIM. We currently have
> this is enabled
> > in the fusion Makefile. Instead would it be possible to
> have this disabled
> > for inclusion
> > in the kernel? Applications are in place now used by
> several customers
> > using this
> > interface, and it would be difficult to have this remove at
> this stage, as
> > our
> > customers are so close to shipment of product.
>
> This code isn't acceptable for kernel inclusion at all, dito for the
> hooks it needs (e.g. the sas device list)
>
We have to ship with these IOCTLS. Are there any compromise?
Sounds like you shot down my backup idea; e.g putting this code into
seperate file which isn't provided for inclusion, but can be recompiled
to link into mptctl? I don't think we time to pursue your the idea of
re-invent everything into the sas-transport layer.
> > > please don't put this under all kinds of ifdefs, also it's
> > > not working with
> > > current mainline anymore anyway.
> >
> > I don't know what you mean. The fc_transport stuff was
> just added two weeks
> > ago. This was added by request of Jeremy Higdon. This reports
> > the port_id, port_name, and node_name. This support is enabled in
> > the fusion Makefile by MPT_ENABLE_FC_TRANSPORT. Its
> currently disabled for
> > reason (1) the transport layer is only available after
> 2.6.6 kernel, and
> > we are supporting kernels older such as SUSE 9.1 and SLES9, (2)
> > we would not be able to build driver update disks due to
> the dependancy
> > of fc_transport.ko.
>
> But the policy is to keep such ifdefs out of kernel drivers. If SuSE
> wants current FC drivers backported they'll need to backpor the full
> transport attr infrastructure.
>
> Also as I mentioned this code doesn't compile on 2.6.10-rc at all.
>
Jeremy Higdon asked me to add this, not SuSE.
We provide pre-built drivers to customers that ship Suse on
their servers, and having fc attributes enabled in the driver
means the driver fail's to compile in the older versions of the
kernel.
The failures to compiled in 2.6.10-rc is due to someone changing
the defines in scsi_transport_fc.h.
2.6.9 2.6.10-rc
--------- ---------
fc_port_id fc_starget_port_id
fc_node_name fc_starget_node_name
fc_port_name fc_starget_port_name
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ANNOUNCE] MPT Fusion driver 3.02.06 update
2004-10-26 17:03 [ANNOUNCE] MPT Fusion driver 3.02.06 update Moore, Eric Dean
@ 2004-10-26 17:15 ` Christoph Hellwig
2004-10-26 20:29 ` Jeremy Higdon
0 siblings, 1 reply; 11+ messages in thread
From: Christoph Hellwig @ 2004-10-26 17:15 UTC (permalink / raw)
To: Moore, Eric Dean; +Cc: Christoph Hellwig, jeremy, linux-scsi
> > hooks it needs (e.g. the sas device list)
> >
>
> We have to ship with these IOCTLS. Are there any compromise?
> Sounds like you shot down my backup idea; e.g putting this code into
> seperate file which isn't provided for inclusion, but can be recompiled
> to link into mptctl? I don't think we time to pursue your the idea of
> re-invent everything into the sas-transport layer.
No way. This is similar to the hbaapi situation with qlogic and emulex.
If you had worked with us early on on an API like I told you multiple times
we'd have something sane now.
Btw, what part of HP badly wants this? I'm sure Grant and Matthew
could explain them internally what a bad idea this is.
>
> Jeremy Higdon asked me to add this, not SuSE.
Jeremy, can you make sure SuSE has an uptodate transport attribute
implementation ?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ANNOUNCE] MPT Fusion driver 3.02.06 update
2004-10-26 17:15 ` Christoph Hellwig
@ 2004-10-26 20:29 ` Jeremy Higdon
0 siblings, 0 replies; 11+ messages in thread
From: Jeremy Higdon @ 2004-10-26 20:29 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Moore, Eric Dean, linux-scsi
On Tue, Oct 26, 2004 at 06:15:25PM +0100, Christoph Hellwig wrote:
> > > hooks it needs (e.g. the sas device list)
> > >
> >
> > We have to ship with these IOCTLS. Are there any compromise?
> > Sounds like you shot down my backup idea; e.g putting this code into
> > seperate file which isn't provided for inclusion, but can be recompiled
> > to link into mptctl? I don't think we time to pursue your the idea of
> > re-invent everything into the sas-transport layer.
>
> No way. This is similar to the hbaapi situation with qlogic and emulex.
> If you had worked with us early on on an API like I told you multiple times
> we'd have something sane now.
>
> Btw, what part of HP badly wants this? I'm sure Grant and Matthew
> could explain them internally what a bad idea this is.
>
> >
> > Jeremy Higdon asked me to add this, not SuSE.
>
> Jeremy, can you make sure SuSE has an uptodate transport attribute
> implementation ?
I doubt it. It was recently updated from the 2.6.5 to 2.6.9 version,
and I don't think they'll be updating to the 2.6.10 version.
Eric, I guess you'll have to convert to the new 2.6.10 API. Once
it's in the tree, any API changes should be made for you. For the
drivers that you deliver (as opposed to the distribution), you can
just #ifdef it out, in much the same way that the drivers on Qlogic's
website have more #ifdefs.
It is annoying to have these API changes come in asynchronously. I
would have preferred something that didn't break backward compatibility,
but linking it to the target instead of the lun probably doesn't allow
that. Hopefully it will settle down a bit now.
jeremy
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: [ANNOUNCE] MPT Fusion driver 3.02.06 update
@ 2004-10-26 17:20 James.Smart
0 siblings, 0 replies; 11+ messages in thread
From: James.Smart @ 2004-10-26 17:20 UTC (permalink / raw)
To: Emoore, hch, jeremy; +Cc: linux-scsi
> The failures to compiled in 2.6.10-rc is due to someone changing
> the defines in scsi_transport_fc.h.
>
> 2.6.9 2.6.10-rc
> --------- ---------
> fc_port_id fc_starget_port_id
> fc_node_name fc_starget_node_name
> fc_port_name fc_starget_port_name
Then you haven't been paying attention to linux-scsi. As part of Emulex's desire to move upstream, and commonize FC information, the transport got corrected so that the 3 attributes are target based rather than sdev based. See the following patch (http://marc.theaimsgroup.com/?l=linux-scsi&m=109663907926965&w=2). This became part of 2.6.9-bk1/2.6.10-rc. Also - I've proposed more attributes to the host to better align with FC HBAAPI management infrastructures - see the following patches: http://marc.theaimsgroup.com/?l=linux-scsi&m=109776541400698&w=2; http://marc.theaimsgroup.com/?l=linux-scsi&m=109776541525816&w=2; http://marc.theaimsgroup.com/?l=linux-scsi&m=109813309907129&w=2.
There are still more attributes coming, as the target/remote port attributes get expanded. Now that I know you're support the FC transport, I'll involve you in the discussions.
-- James
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: [ANNOUNCE] MPT Fusion driver 3.02.06 update
@ 2004-10-26 16:02 Moore, Eric Dean
2004-10-26 16:08 ` Christoph Hellwig
0 siblings, 1 reply; 11+ messages in thread
From: Moore, Eric Dean @ 2004-10-26 16:02 UTC (permalink / raw)
To: Christoph Hellwig, jeremy; +Cc: linux-scsi
On Tuesday, October 26, 2004 4:38 AM, Christoph Hellwig wrote:
> On Mon, Oct 25, 2004 at 07:32:35PM -0400, Moore, Eric Dean wrote:
> > All,
> >
> > We are pleased to announce the MPT Fusion release candidate
> for lk 2.6
>
> Some things that come to mind immediately:
>
> >
> >
> > Highlights of this release:
> > · SAS Support - 1064, 1066, 1068
>
> there's still tons of ioc->chip_type checks for SPI vs FC vs SAS -
> please always use the new bus_type member
>
I will fix this.
>
> > · csmi ioctl support
>
> rejected, this ioctl interface is completely horrible, even worse than
> the fc hbaapi. Please help to provide a proper sas transport
> class similar
> to the fc one.
This code code is ifdef'd with CPQ_CIM. We currently have this is enabled
in the fusion Makefile. Instead would it be possible to have this disabled
for inclusion
in the kernel? Applications are in place now used by several customers
using this
interface, and it would be difficult to have this remove at this stage, as
our
customers are so close to shipment of product.
>
> > · fc_transport support
>
> please don't put this under all kinds of ifdefs, also it's
> not working with
> current mainline anymore anyway.
I don't know what you mean. The fc_transport stuff was just added two weeks
ago. This was added by request of Jeremy Higdon. This reports
the port_id, port_name, and node_name. This support is enabled in
the fusion Makefile by MPT_ENABLE_FC_TRANSPORT. Its currently disabled for
reason (1) the transport layer is only available after 2.6.6 kernel, and
we are supporting kernels older such as SUSE 9.1 and SLES9, (2)
we would not be able to build driver update disks due to the dependancy
of fc_transport.ko.
>
> Any reason there's no SPI transport attribute support, it's
> rather asymetric
> this way..
>
We are investigating into this, such as domain validation.
What other attributes do you suggest?
-
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] 11+ messages in thread
* Re: [ANNOUNCE] MPT Fusion driver 3.02.06 update
2004-10-26 16:02 Moore, Eric Dean
@ 2004-10-26 16:08 ` Christoph Hellwig
0 siblings, 0 replies; 11+ messages in thread
From: Christoph Hellwig @ 2004-10-26 16:08 UTC (permalink / raw)
To: Moore, Eric Dean; +Cc: Christoph Hellwig, jeremy, linux-scsi
> This code code is ifdef'd with CPQ_CIM. We currently have this is enabled
> in the fusion Makefile. Instead would it be possible to have this disabled
> for inclusion
> in the kernel? Applications are in place now used by several customers
> using this
> interface, and it would be difficult to have this remove at this stage, as
> our
> customers are so close to shipment of product.
This code isn't acceptable for kernel inclusion at all, dito for the
hooks it needs (e.g. the sas device list)
> > please don't put this under all kinds of ifdefs, also it's
> > not working with
> > current mainline anymore anyway.
>
> I don't know what you mean. The fc_transport stuff was just added two weeks
> ago. This was added by request of Jeremy Higdon. This reports
> the port_id, port_name, and node_name. This support is enabled in
> the fusion Makefile by MPT_ENABLE_FC_TRANSPORT. Its currently disabled for
> reason (1) the transport layer is only available after 2.6.6 kernel, and
> we are supporting kernels older such as SUSE 9.1 and SLES9, (2)
> we would not be able to build driver update disks due to the dependancy
> of fc_transport.ko.
But the policy is to keep such ifdefs out of kernel drivers. If SuSE
wants current FC drivers backported they'll need to backpor the full
transport attr infrastructure.
Also as I mentioned this code doesn't compile on 2.6.10-rc at all.
> > Any reason there's no SPI transport attribute support, it's
> > rather asymetric
> > this way..
> >
>
> We are investigating into this, such as domain validation.
> What other attributes do you suggest?
if possible all that are define, see include/scsi/scsi_transport_spi.h
in a current kernel.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [ANNOUNCE] MPT Fusion driver 3.02.06 update
@ 2004-10-25 23:32 Moore, Eric Dean
2004-10-26 8:09 ` Masao Fukuchi
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: Moore, Eric Dean @ 2004-10-25 23:32 UTC (permalink / raw)
To: linux-scsi
All,
We are pleased to announce the MPT Fusion release candidate for lk 2.6
Highlights of this release:
· SAS Support - 1064, 1066, 1068
· mpi headers v1.5.2
· csmi ioctl support
· MSI Support
· fc_transport support
· several patches incorporated from Christoph Hellwig
This patch applied against bk://linux-scsi.bkbits.net/scsi-misc-2.6
Here is a link to this patch:
ftp://ftp.lsil.com/HostAdapterDrivers/linux/Fusion-MPT/2.6-kernel/3.02.06/mp
tlinux-3.02.06.patch
Full source and release notes are also provided at link above.
Eric Moore
LSI Logic Corporation
-
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] 11+ messages in thread* Re: [ANNOUNCE] MPT Fusion driver 3.02.06 update
2004-10-25 23:32 Moore, Eric Dean
@ 2004-10-26 8:09 ` Masao Fukuchi
2004-10-26 8:20 ` Douglas Gilbert
` (2 subsequent siblings)
3 siblings, 0 replies; 11+ messages in thread
From: Masao Fukuchi @ 2004-10-26 8:09 UTC (permalink / raw)
To: Moore, Eric Dean; +Cc: linux-scsi
Hi Eric,
I installed Fusion MPT driver 3.02.06 into my tiger4(SR870BN4).
But I have some problems.
1.compile error
When I compiled your driver with kernel 2.6.9, compile operation
failed with error.
I checked mptbase.c(and mptbase.h) and found your code shows:
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,8))
pci_save_state(pdev);
#else
pci_save_state(pdev, ioc->PciState);
#endif
But pci_save_state() in kernel 2.6.9 has two parameters.
(I don't know which kernel version has 1 parameter)
2.startup sequence fail
I fixed above problem temporarily and compiled it.
The compile operation finished with no error.
Then I started Linux, but the startup sequence failed with
following error.
>mptbase: Initiating ioc0 bringup
>mptbase: ioc0: ERROR - Diagnostic reset FAILED! (142h)
>mptbase: ioc0 NOT READY WARNING!
>mptbase: WARNING - ioc0 did not initialize properly! (-1)
>mptbase: probe of 0000:04:02.0 failed with error -1
This message shows, IOC didn't become ready.
The LSI53C1030 on Tiger4 has no flash ROM, I think the cause
of the problem was fusion MPT driver didn' execute Firmware
Download Boot operation.
If you have any questions or comments, please let me know.
Thanks,
M.Fukuchi
Moore, Eric Dean wrote:
>All,
>
>We are pleased to announce the MPT Fusion release candidate for lk 2.6
>
>Highlights of this release:
>キ SAS Support - 1064, 1066, 1068
>キ mpi headers v1.5.2
>キ csmi ioctl support
>キ MSI Support
>キ fc_transport support
>キ several patches incorporated from Christoph Hellwig
>
>
>This patch applied against bk://linux-scsi.bkbits.net/scsi-misc-2.6
>
>Here is a link to this patch:
>ftp://ftp.lsil.com/HostAdapterDrivers/linux/Fusion-MPT/2.6-kernel/3.02.06/mp
>tlinux-3.02.06.patch
>
>
>Full source and release notes are also provided at link above.
>
>Eric Moore
>LSI Logic Corporation
>
>
>
>-
>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] 11+ messages in thread* Re: [ANNOUNCE] MPT Fusion driver 3.02.06 update
2004-10-25 23:32 Moore, Eric Dean
2004-10-26 8:09 ` Masao Fukuchi
@ 2004-10-26 8:20 ` Douglas Gilbert
2004-10-26 9:53 ` Christoph Hellwig
2004-10-26 10:38 ` Christoph Hellwig
3 siblings, 0 replies; 11+ messages in thread
From: Douglas Gilbert @ 2004-10-26 8:20 UTC (permalink / raw)
To: Moore, Eric Dean; +Cc: linux-scsi
Moore, Eric Dean wrote:
> All,
>
> We are pleased to announce the MPT Fusion release candidate for lk 2.6
>
> Highlights of this release:
> · SAS Support - 1064, 1066, 1068
Eric,
Perhaps this would be a good time to define a
generic sas_transport layer.
> · mpi headers v1.5.2
> · csmi ioctl support
> · MSI Support
> · fc_transport support
> · several patches incorporated from Christoph Hellwig
>
>
> This patch applied against bk://linux-scsi.bkbits.net/scsi-misc-2.6
>
> Here is a link to this patch:
> ftp://ftp.lsil.com/HostAdapterDrivers/linux/Fusion-MPT/2.6-kernel/3.02.06/mp
> tlinux-3.02.06.patch
>
>
> Full source and release notes are also provided at link above.
Doug Gilbert
-
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] 11+ messages in thread
* Re: [ANNOUNCE] MPT Fusion driver 3.02.06 update
2004-10-25 23:32 Moore, Eric Dean
2004-10-26 8:09 ` Masao Fukuchi
2004-10-26 8:20 ` Douglas Gilbert
@ 2004-10-26 9:53 ` Christoph Hellwig
2004-10-26 10:38 ` Christoph Hellwig
3 siblings, 0 replies; 11+ messages in thread
From: Christoph Hellwig @ 2004-10-26 9:53 UTC (permalink / raw)
To: Moore, Eric Dean; +Cc: linux-scsi
On Mon, Oct 25, 2004 at 07:32:35PM -0400, Moore, Eric Dean wrote:
> All,
>
> We are pleased to announce the MPT Fusion release candidate for lk 2.6
>
> Highlights of this release:
> · SAS Support - 1064, 1066, 1068
> · mpi headers v1.5.2
> · csmi ioctl support
> · MSI Support
> · fc_transport support
> · several patches incorporated from Christoph Hellwig
Care to split it into small and reviewable per-topic patches that we have been
asking driver writers to provide for a long time?
-
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] 11+ messages in thread
* Re: [ANNOUNCE] MPT Fusion driver 3.02.06 update
2004-10-25 23:32 Moore, Eric Dean
` (2 preceding siblings ...)
2004-10-26 9:53 ` Christoph Hellwig
@ 2004-10-26 10:38 ` Christoph Hellwig
3 siblings, 0 replies; 11+ messages in thread
From: Christoph Hellwig @ 2004-10-26 10:38 UTC (permalink / raw)
To: Moore, Eric Dean; +Cc: linux-scsi
On Mon, Oct 25, 2004 at 07:32:35PM -0400, Moore, Eric Dean wrote:
> All,
>
> We are pleased to announce the MPT Fusion release candidate for lk 2.6
Some things that come to mind immediately:
>
>
> Highlights of this release:
> · SAS Support - 1064, 1066, 1068
there's still tons of ioc->chip_type checks for SPI vs FC vs SAS -
please always use the new bus_type member
> · csmi ioctl support
rejected, this ioctl interface is completely horrible, even worse than
the fc hbaapi. Please help to provide a proper sas transport class similar
to the fc one.
> · fc_transport support
please don't put this under all kinds of ifdefs, also it's not working with
current mainline anymore anyway.
Any reason there's no SPI transport attribute support, it's rather asymetric
this way..
-
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] 11+ messages in thread
end of thread, other threads:[~2004-10-26 20:33 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-26 17:03 [ANNOUNCE] MPT Fusion driver 3.02.06 update Moore, Eric Dean
2004-10-26 17:15 ` Christoph Hellwig
2004-10-26 20:29 ` Jeremy Higdon
-- strict thread matches above, loose matches on Subject: below --
2004-10-26 17:20 James.Smart
2004-10-26 16:02 Moore, Eric Dean
2004-10-26 16:08 ` Christoph Hellwig
2004-10-25 23:32 Moore, Eric Dean
2004-10-26 8:09 ` Masao Fukuchi
2004-10-26 8:20 ` Douglas Gilbert
2004-10-26 9:53 ` Christoph Hellwig
2004-10-26 10:38 ` Christoph Hellwig
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).