Re: Another libata error related to OCZ SSD

From: Lukas Hejtmanek
Date: Sun Jan 25 2009 - 06:09:11 EST


On Sun, Jan 25, 2009 at 10:00:43AM +0900, Tejun Heo wrote:
>
> Does the following command make any difference?
>
> echo 0 > /sys/class/scsi_disk/h:c:i:l/manage_start_stop
>
> The h:c:i:l part needs to be adjusted to point to the OCZ disk. lscsi
> will show which value to use.

Well, the real problem seems to be in touching link power management policy
(it did not happen with ata_piix driver thus the driver seemed to be ok)

If I touch power management with theses commands:
echo max_performance > /sys/class/scsi_host/host0/link_power_management_policy
echo medium_power > /sys/class/scsi_host/host0/link_power_management_policy

the suspend fails.

I always restore max_performance policy before the suspend.

--
Lukáš Hejtmánek
--
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/