Re: BUG: NULL pointer dereference at ib_uverbs_comp_handler+0x20

2017-08-01 Thread Logan Gunthorpe
On 01/08/17 01:29 PM, Jason Gunthorpe wrote: > On Tue, Aug 01, 2017 at 12:32:57PM -0600, Logan Gunthorpe wrote: >> Couldn't create rdma QP - Invalid argument >> Unable to create QP. >> Failed to create QP. > > Failing to create a QP makes me wonder if you have have this patch? > > Subject: [PA

Re: BUG: NULL pointer dereference at ib_uverbs_comp_handler+0x20

2017-08-01 Thread Jason Gunthorpe
On Tue, Aug 01, 2017 at 12:32:57PM -0600, Logan Gunthorpe wrote: > Couldn't create rdma QP - Invalid argument > Unable to create QP. > Failed to create QP. Failing to create a QP makes me wonder if you have have this patch? Subject: [PATCH v2 1/2] RDMA/uverbs: Fix the check for port number Th

Re: BUG: NULL pointer dereference at ib_uverbs_comp_handler+0x20

2017-08-01 Thread Logan Gunthorpe
Hey, On 01/08/17 06:30 AM, Potnuri Bharat Teja wrote: > Hi Logan, > Today I sent out a patch to address the issue. Please try it. > "[PATCH 1/1] RDMA/uverbs: Initialize cq_context appropriately" Thanks, as I mentioned in my other email this fixes the kernel panic on the T6 but doesn't solve all m

Re: BUG: NULL pointer dereference at ib_uverbs_comp_handler+0x20

2017-08-01 Thread Logan Gunthorpe
Hey, The patch Bharat provided fixes the kernel panic but RDMA in userspace still does not work at all. Reverting the commits I mentioned still fixes everything. To answer your questions: * I see the iwpm_register_pid message even when things are working so I don't think it's related. * All cli

Re: BUG: NULL pointer dereference at ib_uverbs_comp_handler+0x20

2017-08-01 Thread Potnuri Bharat Teja
On Tuesday, August 08/01/17, 2017 at 16:38:08 +0530, Matan Barak wrote: > On Fri, Jul 28, 2017 at 8:38 PM, Logan Gunthorpe wrote: > > Hi, > > > > My system has been failing with recent kernels (4.12.x and 4.13-rc2) > > with a NULL pointer dereference at the stack trace given at the end of > > this

Re: BUG: NULL pointer dereference at ib_uverbs_comp_handler+0x20

2017-08-01 Thread Matan Barak
On Fri, Jul 28, 2017 at 8:38 PM, Logan Gunthorpe wrote: > Hi, > > My system has been failing with recent kernels (4.12.x and 4.13-rc2) > with a NULL pointer dereference at the stack trace given at the end of > this email. This happens when simply running 'ib_write_bw -R ' > with a Chelsio T6 (cxgb

BUG: NULL pointer dereference at ib_uverbs_comp_handler+0x20

2017-07-28 Thread Logan Gunthorpe
Hi, My system has been failing with recent kernels (4.12.x and 4.13-rc2) with a NULL pointer dereference at the stack trace given at the end of this email. This happens when simply running 'ib_write_bw -R ' with a Chelsio T6 (cxgb4). I've bisected (log attached) to find the offending commit to be: