Re: Is there any plan to support 64bit lun in mainline?

2013-10-14 Thread Hannes Reinecke
On 10/14/2013 08:30 PM, James Bottomley wrote: > On Mon, 2013-10-14 at 12:32 +0200, Hannes Reinecke wrote: [ .. ] >> >> However, there are two other patchsets pending (EH Deadline and >> asynchronous command aborts), both of which have been tested >> thoroughly _and_ have acked-by from various othe

Re: PROBLEM: special sense code asc,ascq=04h,0Ch abort scsi scan in the middle

2013-10-14 Thread Hannes Reinecke
On 10/15/2013 05:32 AM, vaughan wrote: > On 10/14/2013 07:13 PM, Hannes Reinecke wrote: >> In the log, inquiry to LUN7 return a sense - asc,ascq=04h,0Ch >> (Logical unit not accessible, target port in unavailable state). >> And this is ignored, so scsi_probe_lun() returns -EIO and the scan >> proce

Re: PROBLEM: special sense code asc,ascq=04h,0Ch abort scsi scan in the middle

2013-10-14 Thread vaughan
On 10/14/2013 07:13 PM, Hannes Reinecke wrote: > In the log, inquiry to LUN7 return a sense - asc,ascq=04h,0Ch > (Logical unit not accessible, target port in unavailable state). > And this is ignored, so scsi_probe_lun() returns -EIO and the scan > process is aborted. > > I have two questions: > 1.

eSATA Drive Detection issues on mvsas

2013-10-14 Thread Praveen Murali
Hi, I have couple of external drives (Western Digital and Seagate) that have an eSATA interface. My Linux box with a Marvell HBA (9445) running Ubuntu 12.04 with 3.2.48 kernel doest not seem to detect the drive. I tried with the latest upstream kernel and it behaves the same. But both the dr

[PATCH] target: Return an error for WRITE SAME with ANCHOR==1

2013-10-14 Thread Roland Dreier
From: Roland Dreier Per SBC-3, since we report ANC_SUP==0 in VPD page B2h, we need to return an error (ILLEGAL REQUEST/INVALID FIELD IN CDB) for all WRITE SAME requests with ANCHOR==1. Signed-off-by: Roland Dreier --- drivers/target/target_core_sbc.c | 5 + 1 file changed, 5 insertions(+)

[Bug 62971] Kernel 3.11.1 and higher does not boot on VMware VM

2013-10-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=62971 --- Comment #1 from Bojan Smojver --- That patch fixes commit 839cb99e8f748391059d10388c8aea48a88c142c, which seem to have introduced the problem. -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscrib

[PATCH 0/2] scsi_dh_alua fixes for NetApp E-Series Storage

2013-10-14 Thread Stewart, Sean
This short patch series fixes a couple of issues found while testing the scsi_dh_alua handler with NetApp E-Series storage, both of which would prevent the handler from attaching, even though TPGS is enabled. This has been observed to lead to some paths using the alua handler, some paths usin

[PATCH 2/2] ALUA handler attach should succeed while TPG is transitioning

2013-10-14 Thread Stewart, Sean
During testing, it was discovered that when a device tries to attach to the alua handler while in TPG state of transitioning, the alua_rtpg function will wait for it to exit the state before allowing it to continue. As a result, if the 60 second timeout expires, the alua handler will not attach

[PATCH 1/2] ALUA check sense should retry device internal reset unit attention

2013-10-14 Thread Stewart, Sean
When the scsi_dh_alua handler issues an RTPG during initialization, if it gets 0x06/0x29/0x04 as the sense, it will fail to attach the handler. NetApp E-Series returns 0x29/0x00 for power on, and 0x29/0x04 for conditions that cause the controller to reboot again. These conditions should be tre

Re: Is there any plan to support 64bit lun in mainline?

2013-10-14 Thread James Bottomley
On Mon, 2013-10-14 at 12:32 +0200, Hannes Reinecke wrote: > On 10/12/2013 08:35 AM, Wangshen (C) wrote: > > Hello everyone, > > > > My name is Wang Shen. > > I am developing some scsi devices in Linux needs 64bit lun. > > Now I am in trouble in scsi driver programming. > > > > According to SAM-5,

Re: Is there any plan to support 64bit lun in mainline?

2013-10-14 Thread Christoph Hellwig
On Mon, Oct 14, 2013 at 12:32:22PM +0200, Hannes Reinecke wrote: > However, there are two other patchsets pending (EH Deadline and > asynchronous command aborts), both of which have been tested > thoroughly _and_ have acked-by from various other parties. > None of these patchset had received any fe

Re: PROBLEM: special sense code asc,ascq=04h,0Ch abort scsi scan in the middle

2013-10-14 Thread Steffen Maier
On 10/14/2013 03:32 PM, Hannes Reinecke wrote: On 10/14/2013 03:18 PM, Hannes Reinecke wrote: On 10/14/2013 02:51 PM, Steffen Maier wrote: On 10/14/2013 01:13 PM, Hannes Reinecke wrote: On 10/13/2013 07:23 PM, Vaughan Cao wrote: [1.] One line summary of the problem: special sense code asc,asc

Re: PROBLEM: special sense code asc,ascq=04h,0Ch abort scsi scan in the middle

2013-10-14 Thread Vaughan Cao
On 2013年10月14日 21:18, Hannes Reinecke wrote: On 10/14/2013 02:51 PM, Steffen Maier wrote: Hi Hannes, On 10/14/2013 01:13 PM, Hannes Reinecke wrote: On 10/13/2013 07:23 PM, Vaughan Cao wrote: Hi James, [1.] One line summary of the problem: special sense code asc,ascq=04h,0Ch abort scsi scan

[PATCH] scsi_debug: simplify creation and destruction of driver attribute files

2013-10-14 Thread Akinobu Mita
Instead of repeatedly calling driver_create_file() to create driver attribute files, This achieves the same thing by constructing an array of driver_attribute and setting it to bus_type->drv_groups. This change simplifies both creation and destruction of the attribute files, and also removes spars

Re: PROBLEM: special sense code asc,ascq=04h,0Ch abort scsi scan in the middle

2013-10-14 Thread Hannes Reinecke
On 10/14/2013 03:18 PM, Hannes Reinecke wrote: > On 10/14/2013 02:51 PM, Steffen Maier wrote: >> Hi Hannes, >> >> On 10/14/2013 01:13 PM, Hannes Reinecke wrote: >>> On 10/13/2013 07:23 PM, Vaughan Cao wrote: Hi James, [1.] One line summary of the problem: special sense code asc,

Re: PROBLEM: special sense code asc,ascq=04h,0Ch abort scsi scan in the middle

2013-10-14 Thread Hannes Reinecke
On 10/14/2013 02:51 PM, Steffen Maier wrote: > Hi Hannes, > > On 10/14/2013 01:13 PM, Hannes Reinecke wrote: >> On 10/13/2013 07:23 PM, Vaughan Cao wrote: >>> Hi James, >>> >>> [1.] One line summary of the problem: >>> special sense code asc,ascq=04h,0Ch abort scsi scan in the middle >>> >>> [2.]

Re: PROBLEM: special sense code asc,ascq=04h,0Ch abort scsi scan in the middle

2013-10-14 Thread Steffen Maier
Hi Hannes, On 10/14/2013 01:13 PM, Hannes Reinecke wrote: > On 10/13/2013 07:23 PM, Vaughan Cao wrote: >> Hi James, >> >> [1.] One line summary of the problem: >> special sense code asc,ascq=04h,0Ch abort scsi scan in the middle >> >> [2.] Full description of the problem/report: >> For instance, s

Re: PROBLEM: special sense code asc,ascq=04h,0Ch abort scsi scan in the middle

2013-10-14 Thread Hannes Reinecke
On 10/13/2013 07:23 PM, Vaughan Cao wrote: > Hi James, > > [1.] One line summary of the problem: > special sense code asc,ascq=04h,0Ch abort scsi scan in the middle > > [2.] Full description of the problem/report: > For instance, storage represents 8 iscsi LUNs, however the LUN No.7 > is not well

Re: Is there any plan to support 64bit lun in mainline?

2013-10-14 Thread Hannes Reinecke
On 10/12/2013 08:35 AM, Wangshen (C) wrote: > Hello everyone, > > My name is Wang Shen. > I am developing some scsi devices in Linux needs 64bit lun. > Now I am in trouble in scsi driver programming. > > According to SAM-5, a LUN structure is 8 bytes long, but it is only 4 bytes > long in kernel