nvme-fabrics: crash at nvme connect-all

Ming Lin mlin at kernel.org
Fri Jun 10 13:00:20 PDT 2016

On Fri, Jun 10, 2016 at 12:17 PM, Steve Wise
<swise at opengridcomputing.com> wrote:
>> I can reproduce this and below patch fixed it.
>> [PATCH] nvme-rdma: correctly stop keep alive on error path
>> http://lists.infradead.org/pipermail/linux-nvme/2016-June/004931.html
>> Could you also give it a try and see if it helps for the crash you saw?
> I applied your patch and it does avoid the crash.  So the connect to the target
> device via cxgb4 that I setup to fail in ib_alloc_mr(), correctly fails w/o
> crashing.   After this connect failure, I tried to connect the same target
> device but via another rdma path (mlx4 instead of cxgb4 which was setup to fail)
> and got a different failure.  Not sure if this is a regression from your fix or
> just another error path problem:
> BUG: unable to handle kernel paging request at ffff881027d00e00
> IP: [<ffffffffa04c5a49>] nvmf_parse_options+0x369/0x4a0 [nvme_fabrics]

Could you find out which line of code this is?

More information about the Linux-nvme mailing list