* kernel: rejected SRP_LOGIN_REQ because creating a new RDMA channel failed.
@ 2012-04-18 9:07 Alexey Shvetsov
[not found] ` <105692b8ae6e4f11fae2848be32f88d7-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Alexey Shvetsov @ 2012-04-18 9:07 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Hi all!
Sometimes after srp initiator tryed to relogin to srpt in mainline
kernel i get the following error. After that no one can create new
seesion to srp target
Apr 18 13:04:01 store kernel: Received SRP_LOGIN_REQ with i_port_id
0x0:0x1e0bffff4c6dd9, t_port_id 0x1e0bffff4c7d38:0x1e0bffff4c7d38 and
it_iu_len 260 on port 1 (guid=0xfe80000000000000:0x1e0bffff4c7d39)
Apr 18 13:04:01 store kernel: mlx4_core 0000:4b:00.0: command 0x19
failed: fw status = 0x9
Apr 18 13:04:01 store kernel: rejected SRP_LOGIN_REQ because creating a
new RDMA channel failed.
--
Best Regards,
Alexey 'Alexxy' Shvetsov
Petersburg Nuclear Physics Institute, Russia
Department of Molecular and Radiation Biophysics
Gentoo Team Ru
Gentoo Linux Dev
mailto:alexxyum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
mailto:alexxy-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org
mailto:alexxy-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel: rejected SRP_LOGIN_REQ because creating a new RDMA channel failed.
[not found] ` <105692b8ae6e4f11fae2848be32f88d7-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
@ 2012-04-18 20:21 ` Roland Dreier
[not found] ` <CAL1RGDXCtfK8L_Gt2BWwYWKySMjMY6sS8eOzUJXe9S6UW9Qkkw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Roland Dreier @ 2012-04-18 20:21 UTC (permalink / raw)
To: Alexey Shvetsov, Bart Van Assche; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
On Wed, Apr 18, 2012 at 2:07 AM, Alexey Shvetsov <alexxy-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org> wrote:
> Apr 18 13:04:01 store kernel: mlx4_core 0000:4b:00.0: command 0x19 failed: fw status = 0x9
status 0x9 is:
/* Resource is not in the appropriate state or ownership: */
CMD_STAT_BAD_RES_STATE = 0x09,
Bart, I seem to remember you had tracked this down to a bug in the SRPT code?
- R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel: rejected SRP_LOGIN_REQ because creating a new RDMA channel failed.
[not found] ` <CAL1RGDXCtfK8L_Gt2BWwYWKySMjMY6sS8eOzUJXe9S6UW9Qkkw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-04-19 6:41 ` Bart Van Assche
0 siblings, 0 replies; 3+ messages in thread
From: Bart Van Assche @ 2012-04-19 6:41 UTC (permalink / raw)
To: Roland Dreier; +Cc: Alexey Shvetsov, linux-rdma-u79uwXL29TY76Z2rM5mHXA
On 04/18/12 20:21, Roland Dreier wrote:
> On Wed, Apr 18, 2012 at 2:07 AM, Alexey Shvetsov <alexxy-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org> wrote:
>> Apr 18 13:04:01 store kernel: mlx4_core 0000:4b:00.0: command 0x19 failed: fw status = 0x9
>
> status 0x9 is:
>
> /* Resource is not in the appropriate state or ownership: */
> CMD_STAT_BAD_RES_STATE = 0x09,
>
> Bart, I seem to remember you had tracked this down to a bug in the SRPT code?
ib_destroy_cm_id() must be invoked before srpt_destroy_ch_ib() otherwise
srpt_ch_qp_err() can get invoked after a QP has already been freed and
reused. The patch that fixes this issue for the SCST version of ib_srpt
can be found here:
http://scst.svn.sourceforge.net/viewvc/scst?view=revision&revision=4139.
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-19 6:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-18 9:07 kernel: rejected SRP_LOGIN_REQ because creating a new RDMA channel failed Alexey Shvetsov
[not found] ` <105692b8ae6e4f11fae2848be32f88d7-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-18 20:21 ` Roland Dreier
[not found] ` <CAL1RGDXCtfK8L_Gt2BWwYWKySMjMY6sS8eOzUJXe9S6UW9Qkkw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-19 6:41 ` Bart Van Assche
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox