[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Your message dated Thu, 03 Nov 2005 14:02:55 -0800
with message-id <E1EXnAd-00085e-00@spohr.debian.org>
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 adrian@smop.co.uk Tue Nov 01 13:12:52 2005
Return-path: <adrian@smop.co.uk>
Received: from 81-5-177-201.dsl.eclipse.net.uk (hades.smop.co.uk) [81.5.177.201] 
	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 ([192.168.8.2])
	by hades.smop.co.uk with esmtp (Exim 4.52)
	id 1EX3R5-0008NR-Nm
	for submit@bugs.debian.org; 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 <submit@bugs.debian.org>; Tue, 01 Nov 2005 21:12:11 +0000
Date: Tue, 1 Nov 2005 21:12:11 +0000
To: submit@bugs.debian.org
Subject: initramfs-tools: suspend patch part 2
Message-ID: <20051101211211.GA15565@wyvern.smop.co.uk>
Reply-To: adrian@smop.co.uk
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="fdj2RfSjLxBAspz7"
Content-Disposition: inline
User-Agent: Mutt/1.5.11
From: Adrian Bridgett <adrian@smop.co.uk>
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: adrian@smop.co.uk
Delivered-To: submit@bugs.debian.org
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-Level: 
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


--fdj2RfSjLxBAspz7
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!

Adrian
-- 
Email: adrian@smop.co.uk  -*-  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

--fdj2RfSjLxBAspz7
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
 		fi
 	fi

--fdj2RfSjLxBAspz7
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 @@
 fi
 
 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
 fi

--fdj2RfSjLxBAspz7--

---------------------------------------
Received: (at 336936-close) by bugs.debian.org; 3 Nov 2005 22:10:49 +0000
>From katie@spohr.debian.org Thu Nov 03 14:10:49 2005
Return-path: <katie@spohr.debian.org>
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 <maks@sternwelten.at>
To: 336936-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#336936: fixed in initramfs-tools 0.38
Message-Id: <E1EXnAd-00085e-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Thu, 03 Nov 2005 14:02:55 -0800
Delivered-To: 336936-close@bugs.debian.org
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-Level: 
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:

initramfs-tools_0.38.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.38.dsc
initramfs-tools_0.38.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.38.tar.gz
initramfs-tools_0.38_all.deb
  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
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 336936@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@sternwelten.at> (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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
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 <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@sternwelten.at>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 336095 336617 336936
Changes: 
 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 <adrian@smop.co.uk>
     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 <sesse@debian.org>
     (Closes: #336617)
Files: 
 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDaoLKXKRQ3lK3SH4RAp0eAJ9FO5po8W0m4xfP28ao975kLuF8VgCgs6kR
1dlTD4O/UyraRn5DuOwYG0w=
=X+n9
-----END PGP SIGNATURE-----



Reply to: