Bug#336936: marked as done (initramfs-tools: suspend patch part 2)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Bug#336936: marked as done (initramfs-tools: suspend patch part 2)

Debian Bug Tracking System
Your message dated Thu, 03 Nov 2005 14:02:55 -0800
with message-id <[hidden email]>
and subject line Bug#336936: fixed in initramfs-tools 0.38
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 1 Nov 2005 21:12:52 +0000
>From [hidden email] Tue Nov 01 13:12:52 2005
Return-path: <[hidden email]>
Received: from 81-5-177-201.dsl.eclipse.net.uk (hades.smop.co.uk) []
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EX3R6-0001WU-00; Tue, 01 Nov 2005 13:12:52 -0800
Received: from wyvern.smop.co.uk ([])
        by hades.smop.co.uk with esmtp (Exim 4.52)
        id 1EX3R5-0008NR-Nm
        for [hidden email]; Tue, 01 Nov 2005 21:12:51 +0000
Received: from adrian by wyvern.smop.co.uk with local (Exim 3.36 #1 (Debian))
        id 1EX3QR-0004CA-00
        for <[hidden email]>; Tue, 01 Nov 2005 21:12:11 +0000
Date: Tue, 1 Nov 2005 21:12:11 +0000
To: [hidden email]
Subject: initramfs-tools: suspend patch part 2
Message-ID: <[hidden email]>
Reply-To: [hidden email]
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="fdj2RfSjLxBAspz7"
Content-Disposition: inline
User-Agent: Mutt/1.5.11
From: Adrian Bridgett <[hidden email]>
X-smop.co.uk-MailScanner: Found to be clean
X-smop.co.uk-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.599,
        required 5, autolearn=not spam, BAYES_00 -2.60)
X-smop.co.uk-MailScanner-From: [hidden email]
Delivered-To: [hidden email]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.5 required=4.0 tests=BAYES_30,HAS_PACKAGE
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: initramfs-tools
Version: 0.37

Well now I've had time to actually test it, it seems there is one
additional buglet - the kernel actually wants the major/minor numbers
in decimal, not in hex prefixed by "0x".

Two little patches to the scripts to fix this.  Suspend to disk tested
with 2.6.14rc5-mm1.  Resume worked too :-)

Many thanks for this - I was dreading having to hack on initrd!

Email: [hidden email]  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org
Avoid working with children, animals and Microsoft "operating" systems

Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="functions.diff"

--- functions.orig 2005-10-26 07:53:32.000000000 +0100
+++ functions 2005-11-01 21:06:03.000000000 +0000
@@ -228,7 +228,7 @@
  if [ -e /sys/power/resume ]; then
  if [ -e "${resume}" ]; then
  major_minor=$(ls -l ${resume} | \
- awk '{printf "0x%x:0x%x", $5, $6}')
+ awk '{printf "%d:%d", $5, $6}')
  echo $major_minor >/sys/power/resume

Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="suspend.diff"

--- local-premount/suspend.orig 2005-10-26 07:51:53.000000000 +0100
+++ local-premount/suspend 2005-11-01 21:06:18.000000000 +0000
@@ -24,6 +24,6 @@
 if [ -e /sys/power/resume ]; then
- major_minor=$(ls -l ${resume} | awk '{printf "0x%x:0x%x", $5, $6}')
+ major_minor=$(ls -l ${resume} | awk '{printf "%d:%d", $5, $6}')
  echo $major_minor >/sys/power/resume


Received: (at 336936-close) by bugs.debian.org; 3 Nov 2005 22:10:49 +0000
>From [hidden email] Thu Nov 03 14:10:49 2005
Return-path: <[hidden email]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EXnAd-00085e-00; Thu, 03 Nov 2005 14:02:55 -0800
From: maximilian attems <[hidden email]>
To: [hidden email]
X-Katie: $Revision: 1.56 $
Subject: Bug#336936: fixed in initramfs-tools 0.38
Message-Id: <[hidden email]>
Sender: Archive Administrator <[hidden email]>
Date: Thu, 03 Nov 2005 14:02:55 -0800
Delivered-To: [hidden email]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3

Source: initramfs-tools
Source-Version: 0.38

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

  to pool/main/i/initramfs-tools/initramfs-tools_0.38.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.38.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.38_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
maximilian attems <[hidden email]> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [hidden email])

Hash: SHA1

Format: 1.7
Date: Wed,  2 Nov 2005 07:21:29 +0100
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.38
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <[hidden email]>
Changed-By: maximilian attems <[hidden email]>
 initramfs-tools - tools for generating an initramfs
Closes: 336095 336617 336936
 initramfs-tools (0.38) unstable; urgency=low
   [ dann frazier ]
   * initramfs.conf: Reference correct manpage.  (Closes: #336095)
   [ maximilian attems ]
   * scripts/functions, scripts/local-premount/suspend: Fix suspend to disk
     by using decimal numbers. Thanks to Adrian Bridgett <[hidden email]>
     for the patch. (Closes: #336936)
   * hooks/evms: manual_add_module dm_mod, now we no longer pull it in by
     default. Thanks to Steinar H. Gunderson <[hidden email]>
     (Closes: #336617)
 4e5d33d9e178f63d9bb3c513160f4029 629 utils optional initramfs-tools_0.38.dsc
 5bdf457c4bd024c18996ba4055fa4ff5 24819 utils optional initramfs-tools_0.38.tar.gz
 a6f938219fc20d62cc249d0fbe39baac 29036 utils optional initramfs-tools_0.38_all.deb

Version: GnuPG v1.4.2 (GNU/Linux)


To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]