Re: uas - kernel panic on drive connection

2014-07-12 Thread Hans de Goede
Hi, On 07/12/2014 02:40 AM, Jonathan wrote: Hans, Sure enough, the enclosure worked flawlessly with uas on a machine with an Intel xhci controller (2012 MacBook Air running Linux with kernel 3.15.3). I look forward to learning your results with the Etron controller. Ok, that is good to

megaraid_sas: FW in FAULT state!!, how to get more debug output? [BKO63661]

2014-07-12 Thread Robin H. Johnson
TL;DR LSI2208 card faults out and does not bring up drives in Linux. In BIOS works fine. Driver has no debug interfaces visible in code for early startup. Hardware: Supermicro SSG-6027R-E1R12T http://www.supermicro.com/products/system/2U/6027/SSG-6027R-E1R12T.cfm Motherboard is X9DRH-7TF

ATTN::: PROPOSAL

2014-07-12 Thread ST CHANG
China Steel Corporation (CSAC), is in urgent need of a reputable company,/firm or individual to serve as our financial coordinator in Canada, America, Europe, Uk. It's a part time job and pays well. If you are interested in working with us please reply: stchang1...@safe-mail.net. Thank you

[PATCH V3 0/7] Drivers: scsi: storvsc: Bug fixes and improvements

2014-07-12 Thread K. Y. Srinivasan
In this patch set I have fixed a few bugs and implemented some enhancements. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org K. Y. Srinivasan (7): Drivers: scsi: storvsc: Change the limits to reflect the values on the host Drivers: scsi:

[PATCH V3 1/7] Drivers: scsi: storvsc: Change the limits to reflect the values on the host

2014-07-12 Thread K. Y. Srinivasan
Hyper-V hosts can support multiple targets and multiple channels and larger number of LUNs per target. Update the code to reflect this. With this patch we can correctly enumerate all the paths in a multi-path storage environment. In this version of the patch I have addressed comments from

[PATCH 6/7] drivers: scsi: storvsc: Set srb_flags in all cases

2014-07-12 Thread K. Y. Srinivasan
Correctly set SRB flags for all valid I/O directions. Some IHV drivers on the Windows host require this. The host validates the command and SRB flags prior to passing the command down to native driver stack. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org ---

[PATCH 7/7] drivers: scsi: storvsc: Correctly handle TEST_UNIT_READY failure

2014-07-12 Thread K. Y. Srinivasan
On some Windows hosts on FC SANs, TEST_UNIT_READY can return SRB_STATUS_ERROR. Correctly handle this. Note that there is sufficient sense information to support scsi error handling even in this case. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org

[PATCH V3 2/7] Drivers: scsi: storvsc: Set cmd_per_lun to reflect value supported by the Host

2014-07-12 Thread K. Y. Srinivasan
Set cmd_per_lun to reflect value supported by the Host. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c |2 +- 1 files changed, 1

[PATCH 5/7] Drivers: scsi: storvsc: Implement a timedout handler

2014-07-12 Thread K. Y. Srinivasan
On Azure, we have seen instances of unbounded I/O latencies. To deal with this issue, implement handler that can reset the timeout. Note that the host gaurantees that it will respond to each command that has been issued. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc:

[PATCH V3 4/7] Drivers: scsi: storvsc: Fix a bug in handling VMBUS protocol version

2014-07-12 Thread K. Y. Srinivasan
Based on the negotiated VMBUS protocol version, we adjust the size of the storage protocol messages. The two sizes we currently handle are pre-win8 and post-win8. In WS2012 R2, we are negotiating higher VMBUS protocol version than the win8 version. Make adjustments to correctly handle this. In

Re: [PATCH 6/8] Drivers: scsi: storvsc: Implement an abort handler

2014-07-12 Thread Richard Weinberger
On Thu, Jul 10, 2014 at 12:33 PM, Richard Weinberger richard.weinber...@gmail.com wrote: On Wed, Jul 9, 2014 at 8:51 PM, KY Srinivasan k...@microsoft.com wrote: -Original Message- From: Christoph Hellwig [mailto:h...@infradead.org] Sent: Wednesday, July 9, 2014 1:44 AM To: KY

RE: [PATCH 6/8] Drivers: scsi: storvsc: Implement an abort handler

2014-07-12 Thread KY Srinivasan
-Original Message- From: Richard Weinberger [mailto:richard.weinber...@gmail.com] Sent: Saturday, July 12, 2014 9:17 AM To: KY Srinivasan Cc: Christoph Hellwig; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; oher...@suse.com; jbottom...@parallels.com;

Re: megaraid_sas: FW in FAULT state!!, how to get more debug output? [BKO63661]

2014-07-12 Thread Bjorn Helgaas
[+cc Matthew] On Sat, Jul 12, 2014 at 5:56 AM, Robin H. Johnson robb...@gentoo.org wrote: TL;DR LSI2208 card faults out and does not bring up drives in Linux. In BIOS works fine. Driver has no debug interfaces visible in code for early startup. Hardware: Supermicro SSG-6027R-E1R12T

[PATCH 2/4] qla4xxx: fix get_host_stats error propagation

2014-07-12 Thread michaelc
From: Mike Christie micha...@cs.wisc.edu qla4xxx was not always returning -EXYZ error codes when qla4xxx_get_host_stats failed. Signed-off-by: Mike Christie micha...@cs.wisc.edu Acked-by: Vikas Chaudhary vikas.chaudh...@qlogic.com --- drivers/scsi/qla4xxx/ql4_os.c |2 ++ 1 files changed, 2

[PATCH 0/4] iscsi: iscsi changes for 3.17

2014-07-12 Thread michaelc
The following patches were made over Chrisoph's scsi-queue drivers-for-3.17 branch. They are some fixes to the get_host_stats code and new error code for when a iscsi ping times out. Note for applying/merging: The patches also apply over James's scsi misc branch, but that branch is missing some

[PATCH 1/4] iscsi class: fix get_host_stats error handling

2014-07-12 Thread michaelc
From: Mike Christie micha...@cs.wisc.edu iscsi_get_host_stats was dropping the error code returned by drivers like qla4xxx. Signed-off-by: Mike Christie micha...@cs.wisc.edu --- drivers/scsi/scsi_transport_iscsi.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

[PATCH 3/4] iscsi class: fix get_host_stats return code when not supported

2014-07-12 Thread michaelc
From: Mike Christie micha...@cs.wisc.edu When the get_host_stats call was not supported we were returing EINVAL. This has us return ENOSYS, because for software iscsi drivers where there is no host it is ok to not have this callout. Signed-off-by: Mike Christie micha...@cs.wisc.edu ---

[PATCH 4/4] libiscsi: return new error code when nop times out

2014-07-12 Thread michaelc
From: Mike Christie micha...@cs.wisc.edu When a iscsi nop as ping timedout we were failing with the common connection error code, ISCSI_ERR_CONN_FAILED. This patch adds a new error code for this problem so can properly track/distinguish in userspace. Signed-off-by: Mike Christie

RE: scsi-mq V2

2014-07-12 Thread Elliott, Robert (Server Storage)
-Original Message- From: Benjamin LaHaise [mailto:b...@kvack.org] Sent: Friday, 11 July, 2014 9:55 AM To: Elliott, Robert (Server Storage) Cc: Christoph Hellwig; Jeff Moyer; Jens Axboe; dgilb...@interlog.com; James Bottomley; Bart Van Assche; linux-scsi@vger.kernel.org; linux-

RE: scsi-mq V2

2014-07-12 Thread Elliott, Robert (Server Storage)
I will see if that solves the problem with the scsi-mq-3 tree, or at least some of the bisect trees leading up to it. scsi-mq-3 is still going after 45 minutes. I'll leave it running overnight. -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to

[PATCH resend] ufs: fix DMA mask setting

2014-07-12 Thread Akinobu Mita
If the controller doesn't support 64-bit addressing mode, it must not set the DMA mask to 64-bit. But it's unconditionally trying to set to 64-bit without checking 64-bit addressing support in the controller capabilities. It was correctly checked before commit

sg_tst_async, scsi-mq testing

2014-07-12 Thread Douglas Gilbert
scsi-mq testing has been temporarily sidelined by a problem with the command injection test harness: fio. To queue commands (e.g. to take advantage of SCSI task sets and SATA NCQ) fio uses libaio which is the focus of interest. Debugging is ongoing. At a lower level the sg driver can be used to

Re: [PATCH resend] ufs: fix DMA mask setting

2014-07-12 Thread Santosh Y
On Sun, Jul 13, 2014 at 6:14 AM, Akinobu Mita akinobu.m...@gmail.com wrote: If the controller doesn't support 64-bit addressing mode, it must not set the DMA mask to 64-bit. But it's unconditionally trying to set to 64-bit without checking 64-bit addressing support in the controller