Hello,
I encountered another problem with the OCZ SSD disk. If I suspend to ram while
running from batteries, my disk disappears. I had no problem with suspends on
AC power.
I created a screenshot of dmesg mesages:
http://www.fi.muni.cz/~xhejtman/IMG_3221.JPG
--
Luk?? Hejtm?nek
(CCing ACPI and IDE).
On Sunday 11 January 2009, Lukas Hejtmanek wrote:
> Hello,
>
> I encountered another problem with the OCZ SSD disk. If I suspend to ram while
> running from batteries, my disk disappears. I had no problem with suspends on
> AC power.
>
> I created a screenshot of dmesg mesages:
> http://www.fi.muni.cz/~xhejtman/IMG_3221.JPG
Rafael J. Wysocki wrote:
> (CCing ACPI and IDE).
>
> On Sunday 11 January 2009, Lukas Hejtmanek wrote:
>> Hello,
>>
>> I encountered another problem with the OCZ SSD disk. If I suspend to ram while
>> running from batteries, my disk disappears. I had no problem with suspends on
>> AC power.
>>
>> I created a screenshot of dmesg mesages:
>> http://www.fi.muni.cz/~xhejtman/IMG_3221.JPG
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.
Thanks.
--
tejun
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.
No. I attached the complete dmesg.
Another observation, it does not happen if I change AHCI to compatibility mode
which results in using ata_piix instead of ahci driver.
So the problems appears to be with ahci driver, the ata_piix works fine.
--
Luk?? Hejtm?nek
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