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

Bug#342616: marked as done (initramfs-tools: MODULES=dep doesn't work)



Your message dated Sat, 14 Jan 2006 16:02:19 -0800
with message-id <E1ExvLf-0002H1-Ou@spohr.debian.org>
and subject line Bug#342616: fixed in initramfs-tools 0.50c
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; 8 Dec 2005 23:10:14 +0000
>From delepine@nnx.com Thu Dec 08 15:10:14 2005
Return-path: <delepine@nnx.com>
Received: from jcd.fdn.fr ([80.67.176.3] helo=orcal.delepine.info)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EkUtx-0003z2-8L
	for submit@bugs.debian.org; Thu, 08 Dec 2005 15:10:14 -0800
Received: from localhost (localhost [127.0.0.1])
	by orcal.delepine.info (Postfix) with ESMTP id 8E54A1B5FD;
	Fri,  9 Dec 2005 00:10:09 +0100 (CET)
Received: from orcal.delepine.info ([127.0.0.1])
	by localhost (orcal [127.0.0.1]) (amavisd-new, port 10024) with LMTP
	id 31432-02; Fri, 9 Dec 2005 00:10:02 +0100 (CET)
Received: from localhost.localdomain (poucet.wifi.delepine.info [10.80.137.43])
	by orcal.delepine.info (Postfix) with ESMTP id B858A1B5CD;
	Fri,  9 Dec 2005 00:10:01 +0100 (CET)
Content-Type: multipart/mixed; boundary="===============0095790450=="
MIME-Version: 1.0
From: Jean Charles Delepine <delepine@nnx.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: initramfs-tools: MODULES=dep doesn't work
Message-ID: <20051208231029.28166.35064.reportbug@localhost.localdomain>
X-Mailer: reportbug 3.18
Date: Fri, 09 Dec 2005 00:10:29 +0100
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at delepine.info
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============0095790450==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: initramfs-tools
Version: 0.42
Severity: important
Tags: patch

# mkinitramfs  -o /boot/initrd.img-2.6.15-rc5-swsusp2-bs-jcd
# 2.6.15-rc5-swsusp2-bs-jcd 
ln: creating symbolic link `/tmp/mkinitramfs_RfGT0L/./modprobe' to
`modprobe': File exists
[...]
ln: creating symbolic link `/tmp/mkinitramfs_RfGT0L/bin/true' to
`/usr/lib/klibc/bin/true': File exists
cpio: ./modprobe: Too many levels of symbolic links

It's due to 'modprobe --show-depends'  printing not only insmod command 
but also install ones :

# modprobe --set-version=2.6.15-rc5-swsusp2-bs-jcd --show-depends
pci:v00008086d000024C5sv0000152Dsd00000728bc04sc01i00
WARNING: Not loading blacklisted module i810_audio
insmod
/lib/modules/2.6.15-rc5-swsusp2-bs-jcd/kernel/sound/core/snd-page-alloc.ko 
insmod /lib/modules/2.6.15-rc5-swsusp2-bs-jcd/kernel/sound/soundcore.ko 
install modprobe --ignore-install snd && { modprobe --quiet snd-ioctl32
; : ; }
insmod
/lib/modules/2.6.15-rc5-swsusp2-bs-jcd/kernel/sound/core/snd-timer.ko 
install modprobe --ignore-install snd-pcm && { modprobe --quiet
snd-pcm-oss ; : ; }
insmod
/lib/modules/2.6.15-rc5-swsusp2-bs-jcd/kernel/sound/pci/ac97/snd-ac97-bus.ko 
insmod
/lib/modules/2.6.15-rc5-swsusp2-bs-jcd/kernel/sound/pci/ac97/snd-ac97-codec.ko 
install modprobe --ignore-install snd-intel8x0  &&
/lib/alsa/modprobe-post-install snd-intel8x0

In manual_add_modules() :
   for mam_x in $(modprobe --set-version="${version}"
	--show-depends "${1}" 2>/dev/null | awk '{ print $2 }'); do
[...]
     ln -s "${mam_x}" "${DESTDIR}/$(dirname "${mam_x}")"

With mam_x = modprobe there's a problem...

Quick fix :


--- /usr/share/initramfs-tools/hook-functions.old	2005-12-08 23:39:13.000000000 +0100
+++ /usr/share/initramfs-tools/hook-functions	2005-12-08 23:36:48.000000000 +0100
@@ -40,7 +40,7 @@
 
 manual_add_modules()
 {
-	for mam_x in $(modprobe --set-version="${version}" --show-depends "${1}" 2>/dev/null | awk '{ print $2 }'); do
+	for mam_x in $(modprobe --set-version="${version}" --show-depends "${1}" 2>/dev/null | awk '/^insmod/ { print $2 }'); do
 		# Prune duplicates
 		if [ -e "${DESTDIR}/${mam_x}" ]; then
 			continue

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-rc2.jcd
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.01-3   Tiny utilities for small and embed
ii  cpio                          2.6-9      GNU cpio -- a program to manage ar
ii  klibc-utils                   1.1.1-4    small statically-linked utilities 
ii  udev                          0.076-5    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information

--===============0095790450==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="hook-functions.diff"

--- /usr/share/initramfs-tools/hook-functions.old	2005-12-08 23:39:13.000000000 +0100
+++ /usr/share/initramfs-tools/hook-functions	2005-12-08 23:36:48.000000000 +0100
@@ -40,7 +40,7 @@
 
 manual_add_modules()
 {
-	for mam_x in $(modprobe --set-version="${version}" --show-depends "${1}" 2>/dev/null | awk '{ print $2 }'); do
+	for mam_x in $(modprobe --set-version="${version}" --show-depends "${1}" 2>/dev/null | awk '/^insmod/ { print $2 }'); do
 		# Prune duplicates
 		if [ -e "${DESTDIR}/${mam_x}" ]; then
 			continue

--===============0095790450==--

---------------------------------------
Received: (at 342616-close) by bugs.debian.org; 15 Jan 2006 00:10:35 +0000
>From katie@ftp-master.debian.org Sat Jan 14 16:10:35 2006
Return-path: <katie@ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1ExvLf-0002H1-Ou; Sat, 14 Jan 2006 16:02:19 -0800
From: maximilian attems <maks@sternwelten.at>
To: 342616-close@bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#342616: fixed in initramfs-tools 0.50c
Message-Id: <E1ExvLf-0002H1-Ou@spohr.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 14 Jan 2006 16:02:19 -0800
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: 2

Source: initramfs-tools
Source-Version: 0.50c

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.50c.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.50c.dsc
initramfs-tools_0.50c.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.50c.tar.gz
initramfs-tools_0.50c_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.50c_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 342616@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: Sat, 14 Jan 2006 17:40:48 +0100
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.50c
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: 340258 342616
Changes: 
 initramfs-tools (0.50c) unstable; urgency=low
 .
   "E so io muoio da partigiano"
 .
   * hook-functions: Fix MODULES=dep as `modprobe --show-depends' prints not
     only the insmod commands, but also the install ones.  Thanks for the patch
     to Jean Charles Delepine <delepine@nnx.com>. (Closes: #342616)
 .
   * hooks/evms, scripts/local-top/evms: EVMS takes care of it's own hooks, rm.
     Thanks Steinar H. Gunderson <sesse@debian.org>. (Closes: 340258)
Files: 
 fc78a9e180f98a3860a87eb27f9d17d8 631 utils optional initramfs-tools_0.50c.dsc
 5977d3ed14b0a45183bfaaf012c86861 30485 utils optional initramfs-tools_0.50c.tar.gz
 5f11ac451cd2224cd3d61cbe3c0b20cb 35346 utils optional initramfs-tools_0.50c_all.deb

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

iD8DBQFDyY9iXKRQ3lK3SH4RAnc0AJ0XrGoM0gW1pB4mBNA3l81Fqdc4mwCfT0nZ
7cXgBCXkSscdsDHZY+ped2o=
=NtOH
-----END PGP SIGNATURE-----



Reply to: