Re: [ewg] [GIT PULL compat-rdma] qib for OFED 4.8

2017-06-19 Thread Hanania, Amir
I updated the bug with the below comment:

I'm not sure if this ib_srp-backport patch is related, but it worth to take a 
look.

IB/srp: Improve an error path
Avoid that the following message is printed if login fails: scsi host0: ib_srp: 
Sending CM DREQ failed



https://github.com/bvanassche/ib_srp-backport/commit/75c59cb20e6b7d20948f5a7b5e4fd92bd7436a60


From: Davis, Arlin R
Sent: Monday, June 19, 2017 2:21 PM
To: Marty Schlining ; Woodruff, Robert J 
; RSD@SFI ; 'Vladimir 
Sokolovsky' 
Cc: bart.vanass...@gmail.com; ewg@lists.openfabrics.org; Cedric Fernandes 
; Mike Davis ; Hanania, Amir 

Subject: RE: [ewg] [GIT PULL compat-rdma] qib for OFED 4.8

Ok, so it’s safe to say we are missing some bug fixes after kernel.org 4.8.

+Amir, to help isolate and validate.


From: Marty Schlining [mailto:mschlin...@ddn.com]
Sent: Monday, June 19, 2017 1:40 PM
To: Davis, Arlin R mailto:arlin.r.da...@intel.com>>; 
Woodruff, Robert J 
mailto:robert.j.woodr...@intel.com>>; RSD@SFI 
mailto:rsda...@soft-forge.com>>; 'Vladimir Sokolovsky' 
mailto:v...@dev.mellanox.co.il>>
Cc: bart.vanass...@gmail.com<mailto:bart.vanass...@gmail.com>; 
ewg@lists.openfabrics.org<mailto:ewg@lists.openfabrics.org>; Cedric Fernandes 
mailto:cfernan...@ddn.com>>; Mike Davis 
mailto:mda...@ddn.com>>
Subject: RE: [ewg] [GIT PULL compat-rdma] qib for OFED 4.8

The upstream test was for Bug 2631, SRP Reject Issue. The Base OS was SL 7.3 
(not SL 7.2) w/ OFED 4.8-rc4 and the ib_srp_backport_4_11. That combination 
worked properly.

From: Davis, Arlin R [mailto:arlin.r.da...@intel.com]
Sent: Monday, June 19, 2017 4:35 PM
To: Marty Schlining mailto:mschlin...@ddn.com>>; Woodruff, 
Robert J mailto:robert.j.woodr...@intel.com>>; 
RSD@SFI mailto:rsda...@soft-forge.com>>; 'Vladimir 
Sokolovsky' mailto:v...@dev.mellanox.co.il>>
Cc: bart.vanass...@gmail.com<mailto:bart.vanass...@gmail.com>; 
ewg@lists.openfabrics.org<mailto:ewg@lists.openfabrics.org>; Cedric Fernandes 
mailto:cfernan...@ddn.com>>; Mike Davis 
mailto:mda...@ddn.com>>
Subject: RE: [ewg] [GIT PULL compat-rdma] qib for OFED 4.8

I tested SL 7.2 with OFED 4.8-rc4. Scanning SRP targets yielded the following 
response:

Ok, so this is a kernel.org 4.8 base SRP driver backported to 3.10.
Can someone tell me if the same problem exists with upstream SRP driver in 
kernel 4.8?
This will tell me if it is an OFED 4.8 backport issue or if it is a kernel 
4.8 SRP driver issue.

ib_srp: Sending CM DREQ failed and the SRP targets were never scanned. (See Bug 
2632. http://bugs.openfabrics.org/show_bug.cgi?id=2632)

I attempted to use Bart Van Assche’s ib_srp_backport driver on top of SL 7.2 
and OFED 4.8-rc4 according to his instructions. The ib_srp_backport driver 
failed to compile (see attached text file). The ib_srp_backport driver will not 
compile with OFED 4.8-rc4 installed. I was able to uninstall OFED 4.8-rc4, then 
compile the driver. However, when OFED 4.8-rc4 was reinstalled, the 
ib_srp_backport driver was not compatible.

Ok, I think I understand.
This is the upstream test that you said passed? A SL 
7.2+infiniband+ib_srp_backport_from_4.11?
Correct?

   -arlin

That’s all of the testing , so far.

-Marty

From: Davis, Arlin R [mailto:arlin.r.da...@intel.com]
Sent: Monday, June 19, 2017 4:02 PM
To: Marty Schlining mailto:mschlin...@ddn.com>>; Woodruff, 
Robert J mailto:robert.j.woodr...@intel.com>>; 
RSD@SFI mailto:rsda...@soft-forge.com>>; 'Vladimir 
Sokolovsky' mailto:v...@dev.mellanox.co.il>>
Cc: bart.vanass...@gmail.com<mailto:bart.vanass...@gmail.com>; 
ewg@lists.openfabrics.org<mailto:ewg@lists.openfabrics.org>; Cedric Fernandes 
mailto:cfernan...@ddn.com>>; Mike Davis 
mailto:mda...@ddn.com>>
Subject: RE: [ewg] [GIT PULL compat-rdma] qib for OFED 4.8

Sorry, I am still trying to understand what is working and what is needed to 
fix this for OFED 4.8.

When you said you tested the upstream kernel, was it SL 7.2 kernel plus the 
backports from Bart’s 4.11 drop? Do you need the 4.11 kernel base driver set 
for SRP to work properly?

-arlin

From: Marty Schlining [mailto:mschlin...@ddn.com]
Sent: Monday, June 19, 2017 9:42 AM
To: Davis, Arlin R mailto:arlin.r.da...@intel.com>>; 
Woodruff, Robert J 
mailto:robert.j.woodr...@intel.com>>; RSD@SFI 
mailto:rsda...@soft-forge.com>>; 'Vladimir Sokolovsky' 
mailto:v...@dev.mellanox.co.il>>
Cc: bart.vanass...@gmail.com<mailto:bart.vanass...@gmail.com>; 
ewg@lists.openfabrics.org<mailto:ewg@lists.openfabrics.org>; Cedric Fernandes 
mailto:cfernan...@ddn.com>>; Mike Davis 
mailto:mda...@ddn.com>>
Subject: RE: [ewg] [GIT PULL compat-rdma] qib for OFED 4.8

No upstream kernel. SL 7.2 (3.10.0-327.el7.x86_64), OFED-4.8-rc4. Was unable to 
build the backport ib_srp backport driver on thi

[ewg] OFED 3.12 SRP client compatibility for RHEL 6.5

2013-12-06 Thread Hanania, Amir
Hello,

I had a need to run ofed 3.12 SRP client on RHEL 6.5.
So, I fixed:

1. Compilation issue when SRP option is set. (scsi_target_unblock)

2. Crashing issue when I first tried to use it. (srp_queuecommand)

It is now running on my RHEL 6.5 system. Please see attached patch.

My question is what is the way to make this patch part of the official 
OFED-3.12 release ?

Thanks in advance,
-Amir


Notes:
I started with the 3.12 daily release OFED-3.12-2013-0809
Used the compat-rdma-3.12-2013.0.2013.0809.ge43341f.src.rpm to get 
compat-rdma-3.12



ofed_3_12_srp_compat_for_rhel6_5.patch
Description: ofed_3_12_srp_compat_for_rhel6_5.patch
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg