Re: Unknown SATA PIIX PCI device ID 0x29b6

From: Guennadi Liakhovetski
Date: Sat Mar 08 2008 - 17:47:52 EST


On Fri, 7 Mar 2008, Tejun Heo wrote:

> > Looks like almost a minute to me? On another occurence I see about 1.5
> > minutes, then "port is slow to respond, please be patient (Status 0x80)"
> > has been repeated 3 times. On cold-plug also 3 times, I think, about the
> > same time then (time is not updated in the log).
>
> I see. Does the attached patch make any difference?

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 4fbcce7..abebdcc 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -6712,6 +6712,7 @@ int sata_link_init_spd(struct ata_link *link)
spd = (scontrol >> 4) & 0xf;
if (spd)
link->hw_sata_spd_limit &= (1 << spd) - 1;
+ link->hw_sata_spd_limit = 1;

ata_force_spd_limit(link);

Hm, this would force 1.5Gbps on all ports and devices, right? Cannot I
just boot with "libata.force=4:1.5Gbps"?

Thanks
Guennadi
---
Guennadi Liakhovetski
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/