Re: Kernel v4.16 / v4.17 SRP and SRPT patches

Bart Van Assche
2018-01-11T21:15:42Z

On Thu, 2018-01-11 at 15:43 -0500, Laurence Oberman wrote:
> Server log
> ----------
> Linux fedstorage.bos.redhat.com 4.15.0-rc7.bart+ #1 SMP Thu Jan 11
> 14:17:33 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
> [root@fedstorage ~]# [ 533.405291] IPv6: ADDRCONF(NETDEV_CHANGE): ib0: link becomes ready
> [ 533.442884] IPv6: ADDRCONF(NETDEV_CHANGE): ib1: link becomes ready
> [ 540.024438] ib_srpt Received SRP_LOGIN_REQ with i_port_id 7cfe:9003:0072:6e4e:7cfe:9003:0072:6ed2, t_port_id 7cfe:9003:0072:6e4e:7cfe:9003:0072:6e4e and it_iu_len 2116 on port 1
> (guid=fe80:0000:0000:0000:7cfe:9003:0072:6e4e); pkey 0xffff
> [ 540.141464] ib_srpt failed to create queue pair with sq_size = 16384 (-12) - retrying
> [ 540.186159] ib_srpt failed to create queue pair with sq_size = 8192 (-12) - retrying
> [ 540.231794] ib_srpt Rejected login for initiator 7cfe:9003:0072:6ed2: ret = -13.
> [ 540.274077] ib_srpt Rejecting login with reason 0x10006

Hello Laurence,

I think that means that no ACL was configured on the target side for
initiator port 7cfe:9003:0072:6ed2. Can you provide the output of
(cd /sys/kernel/config/target/srpt && ls -d */*/acls/*)?

Thanks,

Bart.