--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: initrd-tools: Disabling unloading of ide modules with kernel 2.6.10
- From: David Schweikert <dws@ee.ethz.ch>
- Date: Wed, 23 Feb 2005 13:05:02 +0100
- Message-id: <20050223120502.A7EBB35D3E@neptun.localhost>
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
--- End Message ---
--- Begin Message ---
Version: 0.1.84.2+rm
The initrd-tools package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.
For more information about this package's removal, read
http://bugs.debian.org/393092 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
--
Lucas
--- End Message ---