Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #57630
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Newsgroups | linux.debian.kernel |
| Subject | Re: [PATCH initramfs-tools 0/9] Fix resume device configuration |
| Date | 2017-04-21 17:20 +0200 |
| Message-ID | <tyIvM-7o5-5@gated-at.bofh.it> (permalink) |
| References | <tyxAm-Ku-1@gated-at.bofh.it> <tyCJI-3ZL-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Fri, 2017-04-21 at 11:02 +0200, Martin Steigerwald wrote: [...] > Currently I don´t have uswsusp installed, but pm-utils is > still there. I am not sure whether systemd uses it or does it all by itself > tough. I think 'systemctl hibernate' invokes in-kernel swsusp by default. I don't know what pm-utils does. [...] > I never managed to get around actually looking whats going on here, but I now > found that I do not have any resume setting in > > shambhala:/etc/initramfs-tools> grep -ir "RESUME" . > shambhala:/etc/initramfs-tools#1> So initramfs-tools will automatically select a swap partition and put its UUID in the initramfs... > Instead I have it here: > > shambhala:/etc/default> grep -i resume grub > GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/sda2 init=/bin/systemd" ...but the command line parameter overrides that configuration, anyway. > shambhala:~> swapon -s > Dateiname Typ Größe Benutzt > Priorität > /dev/sda2 partition 4000180 0 -1 > > shambhala:~> lsblk /dev/sda2 > NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT > sda2 8:2 0 3,8G 0 part [SWAP] > shambhala:~> LANG=C swapon -s > Filename Type Size Used > Priority > /dev/sda2 partition 4000180 0 -1 > > > Okay, I will upgrade to the new initramfs-tools and look whether it fixes the > issue. I think that the changes in 0.128 - to wait for the resume device to appear - may fix this problem. The changes I've posted here shouldn't make any difference for your configuration. > If not, I may try setting RESUME var to first "auto" and if not working > still then the device in question to see whether that helps. I welcome any > other ideas and I am willing to report back what I find. RESUME=auto isn't supported in a released version. Ben. -- Ben Hutchings I'm not a reverse psychological virus. Please don't copy me into your sig.
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH initramfs-tools 0/9] Fix resume device configuration Ben Hutchings <ben@decadent.org.uk> - 2017-04-21 05:40 +0200
[PATCH initramfs-tools 1/9] hooks/resume: Use correct sort options to select the biggest swap partition Ben Hutchings <ben@decadent.org.uk> - 2017-04-21 05:40 +0200
[PATCH initramfs-tools 3/9] Support setting of RESUME in initramfs.conf or anywhere in conf.d/ Ben Hutchings <ben@decadent.org.uk> - 2017-04-21 05:40 +0200
[PATCH initramfs-tools 6/9] Allow disabling resume from disk at build time by setting RESUME=none Ben Hutchings <ben@decadent.org.uk> - 2017-04-21 05:40 +0200
[PATCH initramfs-tools 5/9] hooks/resume: Check for chroot earlier Ben Hutchings <ben@decadent.org.uk> - 2017-04-21 05:40 +0200
[PATCH initramfs-tools 9/9] NEWS: Add entry explaining the need for RESUME=none on some systems Ben Hutchings <ben@decadent.org.uk> - 2017-04-21 05:40 +0200
[PATCH initramfs-tools 2/9] initramfs.conf(5): Clean up split between general and NFS variables Ben Hutchings <ben@decadent.org.uk> - 2017-04-21 05:40 +0200
[PATCH initramfs-tools 7/9] Support requesting automatic selection of resume device with RESUME=auto Ben Hutchings <ben@decadent.org.uk> - 2017-04-21 05:40 +0200
[PATCH initramfs-tools 8/9] hooks/resume: Report when we might be doing something surprising Ben Hutchings <ben@decadent.org.uk> - 2017-04-21 05:40 +0200
Re: [PATCH initramfs-tools 0/9] Fix resume device configuration Martin Steigerwald <martin@lichtvoll.de> - 2017-04-21 11:10 +0200
Re: [PATCH initramfs-tools 0/9] Fix resume device configuration Ben Hutchings <ben@decadent.org.uk> - 2017-04-21 17:20 +0200
Re: [PATCH initramfs-tools 0/9] Fix resume device configuration Michael Prokop <mika@debian.org> - 2017-04-21 14:30 +0200
Re: [PATCH initramfs-tools 0/9] Fix resume device configuration Bjørn Mork <bjorn@mork.no> - 2017-04-24 09:50 +0200
Re: [PATCH initramfs-tools 0/9] Fix resume device configuration Ben Hutchings <ben@decadent.org.uk> - 2017-04-26 05:40 +0200
csiph-web