Subject: does not find all .ko kernel drivers Package: mkinitrd-cd Version: 0.50 Severity: important Tags: patch
*** Please type your report below this line *** Hi Rene, the new mkinitrd-cd version is fantastic, but it does not work at all for a 2.6 kernel, since it does not find all .ko kernel modules needed. The patch is attached. regards thomas pittermaennche[/usr/sbin]> diff -u mkinitrd-cd.orig mkinitrd-cd --- mkinitrd-cd.orig 2005-03-06 19:05:23.000000000 +0100 +++ mkinitrd-cd 2005-03-25 09:56:06.528966352 +0100 @@ -124,10 +124,7 @@ if [ -d $modulepath/$n ] ; then for f in `find $modulepath/$n/ -name '*.o' -o -name '*.ko'`; do # copy only those that are also listed in scsiprobe.dat - mod=`expr $(basename $f) : '\(.*\).o'` - if [ -z "$mod" ]; then - mod=`expr $(basename $f) : '\(.*\).ko'` - fi + mod=`expr $(basename $f) : '\(.*\)\.[k]*o'` echo -ne " $mod\t" # cosmetics (another tab for short file names) if [ `expr "$mod" : '.*'` -lt 4 ]; then -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.9 Locale: LANG=C, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages mkinitrd-cd depends on: ii discover-data 2.2005.02.13-1 Data lists for Discover hardware d ii dosfstools 2.10-1 Utilities to create and check MS-D ii gcc 4:3.3.5-1 The GNU C compiler ii libuclibc-dev 0.9.26-cvs20040816-5.1 A small implementation of the C li ii libuclibc0 0.9.26-cvs20040816-5.1 A small implementation of the C li ii make 3.80-9 The GNU version of the "make" util ii makedev 2.3.1-77 creates device files in /dev ii mtools 3.9.9-2.1 Tools for manipulating MSDOS files ii syslinux 2.11-0.1 Bootloader for Linux/i386 using MS ii uclibc-toolchain 0.9.26-cvs20040816-5.1 A compiler wrapper for uClibc -- no debconf information -- regards Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]