Skip to contentSkip to conversation

New: HighPoint RocketRAID 2720 fail to detect some SATA hdd

Bug 51881 [email protected] 2 participants 15 messages Dec 21, 2012 – Nov 19, 2013 SCSI

lore
Share & tools
lore

[email protected]

author Reviewed-by Aaron Lu
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=51881

Summary: HighPoint RocketRAID 2720 fail to detect some SATA hdd
Product: IO/Storage
Version: 2.5
Kernel Version: 3.7
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: SCSI
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes

After upgrading from 3.6.9 to 3.7, HighPoint RocketRAID 2720 (mvsas) failed to detect some hdd.
7 SATA hdds are connected, but only 2 or 3 hdds are detected.
I bisected and found bad commit:

65fe1f0f66a57380229a4ced844188103135f37b is the first bad commit commit 65fe1f0f66a57380229a4ced844188103135f37b

Author: Shane Huang <[email protected]>
Date:   Fri Sep 7 22:40:01 2012 +0800

ahci: implement aggressive SATA device sleep support

Device Sleep is a feature as described in AHCI 1.3.1 Technical Proposal. This feature enables an HBA and SATA storage device to enter the DevSleep interface state, enabling lower power SATA-based systems.

Aggressive Device Sleep enables the HBA to assert the DEVSLP signal as soon as there are no commands outstanding to the device and the port specific Device Sleep idle timer has expired. This enables autonomous entry into the DevSleep interface state without waiting for software in power sensitive systems.

This patch enables Aggressive Device Sleep only if both host controller and device support it.

Tested on AMD reference board together with Device Sleep supported device sample.

:040000 040000 9441b703760224de98a80546977129214d9528f8
436fe4f42392a48b4564f09cad69dafbe82be2c1 M drivers
:040000 040000 3177c859173da3d15f3c2fb287364f063aa420d9
a39a26dc3f6c0b21433688420a820b121a921cec M include

Revert 65fe1f0f66a from 3.7.1, all hdds are detected.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 51881] HighPoint RocketRAID 2720 fail to detect some SATA hdd

https://bugzilla.kernel.org/show_bug.cgi?id=51881

--- Comment #1 from Kouichi ONO <[email protected]> 2012-12-21 14:29:30 --- Created an attachment (id=89531)
--> (https://bugzilla.kernel.org/attachment.cgi?id=89531)
dmesg (BAD)

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 51881] HighPoint RocketRAID 2720 fail to detect some SATA hdd

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51881

--- Comment #2 from Kouichi ONO <[email protected]> 2012-12-21 14:30:04 --- Created an attachment (id=89541)
--> (https://bugzilla.kernel.org/attachment.cgi?id=89541)
dmesg (OK)

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reviewed-by Aaron Lu
#3 lore raw
In reply to [email protected]

Cc the author of the bad commit.

Jack

[Bug 51881] New: HighPoint RocketRAID 2720 fail to detect some SATA hdd

https://bugzilla.kernel.org/show_bug.cgi?id=51881

Summary: HighPoint RocketRAID 2720 fail to detect some SATA hdd
Product: IO/Storage
Version: 2.5
Kernel Version: 3.7
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: SCSI
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes

After upgrading from 3.6.9 to 3.7, HighPoint RocketRAID 2720 (mvsas) failed to detect some hdd. 7 SATA hdds are connected, but only 2 or 3 hdds are detected.
I bisected and found bad commit:

65fe1f0f66a57380229a4ced844188103135f37b is the first bad commit commit 65fe1f0f66a57380229a4ced844188103135f37b

Author: Shane Huang <[email protected]>
Date:   Fri Sep 7 22:40:01 2012 +0800

ahci: implement aggressive SATA device sleep support

Device Sleep is a feature as described in AHCI 1.3.1 Technical Proposal. This feature enables an HBA and SATA storage device to enter the DevSleep interface state, enabling lower power SATA-based systems.

Aggressive Device Sleep enables the HBA to assert the DEVSLP signal as soon as there are no commands outstanding to the device and the port specific Device Sleep idle timer has expired. This enables autonomous entry into the DevSleep interface state without waiting for software in power sensitive systems.

This patch enables Aggressive Device Sleep only if both host controller and device support it.

Tested on AMD reference board together with Device Sleep supported device sample.

:040000 040000 9441b703760224de98a80546977129214d9528f8
436fe4f42392a48b4564f09cad69dafbe82be2c1 M drivers
:040000 040000 3177c859173da3d15f3c2fb287364f063aa420d9
a39a26dc3f6c0b21433688420a820b121a921cec M include

Revert 65fe1f0f66a from 3.7.1, all hdds are detected.

--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: ------- You are the assignee for the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

author Reviewed-by Aaron Lu
#4 lore raw

[Bug 51881] HighPoint RocketRAID 2720 fail to detect some SATA hdd

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51881

--- Comment #3 from [email protected] 2012-12-24 04:53:42 --- Cc the author of the bad commit.

Jack

[Bug 51881] New: HighPoint RocketRAID 2720 fail to detect some SATA hdd

https://bugzilla.kernel.org/show_bug.cgi?id=51881

Summary: HighPoint RocketRAID 2720 fail to detect some SATA hdd
Product: IO/Storage
Version: 2.5
Kernel Version: 3.7
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: SCSI
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes

After upgrading from 3.6.9 to 3.7, HighPoint RocketRAID 2720 (mvsas) failed to detect some hdd.
7 SATA hdds are connected, but only 2 or 3 hdds are detected.
I bisected and found bad commit:

65fe1f0f66a57380229a4ced844188103135f37b is the first bad commit commit 65fe1f0f66a57380229a4ced844188103135f37b

Author: Shane Huang <[email protected]>
Date:   Fri Sep 7 22:40:01 2012 +0800

ahci: implement aggressive SATA device sleep support

Device Sleep is a feature as described in AHCI 1.3.1 Technical Proposal. This feature enables an HBA and SATA storage device to enter the DevSleep interface state, enabling lower power SATA-based systems.

Aggressive Device Sleep enables the HBA to assert the DEVSLP signal as soon as there are no commands outstanding to the device and the port specific Device Sleep idle timer has expired. This enables autonomous entry into the DevSleep interface state without waiting for software in power sensitive systems.

This patch enables Aggressive Device Sleep only if both host controller and device support it.

Tested on AMD reference board together with Device Sleep supported device sample.

:040000 040000 9441b703760224de98a80546977129214d9528f8
436fe4f42392a48b4564f09cad69dafbe82be2c1 M drivers
:040000 040000 3177c859173da3d15f3c2fb287364f063aa420d9
a39a26dc3f6c0b21433688420a820b121a921cec M include

Revert 65fe1f0f66a from 3.7.1, all hdds are detected.

--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: ------- You are the assignee for the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 51881] HighPoint RocketRAID 2720 fail to detect some SATA hdd

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51881

