mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Bojan Smojver <bojan@rexursive.com>
Cc: "Linux-pm mailing list" <linux-pm@lists.linux-foundation.org>,
	Karel Zak <kzak@redhat.com>, LKML <linux-kernel@vger.kernel.org>,
	"Dr. David Alan Gilbert" <linux@treblig.org>
Subject: Re: [linux-pm] [PATCH] PM / Hibernate: Restore old swap signature to avoid user space breakage
Date: Sat, 11 Dec 2010 20:58:09 +0100	[thread overview]
Message-ID: <201012112058.09689.rjw@sisk.pl> (raw)
In-Reply-To: <1291592215.2866.3.camel@shrek.rexursive.com>

On Monday, December 06, 2010, Bojan Smojver wrote:
> On Sun, 2010-12-05 at 23:24 +0100, Rafael J. Wysocki wrote:
> > Commit 3624eb0 (PM / Hibernate: Modify signature used to mark swap)
> > modified hibernate signature used to mark swap partitions containing
> > hibernation images, but that turns out to have caused problems in
> > libblkid on recent Ubuntu.  Restore the old signature to avoid those
> > problems. 
> 
> Don't quite understand this change (sorry, probably just being obtuse).
> 
> The signature was changed to make sure older kernels don't handle
> compressed images by accident, right? If so, this would seem like a bad
> idea, because this is what can actually happen now.
> 
> Shouldn't user space learn how to handle both signatures instead?

I'm afraid I'll have to push this patch to Linus.  Turns out that Fedora 14
doesn't pass the resume= argument to the kernel and tries to trigger the resume
from initramfs.  Since the signature changed, it can't find the image and the
resume fails, even if both the resume and image kernels are the same.

Thanks,
Rafael

  parent reply	other threads:[~2010-12-11 19:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-05 22:24 Rafael J. Wysocki
2010-12-05 23:36 ` [linux-pm] " Bojan Smojver
2010-12-06 13:26   ` Karel Zak
2010-12-06 22:22     ` Rafael J. Wysocki
2010-12-11 19:58   ` Rafael J. Wysocki [this message]
2010-12-11 20:30     ` Bojan Smojver
2010-12-11 20:36       ` Rafael J. Wysocki
2010-12-11 20:47         ` Bojan Smojver
2010-12-11 20:49           ` R. J. Wysocki
2010-12-11 21:10             ` Bojan Smojver
2010-12-11 20:17 ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201012112058.09689.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=bojan@rexursive.com \
    --cc=kzak@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=linux@treblig.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome