Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #63549

Bug#890950: Bug#902416: Bug#890950: RE: Bug#902416: systemd: systemctl hibernate: unable to resume after upgrade

Path csiph.com!weretis.net!feeder7.news.weretis.net!news.dns-netz.com!aioe.org!bofh.it!news.nic.it!robomod
From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#890950: Bug#902416: Bug#890950: RE: Bug#902416: systemd: systemctl hibernate: unable to resume after upgrade
Date Mon, 11 Mar 2019 01:00:02 +0100
Message-ID <xAgwi-AH-5@gated-at.bofh.it> (permalink)
References <w4UaR-8go-3@gated-at.bofh.it> <w7QX7-1xw-3@gated-at.bofh.it> <w4UaR-8go-3@gated-at.bofh.it> <w8aVP-5GY-1@gated-at.bofh.it> <w8wjD-2fI-7@gated-at.bofh.it> <w8wjD-2fI-5@gated-at.bofh.it> <w8yv7-3tn-3@gated-at.bofh.it> <w8yv7-3tn-1@gated-at.bofh.it> <w8yv7-3tn-1@gated-at.bofh.it> <vloAa-6FO-11@gated-at.bofh.it> <xAf7b-8gK-5@gated-at.bofh.it> <w4UaR-8go-3@gated-at.bofh.it> <xAf7b-8gK-3@gated-at.bofh.it> <xAgwi-AH-7@gated-at.bofh.it> <vloAa-6FO-11@gated-at.bofh.it> <xAgwi-AH-7@gated-at.bofh.it>
X-Original-To Michael Biebl <biebl@debian.org>, 902416@bugs.debian.org, 890950@bugs.debian.org, Mario.Limonciello@dell.com
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sun Mar 10 23:51:08 2019
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.199
Reply-To Ben Hutchings <ben@decadent.org.uk>, 890950@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian kernel team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 890950
X-Debian-Pr-Package initramfs-tools
X-Debian-Pr-Source initramfs-tools
X-Spam-Bayes score:0.0000 Tokens: new, 10; hammy, 137; neutral, 40; spammy, 0. spammytokens: hammytokens:0.000-+--H*F:D*decadent.org.uk, 0.000-+--H*RU:sk:shadbol, 0.000-+--H*r:sk:shadbol, 0.000-+--HX-SA-Exim-Scanned:sk:shadbol, 0.000-+--H*RU:88.96.1.126
Content-Type multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-kRnRLEoVJQyaoOrEsGHd"
User-Agent Evolution 3.30.5-1
MIME-Version 1.0
X-Sa-Exim-Connect-IP 192.168.4.242
X-Sa-Exim-Mail-From ben@decadent.org.uk
X-Sa-Exim-Scanned No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false
X-Crossassassin-Score 2
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1526407
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 54
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 10 Mar 2019 23:47:24 +0000
X-Original-Message-ID <6d94b831aa8b72a7b0ac39b221a4b2b317367ce7.camel@decadent.org.uk>
X-Original-References <153001047636.6295.94413160180878070.reportbug@abijah> <adf6d107-4078-c57d-ac4b-37a8738bcf02@debian.org> <153001047636.6295.94413160180878070.reportbug@abijah> <1530791160.9378.1430780616.700579BC@webmail.messagingengine.com> <fd49dbc0-e5d6-89ee-9c2a-4bcd10732ad8@debian.org> <1530873139.505417.1431925768.5AA73C75@webmail.messagingengine.com> <abd6edde-9138-1210-8fb1-faa02d7aba95@debian.org> <861515633044407c9a10bc32ddff85e2@ausx13mpc120.AMER.DELL.COM> <861515633044407c9a10bc32ddff85e2@ausx13mpc120.AMER.DELL.COM> <b41525a7c59442319aa04061ae66ddf3@ausx13mpc120.AMER.DELL.COM> <17455f8d-d0e1-0b42-2372-4c1139672283@debian.org> <153001047636.6295.94413160180878070.reportbug@abijah> <f9d4601a1cca8bde0f7eb96fcdbc7a2a2db2e814.camel@decadent.org.uk> <61a5e084-9b30-fb94-0860-feaba0465c51@debian.org> <b41525a7c59442319aa04061ae66ddf3@ausx13mpc120.AMER.DELL.COM> <61a5e084-9b30-fb94-0860-feaba0465c51@debian.org>
Xref csiph.com linux.debian.bugs.dist:949364 linux.debian.kernel:63549

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, 2019-03-11 at 00:20 +0100, Michael Biebl wrote:
> Hi Ben
> 
> Am 10.03.19 um 23:17 schrieb Ben Hutchings:
> > I think it would make sense for systemd to only set the hibernation
> > device if it's not already set (i.e. if /sys/power/resume contains
> > "0:0\n").
> 
> I get $ cat /sys/power/resume
> 8:4
> 
> which part is responsible for setting that?

initramfs-tools, or any alternative that implements resume from
hibernation.  This is because writing to /sys/power/resume is the way
to resume from hibernation, as well as the way to set the device for
the next hibernation.  (systemd writes the number of an active swap
device, so it won't cause an immediate resume.)

Ben.

-- 
Ben Hutchings
The program is absolutely right; therefore, the computer must be wrong.


Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#890950: initramfs-tools: Resuming from hibernated swapfile fails <Mario.Limonciello@dell.com> - 2018-02-20 23:30 +0100
  Processed: Re: Bug#890950: initramfs-tools: Resuming from  hibernated swapfile fails "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-02-21 19:00 +0100
  Bug#890950: initramfs-tools: Resuming from hibernated swapfile fails Ben Hutchings <ben@decadent.org.uk> - 2018-02-21 19:00 +0100
    Bug#890950: initramfs-tools: Resuming from hibernated swapfile fails <Mario.Limonciello@dell.com> - 2018-02-21 22:30 +0100
  Bug#890950:  <Mario.Limonciello@dell.com> - 2018-02-22 05:00 +0100
  Bug#890950: Info received (Bug#890950: initramfs-tools: Resuming from hibernated swapfile fails) <Mario.Limonciello@dell.com> - 2018-02-28 23:10 +0100
    Bug#890950: RE: Bug#890950: Info received (Bug#890950: initramfs-tools: Resuming from hibernated swapfile fails) Ben Hutchings <ben@decadent.org.uk> - 2018-07-19 21:30 +0200
  Bug#890950: [Debian #890950, Ubuntu #1644975] initramfs-tools: Resuming from hibernated swapfile fails Dirk Fieldhouse <fieldhouse@gmx.net> - 2018-07-19 17:30 +0200
  Bug#890950: RE: Bug#902416: systemd: systemctl hibernate: unable to resume after upgrade Ben Hutchings <ben@decadent.org.uk> - 2019-03-10 23:30 +0100
  Bug#890950: Bug#902416: Bug#890950: RE: Bug#902416: systemd: systemctl hibernate: unable to resume after upgrade Ben Hutchings <ben@decadent.org.uk> - 2019-03-11 01:00 +0100

csiph-web