Package: initrd-tools
Version: 0.1.77
Severity: minor

When booting a 2.6.10 kernel with initrd, many error messages like this
are produced:

ERROR: Removing 'amd74xx': Device or resource busy

The problem is that kernel 2.6.10 (and probably also others) is unable
to unload ide modules. This error message is very worrying for new users
and I have thus made a patch (attached) for our local installation,
which disables the unloading of ide modules on kernel 2.6.10. Maybe
other kernels can be included in the list too.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-isgee-neptun-1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages initrd-tools depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  cpio                          2.5-1.2    GNU cpio -- a program to manage ar
ii  cramfsprogs                   1.1-6      Tools for CramFs (Compressed ROM F
ii  dash                          0.5.2-1    The Debian Almquist Shell
ii  util-linux                    2.12-10    Miscellaneous system utilities

-- no debconf information
--- init.old    2005-01-23 19:38:08.000000000 +0100
+++ init        2005-02-23 12:46:34.000000000 +0100
@@ -281,6 +281,11 @@
        oldstyle=$1
        shift
 
+       # unloading doesn't work with kernel 2.6.10
+       case $(cat /proc/version) in
+               "Linux version 2.6.10"*) return;;
+       esac
+
        if ! [ $oldstyle ]; then
                mount -nt sysfs sysfs sys
        fi

Reply via email to