Skip to contentSkip to conversation

libata: force PIO on IOMEGA ZIP 250 ATAPI

PATCH Applied Tejun Heo 4 participants 5 messages Jun 10, 2007 – Jun 11, 2007 libata

lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

PATCH 1/1 libata: force PIO on IOMEGA ZIP 250 ATAPI

IOMEGA ZIP 250 ATAPI claims MWDMA0 support but fails SETXFERMODE if asked to configure itself to MWDMA0. Force PIO.

This fixes bugzilla bug#8497.

Cc Calvin Walton <[email protected]>

---
There was another proposed patch which lowers transfer mode if device rejects transfer mode but I'm not sure whether that's the right thing to do. Such behavior change might affect other devices, so I'm opting for blacklisting for now.

Thanks.

 drivers/ata/libata-core.c |    1 +
 1 file changed, 1 insertion(+)
drivers/ata/libata-core.c +1 -0
index 4733f00..6312a21 100644
@@ -3769,6 +3769,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
 	{ "_NEC DV5800A", 	NULL,		ATA_HORKAGE_NODMA },
 	{ "SAMSUNG CD-ROM SN-124","N001",	ATA_HORKAGE_NODMA },
 	{ "Seagate STT20000A", NULL,		ATA_HORKAGE_NODMA },
+	{ "IOMEGA  ZIP 250       ATAPI", NULL,	ATA_HORKAGE_NODMA },
 
 	/* Weird ATAPI devices */
 	{ "TORiSAN DVD-ROM DRD-N216", NULL,	ATA_HORKAGE_MAX_SEC_128 |
#1 lore raw
Quoted 2 lines · On Sun, 10 Jun 2007 14:52:36 +0900 Tejun Heo <[email protected]> wrote:

IOMEGA ZIP 250 ATAPI claims MWDMA0 support but fails SETXFERMODE if asked to configure itself to MWDMA0. Force PIO.

This is only really a temporary fix. It appears to manage MWDMA0 in some cases with old IDE..

#2 lore raw
Quoted 8 lines · Alan Cox
Quoted 2 lines · On Sun, 10 Jun 2007 14:52:36 +0900 Tejun Heo <[email protected]> wrote:

IOMEGA ZIP 250 ATAPI claims MWDMA0 support but fails SETXFERMODE if asked to configure itself to MWDMA0. Force PIO.

This is only really a temporary fix. It appears to manage MWDMA0 in some cases with old IDE..

Tejun, please add the comment that this is a libata issue so nobody ever tries to sync this blacklist entry with ide-dma.c.

Thanks,
Bart

Applied
#3 lore raw
In reply to Tejun Heo
Quoted 23 lines · Tejun Heo

IOMEGA ZIP 250 ATAPI claims MWDMA0 support but fails SETXFERMODE if asked to configure itself to MWDMA0. Force PIO.

This fixes bugzilla bug#8497.

Cc Calvin Walton <[email protected]>

---
There was another proposed patch which lowers transfer mode if device rejects transfer mode but I'm not sure whether that's the right thing to do. Such behavior change might affect other devices, so I'm opting for blacklisting for now.

Thanks.

 drivers/ata/libata-core.c |    1 +
 1 file changed, 1 insertion(+)
drivers/ata/libata-core.c +0 -0
index 4733f00..6312a21 100644

drivers/ata/libata-core.c static const struct ata_blacklist_entry ata_device_blacklist [] = { · line 3772

Quoted 4 lines
drivers/ata/libata-core.c +1 -0
@@ -3769,6 +3769,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
 	{ "_NEC DV5800A", 	NULL,		ATA_HORKAGE_NODMA },
 	{ "SAMSUNG CD-ROM SN-124","N001",	ATA_HORKAGE_NODMA },
 	{ "Seagate STT20000A", NULL,		ATA_HORKAGE_NODMA },
+	{ "IOMEGA  ZIP 250       ATAPI", NULL,	ATA_HORKAGE_NODMA }, /* temporary fix */

applied, after adding the "temporary fix" comment based on Alan's comments

author
#4 lore raw
Quoted 10 lines · Jeff Garzik
Quoted 7 lines · Tejun Heo
drivers/ata/libata-core.c +1 -0
@@ -3769,6 +3769,7 @@ static const struct ata_blacklist_entry
 ata_device_blacklist [] = {
     { "_NEC DV5800A",     NULL,        ATA_HORKAGE_NODMA },
     { "SAMSUNG CD-ROM SN-124","N001",    ATA_HORKAGE_NODMA },
     { "Seagate STT20000A", NULL,        ATA_HORKAGE_NODMA },
+    { "IOMEGA  ZIP 250       ATAPI", NULL,    ATA_HORKAGE_NODMA }, /*

temporary fix */

applied, after adding the "temporary fix" comment based on Alan's comments

Thanks.

Signature · 1 line
tejun