Bug 169562 - /sys/power/disk is missing
Summary: /sys/power/disk is missing
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pm-utils
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-29 17:46 UTC by Matthias Clasen
Modified: 2014-03-17 02:56 UTC (History)
3 users (show)

Fixed In Version: 0.05-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-30 16:05:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthias Clasen 2005-09-29 17:46:14 UTC
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

Comment 1 Dave Jones 2005-09-29 23:26:38 UTC
that should probably be trying to do..

echo disk > /sys/power/state


Comment 2 Bill Nottingham 2005-09-30 03:26:00 UTC
Hm. /sys/power/disk exists for me.

Comment 3 Dave Jones 2005-09-30 04:51:08 UTC
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 ?


Comment 4 Bill Nottingham 2005-09-30 15:52:34 UTC
Why not? Presumably they may grow PM implementations at some point. I'll add the
checks, though.

Comment 5 Bill Nottingham 2005-09-30 16:05:58 UTC
Checks added in 0.05-1.

Comment 6 Dave Jones 2005-09-30 23:58:54 UTC
sure, they might. But until they do, anyone running pm-hibernate on those archs
would see funky errors about missing files :)


Note You need to log in before you can comment on or make changes to this bug.