[ewg] crash system when srp targets are loaded
Tziporet Koren
tziporet at mellanox.com
Thu Sep 13 11:51:42 PDT 2012
But we have backport system using compat module
Can you make SRP backports for RHEL 6.x?
Tziporet
-----Original Message-----
From: ewg-bounces at lists.openfabrics.org [mailto:ewg-bounces at lists.openfabrics.org] On Behalf Of Bart Van Assche
Sent: Sunday, September 09, 2012 11:18 AM
To: Rupert Dance
Cc: ewg at lists.openfabrics.org
Subject: Re: [ewg] crash system when srp targets are loaded
As far as I can see the ib_srp source code in OFED-3.5 is identical to what's present in the upstream Linux kernel 3.2. That means that the current OFED 3.5 ib_srp driver can't work on RHEL 6.x since the RHEL 6.x SCSI LLD API is different from the Linux kernel 3.2 SCSI LLD API.
A quote from the Linux kernel 3.2 include file <scsi/scsi_host.h>:
int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
A quote from the RHEL 6.3 include file <scsi/scsi_host.h>:
/*
* [ ... ]
* NOTE: The 'lockless' flag in the scsi_host_template indicates
* whether the host_lock should be held before calling this
* routine. Also, the lockless queuecommand, as implemented
* upstream has a different signature.
*/
int (* queuecommand)(struct scsi_cmnd *,
void (*done)(struct scsi_cmnd *)); [ ... ]
/*
* True if we are calling queuecommand without the
* host_lock held. LLDs may want to do this for
* performance reasons.
*/
unsigned lockless:1;
Bart.
On 09/09/12 04:36, Rupert Dance wrote:
> Hello,
>
> UNH-IOL has verified the same problem using SL 6.2 and SL 6.3. There
> have been two bugs filed in OFA Bugzilla:
>
> Bug 2374: http://bugs.openfabrics.org/bugzilla/show_bug.cgi?id=2374
>
> Bug 2378: http://bugs.openfabrics.org/bugzilla/show_bug.cgi?id=2378
>
> It is important to the industry and the end users that this be
> resolved before OFED 3.5 RC2 is released. We also have an OFA Interop
> debug event scheduled for a month from now that will depend on OFED
> 3.X
>
> Thank you,
>
> Rupert Dance
>
>
> -----Original Message-----
> From: ewg-bounces at lists.openfabrics.org
> [mailto:ewg-bounces at lists.openfabrics.org] On Behalf Of Shuichi Ihara
> Sent: Saturday, September 08, 2012 10:28 PM
> To: ewg at lists.openfabrics.org
> Subject: [ewg] crash system when srp targets are loaded
>
>
> Hi,
>
> I'm testing SRP initiator with OFED-3.5 (OFED-3.5-20120831-0600.tgz),
> but once SRP targets are loaded, system crashed. This is reproducable.
> I filed this problem on bugzilla a week ago and submitted backtrace
> logs as well.
> http://bugs.openfabrics.org/bugzilla/show_bug.cgi?id=2374
>
> Dose anyone have a look at it and advise please?
>
> Thanks
> Ihara
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>
_______________________________________________
ewg mailing list
ewg at lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
More information about the ewg
mailing list