[plug] suspend to ram

Brad Campbell brad at wasp.net.au
Wed Jul 12 22:49:25 WST 2006


William Kenworthy wrote:
> Hi Brad, that sounds neat.  Can you post the relevant part of
> hibernate.conf where I presume this is setup?
> 
> Does libata fix the problem where powering off the cdrom (using
> sony_acpi) renders the cdrom useless until a clean boot, and sometimes
> kills the ide bus altogether?

Looks like it.. I disable hal from polling the drive by removing the scd0 device node and then power 
it down..

When I power it up and replace the node it's all good. If something tries to access the device while 
it's powered down libata goes into error recovery mode and everything appears to keep working. It 
loops in error recovery until the device is powered back up where it recovers perfectly.

Woooooo!


-- 
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams



More information about the plug mailing list