]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
1 | From: Tejun Heo <tj@kernel.org> |
2 | Subject: libata: OCZ Vertex can't do HPA | |
3 | References: bnc#522414 | |
4 | ||
5 | OCZ Vertex SSD can't do HPA and not in a usual way. It reports HPA, | |
6 | allows unlocking but then fails all IOs which fall in the unlocked | |
7 | area. Quirk it so that HPA unlocking is not used for the device. | |
8 | ||
9 | Reported by Daniel Perup in bnc#522414. | |
10 | ||
11 | https://bugzilla.novell.com/show_bug.cgi?id=522414 | |
12 | ||
13 | Signed-off-by: Tejun Heo <tj@kernel.org> | |
14 | Reported-by: Daniel Perup <probe@spray.se> | |
15 | Signed-off-by: Tejun Heo <teheo@suse.de> | |
16 | --- | |
17 | drivers/ata/libata-core.c | 3 +++ | |
18 | 1 file changed, 3 insertions(+) | |
19 | ||
20 | Index: linux-2.6.27-SLE11_BRANCH/drivers/ata/libata-core.c | |
21 | =================================================================== | |
22 | --- linux-2.6.27-SLE11_BRANCH.orig/drivers/ata/libata-core.c | |
23 | +++ linux-2.6.27-SLE11_BRANCH/drivers/ata/libata-core.c | |
24 | @@ -4132,6 +4132,9 @@ static const struct ata_blacklist_entry | |
25 | { "WDC WD2500JD-00HBB0", "WD-WMAL71490727", ATA_HORKAGE_BROKEN_HPA }, | |
26 | { "MAXTOR 6L080L4", "A93.0500", ATA_HORKAGE_BROKEN_HPA }, | |
27 | ||
28 | + /* this one allows HPA unlocking but fails IOs on the area */ | |
29 | + { "OCZ-VERTEX", "1.30", ATA_HORKAGE_BROKEN_HPA }, | |
30 | + | |
31 | /* Devices which report 1 sector over size HPA */ | |
32 | { "ST340823A", NULL, ATA_HORKAGE_HPA_SIZE, }, | |
33 | { "ST320413A", NULL, ATA_HORKAGE_HPA_SIZE, }, |