it looks a bit different from a cold boot.... [ 21.469292] PM: Starting manual resume from disk [ 21.469727] PM: Resume from partition 9:2 [ 21.469730] PM: Checking hibernation image. [ 21.796903] PM: Error -22 checking image file [ 21.796908] PM: Resume from disk failed.
2.6.35 controlling hibernation? --- On Tue, 6/15/10, maximilian attems <m...@stro.at> wrote: > From: maximilian attems <m...@stro.at> > Subject: Bug#586006: initramfs-tools: noisy resume > To: "Colin Watson" <cjwat...@ubuntu.com>, 586...@bugs.debian.org > Date: Tuesday, June 15, 2010, 12:21 PM > reassign 586006 klibc > thanks > > On Tue, Jun 15, 2010 at 05:21:27PM +0100, Colin Watson > wrote: > > > > We had a bug report (https://bugs.launchpad.net/bugs/432585) a while > > back about kinit saying things like "No resume image, > doing normal > > boot..." on startup. Scott James Remnant <sc...@ubuntu.com> > corrected > > this by just throwing away stdout and stderr from > /bin/resume, with this > > changelog message: > > > > * Silence output when trying to > resume, since the only output is bitching > > that we can't resume because > we didn't hibernate in the first place. > > LP: #432585. > > > > Here's his patch, rebased on current git: > > > > diff --git a/scripts/local-premount/resume > b/scripts/local-premount/resume > > index 11acfc7..1cfc479 100755 > > --- a/scripts/local-premount/resume > > +++ b/scripts/local-premount/resume > > @@ -57,7 +57,7 @@ esac > > > > # hardcode path, uswsusp ships an resume binary > too > > if [ -n "${resume_offset}" ]; then > > - /bin/resume ${resume} > ${resume_offset} > > + /bin/resume ${resume} > ${resume_offset} >/dev/null 2>&1 > > else > > - /bin/resume ${resume} > > + /bin/resume ${resume} > >/dev/null 2>&1 > > fi > > > > Thanks, > > this should be reassigned to klibc and is fixed in my > latest > patch queue to hpa with > [klibc] resume: silence warning on resume try > > will hack next weekend on that queue to finalize it's > submission. > > thank you. > > > > -- > To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/20100615162134.gn9...@baikonur.stro.at > > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org