--- Begin Message ---
Package: initramfs-tools
Version: 0.82
Severity: minor
Tags: patch
If your kernel configuration is such that no modules are required in
the initramfs then /lib/modules/${version}/ is never created and on boot
you get some noisy message:
FATAL: Could not load /lib/modules/${version}/modules.dep: No such file or directory
(several times)
This can happen if you are using initramfs only to get early udev etc.
I've pasted a simple patch below, with the following changelog entry:
* mkinitramfs: Ensure that /lib/modules/${version} exists. Otherwise
if no modules are required a warning is issued at boot.
Thanks,
Ian.
--- initramfs-tools-0.83/mkinitramfs 2006-09-27 14:31:49.000000000 +0100
+++ initramfs-tools-0.84/mkinitramfs 2006-10-17 12:45:45.000000000 +0100
@@ -166,7 +166,7 @@
# Private, used by 'catenate_cpiogz'.
export __TMPCPIOGZ
-for d in bin conf/conf.d etc lib modules sbin scripts; do
+for d in bin conf/conf.d etc lib modules sbin scripts ${MODULESDIR}; do
mkdir -p "${DESTDIR}/${d}"
done
-- Package-specific info:
-- /proc/cmdline
root=/dev/mapper/Vol00-root ro console=tty0
-- /proc/filesystems
cramfs
ext3
ext2
msdos
vfat
-- lsmod
Module Size Used by
nls_iso8859_1 9856 0
vfat 18048 0
nls_cp437 11520 0
msdos 14336 0
fat 56496 2 vfat,msdos
ext2 70288 0
loop 20112 0
binfmt_misc 17292 1
nfs 236216 6
nfsd 256200 17
exportfs 10368 1 nfsd
lockd 67600 3 nfs,nfsd
nfs_acl 8320 2 nfs,nfsd
sunrpc 166984 13 nfs,nfsd,lockd,nfs_acl
autofs4 27912 4
ipv6 285664 30
ide_disk 20608 0
tsdev 13056 0
snd_ens1371 32192 3
gameport 21264 1 snd_ens1371
snd_ac97_codec 106456 1 snd_ens1371
snd_ac97_bus 7296 1 snd_ac97_codec
snd_pcm_oss 48672 0
snd_mixer_oss 21888 1 snd_pcm_oss
snd_pcm 89096 4 snd_ens1371,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy 8580 0
snd_seq_oss 37248 0
snd_seq_midi 13632 0
snd_rawmidi 31392 2 snd_ens1371,snd_seq_midi
snd_seq_midi_event 12544 2 snd_seq_oss,snd_seq_midi
snd_seq 59520 6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 29192 3 snd_pcm,snd_seq
snd_seq_device 13204 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 65256 14
snd_ens1371,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
parport_pc 41640 0
soundcore 15392 1 snd
psmouse 44432 0
i2c_i801 13076 0
parport 44684 1 parport_pc
serio_raw 12036 0
sky2 45700 0
intel_agp 29248 1
snd_page_alloc 14864 1 snd_pcm
i2c_core 27776 1 i2c_i801
evdev 15360 1
pcspkr 7808 0
floppy 67112 0
ext3 138384 9
jbd 65008 1 ext3
mbcache 14216 2 ext2,ext3
dm_mirror 25216 0
dm_snapshot 20536 0
dm_mod 62800 19 dm_mirror,dm_snapshot
ide_generic 5760 0 [permanent]
sd_mod 25856 4
ide_cd 45088 0
cdrom 40488 1 ide_cd
ata_piix 19976 3
ehci_hcd 36104 0
libata 106784 1 ata_piix
scsi_mod 152880 2 sd_mod,libata
uhci_hcd 28432 0
piix 15492 0 [permanent]
generic 10756 0 [permanent]
ide_core 147584 5 ide_disk,ide_generic,ide_cd,piix,generic
thermal 20240 0
processor 38248 1 thermal
fan 9864 0
-- kernel-img.conf
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = yes
postinst_hook = /sbin/update-grub
postrm_hook = /sbin/update-grub
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages initramfs-tools depends on:
ii busybox 1:1.1.3-3 Tiny utilities for small
and embed
ii cpio 2.6-17 GNU cpio -- a program to
manage ar
ii klibc-utils 1.4.27-1 small statically-linked
utilities
ii module-init-tools 3.2.2-3 tools for managing Linux
kernel mo
ii udev 0.100-2 /dev/ and hotplug
management daemo
initramfs-tools recommends no packages.
-- no debconf information
--
Ian Campbell
Current Noise: Atheist - Green
A wise man can see more from a mountain top than a fool can from the bottom
of a well.
--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.84
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.84.dsc
to pool/main/i/initramfs-tools/initramfs-tools_0.84.dsc
initramfs-tools_0.84.tar.gz
to pool/main/i/initramfs-tools/initramfs-tools_0.84.tar.gz
initramfs-tools_0.84_all.deb
to pool/main/i/initramfs-tools/initramfs-tools_0.84_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 393688@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, 18 Oct 2006 11:04:50 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.84
Distribution: unstable
Urgency: high
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: 380004 384043 393543 393688 393773
Changes:
initramfs-tools (0.84) unstable; urgency=high
.
Release "A-t-on pris à Saint-Périne, Tous ces dictateurs impotents ?"
.
* hook-functions: Use modprobe --ignore-install arg to put all listed
modules on initramfs. Thanks Mario Izquierdo <mariodebian@gmail.com>
for report. (closes: 384043)
.
* update-initramfs: If elilo is around run it on initramfs update, add
zipl run.
.
* scripts/local: Use vol_id too if around to set FSTYPE. Thanks for the
patch to "Alex Owen" <r.alex.owen@gmail.com> (closes: 380004)
.
* hooks/thermal: Add many of the windfarm modules for powerpc boxes.
.
* initramfs-tools.preinst: merge bits of 0.69ubuntu16. (closes: 393773)
urgency high as fixes upgrade from sarge - thanks Federico Grau
<donfede@casagrau.org>.
.
* scripts/init-top/framebuffer: Fix mknod call. (closes: 393543)
Thanks for the patch Kiro Zimmer <debian@kironet.de>.
.
* mkinitramfs: Create modulesdir even on monolithic linux. (closes: 393688)
Thanks for the patch Ian Campbell <ijc@hellion.org.uk>.
Files:
8f0c45b875862fe5023efeb9d7aefc2b 623 utils optional initramfs-tools_0.84.dsc
53887142b54882923678548bf3b6db84 53697 utils optional initramfs-tools_0.84.tar.gz
4526582fc5bb419347e7631eec701514 60354 utils optional initramfs-tools_0.84_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFNkLQ6n7So0GVSSARAvIkAJ0Y/vRBpK7a+2JYNADpFpgH7J8kWwCgjE6r
gDj4u2IBZapXKoqA9eG7bTU=
=kPzR
-----END PGP SIGNATURE-----
--- End Message ---