When trying to hibernate this x86_64 box, I get $ pm-hibernate /usr/sbin/pm-hibernate: line 19: /sys/power/disk: Permission denied And when I look, that file is not present. This is with kernel-2.6.13-1.1580_FC5
that should probably be trying to do.. echo disk > /sys/power/state
Hm. /sys/power/disk exists for me.
ahh, x86-64 currently has suspend disabled (its conditional upon hotplug cpu of all things). I just fixed the config, it'll be in tomorrows rawhide. pm-hibernate should probably still check for the presence of that file before trying to use it though, as it won't be there on all archs. (ia64 & ppc64 for example). Is there any reason why we build pmutils on those archs ?
Why not? Presumably they may grow PM implementations at some point. I'll add the checks, though.
Checks added in 0.05-1.
sure, they might. But until they do, anyone running pm-hibernate on those archs would see funky errors about missing files :)