--- Comment #4 from Shane Huang <[email protected]> 2012-12-24 07:22:12 --- Created an attachment (id=89551)
--> (https://bugzilla.kernel.org/attachment.cgi?id=89551)
libata: replace sata_settings with devslp_timing

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 51881] HighPoint RocketRAID 2720 fail to detect some SATA hdd

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51881

Shane Huang <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #5 from Shane Huang <[email protected]> 2012-12-24 07:24:46 --- Can you help to try whether the attached patch make something different or not? Thanks.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 51881] HighPoint RocketRAID 2720 fail to detect some SATA hdd

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51881

--- Comment #6 from Kouichi ONO <[email protected]> 2012-12-25 12:50:53 --- 3.7.1 with attached patch works fine, all hdds found.
Thanks!

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 51881] HighPoint RocketRAID 2720 fail to detect some SATA hdd

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51881

Bohdan Popovych <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from Bohdan Popovych <[email protected]> 2012-12-29 00:06:30 --- I can confirm patch works for me with
- HighPoint RocketRAID 2720
and
- LSI Logic / Symbios Logic SAS2008 (Falcon)) using mpt2sas
as well on 3.7.1.
Thanks!

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 51881] HighPoint RocketRAID 2720 fail to detect some SATA hdd

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51881

Kalin KOZHUHAROV <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #8 from Kalin KOZHUHAROV <[email protected]> 2013-01-03 15:57:37 --- Happy New Year!
Glad I found this bug before starting to dissect, it fixed my OCZ-REVODRIVE3 X2!

I have 960GB PCIe OCZ-REVODRIVE3 X2 that also uses mvsas and was working fine with 3.6.9, but started failing with 3.7.1 (internally it is 4x SandForce 2281) with only two of the four drives being detected. This was in dmesg:

$ grep "\] ata[91]" 3.7.1-pf-r6-a.dmesg 
[    0.807680] ata1: DUMMY
[    9.006504] ata9.00: ATA-8: OCZ-REVODRIVE3 X2, 2.22, max UDMA/133
[    9.006510] ata9.00: 468862128 sectors, multi 16: LBA48 NCQ (depth 31/32)
[    9.006996] ata9.00: failed to get Identify Device Data, Emask 0x1
[    9.014874] ata9.00: failed to get Identify Device Data, Emask 0x1
[    9.014883] ata9.00: configured for UDMA/133
[    9.190157] ata10.00: both IDENTIFYs aborted, assuming NODEV
[    9.363328] ata11.00: ATA-8: OCZ-REVODRIVE3 X2, 2.22, max UDMA/133
[    9.363334] ata11.00: 468862128 sectors, multi 16: LBA48 NCQ (depth 31/32)
[    9.363860] ata11.00: failed to get Identify Device Data, Emask 0x1
[    9.373757] ata11.00: failed to get Identify Device Data, Emask 0x1
[    9.373765] ata11.00: configured for UDMA/133
[    9.546921] ata12.00: both IDENTIFYs aborted, assuming NODEV

I applied the above patch (id=89551) to 3.7.1 and it started working again. I hope it can be merged in 3.8.

Let me know if any more testing is needed.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 51881] HighPoint RocketRAID 2720 fail to detect some SATA hdd

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51881

--- Comment #9 from Shane Huang <[email protected]> 2013-01-17 09:36:23 --- The patch in comment #4 was accepted by Jeff in his repository. Thanks.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 51881] HighPoint RocketRAID 2720 fail to detect some SATA hdd

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51881

--- Comment #10 from Florian Mickler <[email protected]> 2013-01-26 10:53:01 --- A patch referencing this bug report has been merged in Linux v3.8-rc5:

commit 803739d25c2343da6d2f95eebdcbc08bf67097d4

Author: Shane Huang <[email protected]>
Date:   Mon Dec 17 23:18:59 2012 +0800

[libata] replace sata_settings with devslp_timing

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 51881] HighPoint RocketRAID 2720 fail to detect some SATA hdd

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51881

--- Comment #11 from Kouichi ONO <[email protected]> 2013-01-28 15:34:10 --- I confirm this problem was fixed in 3.7.5

Thanks!

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.