Re: [PATCH 0/4] scsi: qla2xxx: Convert timers to use timer_setup()

From: Bart Van Assche
Date: Mon Nov 06 2017 - 23:30:57 EST


On Mon, 2017-11-06 at 19:58 +0000, Madhani, Himanshu wrote:
> On Nov 5, 2017, at 4:18 PM, Bart Van Assche <bart.vanassche@xxxxxxx> wrote:
> > The qla2xxx driver does not crash if apply these four patches on kernel
> > v4.14-rc8 and load the qla2xxx driver on my test setup. Point-to-point
> > mode seems broken again but I don't think that's related to this patch
> > series.
>
> What kind of errors you are seeing with Point-to-point mode. Iâll look at those
> and will submit fixes for it along with the other issues you have raised earlier.

Hello Himanshu,

The test I ran is as follows (this test passed in the past):
* Connect the two ports of a dual-port HBA to each other.
* Configure qemu such that it allows the guest VM to access the FC HBA on
the host.
* Start the VM and build the Linux kernel with debug options enabled.
* After having booted the debug kernel, restart LIO by running the
restart-lio-fc script (attached).
* After the script finished, run lsscsi. Several LIO LUNs should be shown.

The script should finish after a few seconds but with the latest kernel it
takes much longer and no LIO LUNs are shown in the lsscsi output.

Please let me know if you need more information.

Bart.

Attachment: restart-lio-fc
Description: restart-lio-fc

Attachment: tcm_node.sh
Description: tcm_node.sh