Summary: | Support for mkinitcpio resume hook / resume= kernel parameter | ||
---|---|---|---|
Product: | systemd | Reporter: | famo <richard.llom> |
Component: | general | Assignee: | famo <richard.llom> |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | arthur.titeica, sascha.shaw |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
URL: | https://bugs.archlinux.org/task/37028 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
famo
2014-02-18 21:21:56 UTC
resume= is usually supported by systemd in the initramfs. Please assume that we are unfamiliar with mkinitcpio, and explain what change you'd like to see in systemd. Maybe I can shed some light on the issue: mkinitcpio is a set of scripts that creates initial ramdisk environments in Arch Linux and related Distributions. Hooks, in this context, are shell scripts that add modules, binaries and other files to the ramdisk. There seems to be a problem (for some if not all Arch users) with resuming from hibernation when 'systemctl hibernate' is used in conjunction with the 'resume=' kernel parameter. I have not been using hibernation in a while, but it looks like the problem was introduced with systemd 207. I will try to condense the multitude of message board posts and workarounds, once I get home from work, to see what has to be done. By the way, the bug at the Arch linux bugtracker was closed for the following reason: Closed by Dave Reisner (falconindy) Wednesday, 19 February 2014, 13:42 GMT Reason for closing: Deferred Additional comments about closing: No one seems to understand the actual bug here. Still isn't a systemd bug, either. I'm no expert on this, but my understanding is this so far: In the mkinitcpio.conf is a hook (i.e. a shell script), called "systemd". I assumed that this script is managed / maintained by systemd. (?) Besides the "systemd" script, there is also "resume" script, which writes the resume device into /sys/power/resume . The problem is now that with the "systemd" script, the "resume" script isn't accounted for and thus resume device is never written to /sys/power/resume thus hibernation doesn't work as expected. (In reply to comment #4) > In the mkinitcpio.conf is a hook (i.e. a shell script), called "systemd". I > assumed that this script is managed / maintained by systemd. (?) No, we don't do anything like that. > Besides the "systemd" script, there is also "resume" script, which writes > the resume device into /sys/power/resume . Not ours either. > The problem is now that with the "systemd" script, the "resume" script isn't > accounted for and thus resume device is never written to /sys/power/resume > thus hibernation doesn't work as expected. Sorry, but this is something that lives somewhere else. @(In reply to comment #5) > Sorry, but this is something that lives somewhere else. Ok, noted. @Sascha: I was so bold to put you in CC. :-) Could you get some information on what has to be done? |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.