On 02/21/2010 04:11 AM, Cengiz Günay wrote: >> Does the attached patch make any difference? > > Not that I can tell. I still get an infinite loop of ata4 errors. I > attached a full dmesg output with the patch. Note that I have both the > patches disable-clear-ua and drain-from-atapi-pio-bytes applied at the > same time. Hmmm... So, DRQ gets cleared? That's strange. When then the 18 extra bytes happen? Can you please try this one? -- tejun
diff --git a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c index 0c82d33..ae63b0b 100644 --- a/drivers/ata/sata_nv.c +++ b/drivers/ata/sata_nv.c @@ -585,7 +585,7 @@ static const struct ata_port_info nv_port_info[] = { /* SWNCQ */ { .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | - ATA_FLAG_NCQ, + ATA_FLAG_NCQ | ATA_FLAG_PIO_POLLING, .pio_mask = NV_PIO_MASK, .mwdma_mask = NV_MWDMA_MASK, .udma_mask = NV_UDMA_MASK,