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

Bug#518412: marked as done (initramfs-tools: must support relative paths in modules.dep)



Your message dated Sun, 22 Mar 2009 15:39:10 +0100
with message-id <200903221539.11311.elendil@planet.nl>
and subject line Bug#518412: initramfs-tools: must support relative paths in modules.dep
has caused the Debian Bug report #518412,
regarding initramfs-tools: must support relative paths in modules.dep
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
518412: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518412
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: module-init-tools
Version: 3.7-pre5-1 0
Severity: important

Recently kernels I built from upstream kernel source failed to boot
after unpacking them because no modules got included in the initramfs
initrd (and thus no root file system).
This problem was solved after downgrading to m-i-t 3.4.1.

The problem seems to be that depmod, which is run as part of the build,
generates a modules.dep file with incomplete paths. These incomplete paths
in turn cause initramfs-tools to create a broken initrd.

An example line from modules.dep, with old m-i-t:
/lib/modules/2.6.27.19/kernel/arch/s390/crypto/sha512_s390.ko: /lib/modules/2.6.27.19/kernel/arch/s390/crypto/sha_common.ko
With new m-i-t:
kernel/arch/s390/crypto/sha512_s390.ko: kernel/arch/s390/crypto/sha_common.ko


The depmod invocation used in the upstream kernel Makefile is:
      cmd_depmod = \
        if [ -r System.map -a -x $(DEPMOD) ]; then                              \
                $(DEPMOD) -ae -F System.map                                     \
                $(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r)   \
                $(KERNELRELEASE);                                               \
        fi

-- System Information:
Debian Release: 5.0
  APT prefers sid
  APT policy: (500, 'sid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-rc7 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



--- End Message ---
--- Begin Message ---
We've already shown that there is no issue in initramfs-tools and on 
reflection the requirement to run depmod is not unreasonable.

As the standard Debian maintainer scripts for kernel images already run 
depmod, it would be unreasonable to have i-t do that as well.

Therefore closing.


--- End Message ---

Reply to: