Kernel crash on usb-storage disconnect, multiqueue in use

2015-02-11 Thread Bruno Prémont
Hi, Since 3.19-rcX kernel crashes when I disconnect an external HDD drive (not sure since which kernel revision tough early 3.19-rcs possibly are not affected). To reproduce I do: - connect my disk - use disk with LUKS (luksOpen) - stop using disk (luksClose) - sdparm -C stop /dev/sgX(sg devi

Re: Kernel crash on usb-storage disconnect, multiqueue in use

2015-02-15 Thread Bruno Prémont
On Thu, 12 Feb 2015 07:56:47 +0100 Bart Van Assche wrote: > On 02/11/15 22:25, Bruno Prémont wrote: > > Since 3.19-rcX kernel crashes when I disconnect an external > > HDD drive (not sure since which kernel revision tough early > > 3.19-rcs possibly are not affected). > &

[Patch] Fix regression in 3.18 caused by e05fe29248 qla2xxx: Honor FCP_RSP retry delay timer field.

2014-12-19 Thread Bruno Prémont
complete during that whole time period. Looking at drivers/scsi/qla2xxx/qla_os.c, fcport->retry_delay_timestamp has a special value of 0 though that 0 value forces system to wait when jiffies is very large value (e.g. 4294952605 - "negative" value when signed on 32bit systems). Signed-

[PATCH] qla2xxx: Fix NULL pointer deref in QLA interrupt

2016-06-30 Thread Bruno Prémont
0fb:0: QLogic QLE2460 - PCI-Express Single Channel 4Gb Fibre Channel HBA. [3.894207] qla2xxx [:13:00.0]-00fc:0: ISP2432: PCIe (2.5GT/s x4) @ :13:00.0 hdma+ host#=0 fw=7.03.00 (9496). [5.714774] qla2xxx [:13:00.0]-500a:0: LOOP UP detected (4 Gbps). CC: Signed-off-by: Bruno Pr

Re: [PATCH] qla2xxx: Fix NULL pointer deref in QLA interrupt

2016-07-11 Thread Bruno Prémont
On Fri, 8 Jul 2016 09:27:18 +0200 Thorsten Leemhuis wrote: > Bruno Prémont wrote on 30.06.2016 17:00: > > In qla24xx_process_response_queue() rsp->msix->cpuid may trigger NULL > > pointer dereference when rsp->msix is NULL: > > […] > > The af

Re: [PATCH] qla2xxx: Fix NULL pointer deref in QLA interrupt

2016-07-11 Thread Bruno Prémont
On Mon, 11 Jul 2016 09:30:30 +0200 Thorsten Leemhuis wrote: > Bruno Prémont wrote on 11.07.2016 09:17: > > On Fri, 8 Jul 2016 09:27:18 +0200 Thorsten Leemhuis wrote: > >> Bruno Prémont wrote on 30.06.2016 17:00: > >> > In qla24xx_process_response_queue() rsp