FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 06-15-2010, 04:21 PM
Colin Watson
 
Default Bug#586006: initramfs-tools: noisy resume

Package: initramfs-tools
Version: 0.96.1
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch maverick

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 <scott@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,

--
Colin Watson [cjwatson@ubuntu.com]



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100615162127.GZ21862@riva.ucam.org">http://lists.debian.org/20100615162127.GZ21862@riva.ucam.org
 
Old 06-15-2010, 04:21 PM
maximilian attems
 
Default Bug#586006: initramfs-tools: noisy resume

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 <scott@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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100615162134.GN9869@baikonur.stro.at">http://lists.debian.org/20100615162134.GN9869@baikonur.stro.at
 

Thread Tools




All times are GMT. The time now is 07:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org