JMicron JMB363 PCI SATA/IDE Card Support

2013-06-19 Thread Matthias Prager
Hello everyone, I'm having a hard time getting my JMicron JMB363 PCI SATA/IDE Card to work under linux. The 'lspci -nn' output reads as follows: RAID bus controller [0104]: JMicron Technology Corp. JMB363 SATA/IDE Controller [197b:2363] (rev 03) I tried my own kernel (3.9.6) under gentoo with

RE: [PATCH 07/14] scsi_transport_srp: Add transport layer error handling

2013-06-19 Thread Jack Wang
+ /* + * It can occur that after fast_io_fail_tmo expired and before + * dev_loss_tmo expired that the SCSI error handler has + * offlined one or more devices. scsi_target_unblock() doesn't + * change the state of these devices

Re: [PATCH 07/14] scsi_transport_srp: Add transport layer error handling

2013-06-19 Thread Bart Van Assche
On 06/19/13 15:44, Jack Wang wrote: + /* +* It can occur that after fast_io_fail_tmo expired and before +* dev_loss_tmo expired that the SCSI error handler has +* offlined one or more devices. scsi_target_unblock() doesn't +

[PATCH v3 4/6] [SCSI] Generate uevents for certain Unit Attention codes

2013-06-19 Thread Ewan D. Milne
From: Ewan D. Milne emi...@redhat.com Generate a uevent on the scsi_target object when the following Unit Attention ASC/ASCQ code is received: 3F/0E REPORTED LUNS DATA HAS CHANGED Generate a uevent on the scsi_device object when the following Unit Attention ASC/ASCQ codes are received:

[PATCH v3 1/6] [SCSI] Add a kernel config option for enhanced Unit Attention support

2013-06-19 Thread Ewan D. Milne
From: Ewan D. Milne emi...@redhat.com Added CONFIG_SCSI_ENHANCED_UA kernel config option to enable changes in the SCSI mid-layer which detect and report certain Unit Attention conditions reported by devices. These changes are primarily useful when storage arrays that can be reconfigured are

[PATCH v3 0/6] [SCSI] Enhanced sense and Unit Attention handling

2013-06-19 Thread Ewan D. Milne
From: Ewan D. Milne emi...@redhat.com This patch set adds changes to the SCSI mid-layer, sysfs and scsi_debug to provide enhanced support for Unit Attention conditions, as well as detection of a unit attention queue overflow condition and the ability for drivers to report sense data outside of

[PATCH v3 3/6] [SCSI] Add support for scsi_target events

2013-06-19 Thread Ewan D. Milne
From: Ewan D. Milne emi...@redhat.com Added capability to generate uevents on scsi_target objects. Signed-off-by: Ewan D. Milne emi...@redhat.com --- drivers/scsi/scsi_lib.c| 135 + drivers/scsi/scsi_priv.h | 3 + drivers/scsi/scsi_scan.c |

Re: [PATCH v3 3/6] [SCSI] Add support for scsi_target events

2013-06-19 Thread Bart Van Assche
On 06/19/13 19:42, Ewan D. Milne wrote: +static void starget_evt_emit(struct scsi_target *starget, +struct starget_event *evt) +{ + int idx = 0; + char *envp[3]; + + switch (evt-evt_type) { + case STARGET_EVT_LUN_CHANGE_REPORTED: +

[Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves

2013-06-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=59601 --- Comment #5 from Saurav Kashyap saurav.kash...@qlogic.com 2013-06-19 18:29:46 --- Hi Jack, I am seeing FCP I/O protocol failure (0x8/0x2) messages in the failed logs. We need more data on what is coming back to the driver. I am attaching

[Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves

2013-06-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=59601 --- Comment #6 from Saurav Kashyap saurav.kash...@qlogic.com 2013-06-19 18:31:38 --- Created an attachment (id=105401) -- (https://bugzilla.kernel.org/attachment.cgi?id=105401) Patch for dumping the incoming packet to the driver. Apply

Re: [PATCH v3 1/6] [SCSI] Add a kernel config option for enhanced Unit Attention support

2013-06-19 Thread James Bottomley
On Wed, 2013-06-19 at 13:42 -0400, Ewan D. Milne wrote: From: Ewan D. Milne emi...@redhat.com Added CONFIG_SCSI_ENHANCED_UA kernel config option to enable changes in the SCSI mid-layer which detect and report certain Unit Attention conditions reported by devices. These changes are primarily

Re: [PATCH v3 2/6] [SCSI] Rename scsi_evt_xxx to sdev_evt_xxx and scsi_event to sdev_event

2013-06-19 Thread James Bottomley
On Wed, 2013-06-19 at 13:42 -0400, Ewan D. Milne wrote: From: Ewan D. Milne emi...@redhat.com The names of the struct and some of the functions for scsi_device events are too generic and do not match the comments in the source. Changed all of the names to begin with sdev_ in order to avoid

Re: [PATCH v3 4/6] [SCSI] Generate uevents for certain Unit Attention codes

2013-06-19 Thread James Bottomley
On Wed, 2013-06-19 at 13:42 -0400, Ewan D. Milne wrote: From: Ewan D. Milne emi...@redhat.com Generate a uevent on the scsi_target object when the following Unit Attention ASC/ASCQ code is received: 3F/0E REPORTED LUNS DATA HAS CHANGED Generate a uevent on the scsi_device object

Re: [PATCH v3 3/6] [SCSI] Add support for scsi_target events

2013-06-19 Thread Ewan Milne
On Wed, 2013-06-19 at 19:54 +0200, Bart Van Assche wrote: On 06/19/13 19:42, Ewan D. Milne wrote: +static void starget_evt_emit(struct scsi_target *starget, +struct starget_event *evt) +{ + int idx = 0; + char *envp[3]; + + switch (evt-evt_type) { +

Re: [PATCH v3 1/6] [SCSI] Add a kernel config option for enhanced Unit Attention support

2013-06-19 Thread Ewan Milne
On Wed, 2013-06-19 at 18:35 +, James Bottomley wrote: On Wed, 2013-06-19 at 13:42 -0400, Ewan D. Milne wrote: From: Ewan D. Milne emi...@redhat.com Added CONFIG_SCSI_ENHANCED_UA kernel config option to enable changes in the SCSI mid-layer which detect and report certain Unit