On Fri, 2018-05-04 at 22:11 +0200, Paolo Valente wrote: > > Il giorno 30 mar 2018, alle ore 18:57, Bart Van Assche <bart.vanass > > che@xxxxxxx> ha scritto: > > > > On Fri, 2018-03-30 at 10:23 +0200, Paolo Valente wrote: > > > Still 4.16-rc1, being that the version for which you reported > > > this > > > issue in the first place. > > > > A vanilla v4.16-rc1 kernel is not sufficient to run the srp-test > > software > > since RDMA/CM support for the SRP target driver is missing from > > that kernel. > > That's why I asked you to use the for-next branch from my github > > repository > > in a previous e-mail. Anyway, since the necessary patches are now > > in > > linux-next, the srp-test software can also be run against linux- > > next. Here > > are the results that I obtained with label next-20180329 and the > > kernel > > config attached to your previous e-mail: > > > > # while ./srp-test/run_tests -c -d -r 10 -e bfq; do :; done > > > > BUG: unable to handle kernel NULL pointer dereference at > > 0000000000000200 > > PGD 0 P4D 0 > > Oops: 0002 [#1] SMP PTI > > Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.0.0- > > prebuilt.qemu-project.org 04/01/2014 > > RIP: 0010:rb_erase+0x284/0x380 > > Call Trace: > > <IRQ> > > elv_rb_del+0x24/0x30 > > bfq_remove_request+0x9a/0x2e0 [bfq] > > ? rcu_read_lock_sched_held+0x64/0x70 > > ? update_load_avg+0x72b/0x760 > > bfq_finish_requeue_request+0x2e1/0x3b0 [bfq] > > ? __lock_is_held+0x5a/0xa0 > > blk_mq_free_request+0x5f/0x1a0 > > blk_put_request+0x23/0x60 > > multipath_release_clone+0xe/0x10 > > dm_softirq_done+0xe3/0x270 > > __blk_mq_complete_request_remote+0x18/0x20 > > flush_smp_call_function_queue+0xa1/0x150 > > generic_smp_call_function_single_interrupt+0x13/0x30 > > smp_call_function_single_interrupt+0x4d/0x220 > > call_function_single_interrupt+0xf/0x20 > > </IRQ> > > > > Hi Bart, > I suspect my recent fix [1] might fix your failure too. > > Thanks, > Paolo > > [1] https://www.mail-archive.com/linux-kernel@xxxxxxxxxxxxxxx/msg1682 > 264.html > > > Bart. > > > > > > > > I was never able to reproduce Barts original issue using his tree and actual mlx5/cx4 hardware and ibsrp I enabled BFQ with no other special tuning for the moath and subpaths. I was waiting for him to come back from vacation to check with him. Thanks Laurence