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


Groups > linux.debian.kernel > #57586

Bug#860543: initramfs-tools: boot delayed by 30sec waiting for suspend/resume device

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#860543: initramfs-tools: boot delayed by 30sec waiting for suspend/resume device
Date 2017-04-18 20:50 +0200
Message-ID <txGmn-17N-37@gated-at.bofh.it> (permalink)
References <txzuy-5A7-21@gated-at.bofh.it> <txCiJ-7dQ-5@gated-at.bofh.it> <txCiJ-7dQ-5@gated-at.bofh.it> <txCC6-7kc-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

On Tue, 2017-04-18 at 16:41 +0200, Helios Solaris wrote:
> On Tue, 18 Apr 2017 15:19:21 +0100 Ben Hutchings <ben@decadent.org.uk>
> wrote:
> 
> > Does this system have a swap partition?
> > 
> > Is there a resume device specified in
> > /etc/initramfs-tools/conf.d/resume and does it exist?
> 
> I have the same issue.
> 
> My system does not have a swap partition.
> 
> /etc/initramfs-tools/conf.d/resume exists and did not contain a valid
> device. The problem still persists, if I enter a valid UUID, or remove
> the file.

This issue should only affect systems that have a nonexistent device
specified in the configuration, or that have a swap device that isn't
suitable as a resume device because it's not set up early enough.
Previously we would only look for the resume device once, so this
didn't hurt, but it also meant that resume was broken on some systems.

Unfortunately, as you've seen, there isn't currently a way to
completely disable use of a resume device when building the initramfs. 
It *is* possible to do so at boot time (kernel parameter 'noresume' or
'resume=').

I think I need to add:

- The option to disable use of a resume device in the configuration
  (e.g. RESUME=none)
- A warning on upgrade if the configured resume device doesn't exist or
  is unlikely to be available

Ben.

-- 
Ben Hutchings
The world is coming to an end.	Please log off.

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


Thread

Bug#860543: initramfs-tools: boot delayed by 30sec waiting for suspend/resume device Jos van Wolput <wolput@on.nl> - 2017-04-18 13:30 +0200
  Processed: Re: Bug#860543: initramfs-tools: boot delayed by 30sec  waiting for suspend/resume device owner@bugs.debian.org (Debian Bug Tracking System) - 2017-04-18 16:30 +0200
  Bug#860543: initramfs-tools: boot delayed by 30sec waiting for suspend/resume device Ben Hutchings <ben@decadent.org.uk> - 2017-04-18 16:30 +0200
    Bug#860543: initramfs-tools: boot delayed by 30sec waiting for suspend/resume device Helios Solaris <helios.solaris@gmx.ch> - 2017-04-18 16:50 +0200
      Bug#860543: initramfs-tools: boot delayed by 30sec waiting for suspend/resume device Ben Hutchings <ben@decadent.org.uk> - 2017-04-18 20:50 +0200
  Bug#860543: marked as done (initramfs-tools: boot delayed by  30sec waiting for suspend/resume device) owner@bugs.debian.org (Debian Bug Tracking System) - 2017-04-24 02:40 +0200

csiph-web