Bug#463607: initramfs-tools: hook-functions have hardcoded list of net drivers, omiting many popular chips
Package: initramfs-tools
Version: 0.85h
Severity: normal
/usr/share/initramfs-tools/hook-functions in function auto_add_modules
we have list of net drivers. I suppose that list is used instand of copying
files from drivers/net/ directory to save space, but many drivers (especially
from newer kernel 2.6.22) are omited (i.e. sky2, atl1). For people with
this net adapters MODULES=netboot, or usage of live-initramfs for netboot,,
or FAI installation via PXE will not work (on etch and lenny).
Please update list of drivers, and add proper comment to
default initramfs.conf, becaouse currently they implictly indicate that
all network modules are added:
-# netboot - Add the base modules, network modules, but skip block devices.
+# netboot - Add the base modules, some network modules, but skip block devices.
-- Package-specific info:
-- /proc/cmdline
root=/dev/sda2 ro
-- /proc/filesystems
cramfs
ext3
vfat
-- lsmod
Module Size Used by
nfsd 197936 17
exportfs 5600 1 nfsd
iptable_mangle 2880 0
iptable_nat 7044 0
ip_nat 16876 1 iptable_nat
ip_conntrack 49088 2 iptable_nat,ip_nat
nfnetlink 6680 2 ip_nat,ip_conntrack
iptable_filter 3104 0
ip_tables 13028 3 iptable_mangle,iptable_nat,iptable_filter
x_tables 13316 2 iptable_nat,ip_tables
ipv6 226272 20
dm_snapshot 15552 0
dm_mirror 19152 0
dm_mod 50232 2 dm_snapshot,dm_mirror
fuse 39892 0
nfs 202828 2
lockd 54344 3 nfsd,nfs
nfs_acl 3584 2 nfsd,nfs
sunrpc 138812 14 nfsd,nfs,lockd,nfs_acl
vfat 11872 0
fat 46652 1 vfat
autofs4 19748 3
binfmt_misc 10984 1
ohci_hcd 18276 0
usbkbd 6816 0
serio_raw 6660 0
i2c_i801 7468 0
eth1394 18212 0
tsdev 7520 0
i2c_core 19680 1 i2c_i801
psmouse 35016 0
evdev 9088 1
atl1 39576 0
floppy 53156 0
rtc 12372 0
pcspkr 3072 0
ext3 119240 6
jbd 52456 1 ext3
mbcache 8356 1 ext3
ide_cd 36064 0
cdrom 32544 1 ide_cd
sd_mod 19040 8
generic 4868 0 [permanent]
jmicron 4192 0 [permanent]
ide_core 110504 3 ide_cd,generic,jmicron
usbhid 37248 0
ata_piix 13896 7
ohci1394 30800 0
ieee1394 86904 2 eth1394,ohci1394
ahci 17924 0
libata 89396 2 ata_piix,ahci
scsi_mod 124168 3 sd_mod,ahci,libata
ehci_hcd 28136 0
uhci_hcd 21164 0
usbcore 112644 6 ohci_hcd,usbkbd,usbhid,ehci_hcd,uhci_hcd
thermal 13608 0
processor 28840 1 thermal
fan 4804 0
-- kernel-img.conf
do_symlinks = Yes
do_initrd = Yes
silent_modules=yes
clobber_modules=yes
do_boot_enable=no
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Versions of packages initramfs-tools depends on:
ii busybox 1:1.1.3-4 Tiny utilities for small and embed
ii cpio 2.6-17 GNU cpio -- a program to manage ar
ii klibc-utils 1.4.34-2 small statically-linked utilities
ii module-init-tools 3.3-pre4-2 tools for managing Linux kernel mo
ii udev 0.105-4 /dev/ and hotplug management daemo
initramfs-tools recommends no packages.
-- no debconf information
Reply to: