[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#296579: initrd-tools: Disabling unloading of ide modules with kernel 2.6.10



This problem is still there for 2.6.11 (and up, probably)

As it's not problematic to try to rmmod, maybe we can just consider it a
cosmetic bug and do something like:


--- init	2005-04-10 16:14:12.000000000 +0200
+++ init.new	2005-05-14 09:01:24.000000000 +0200
@@ -300,7 +300,7 @@
 		set -- /sys/bus/pci/drivers/$ret/*:*
 		unset IFS
 		if [ ! -h "$1" ]; then
-			rmmod $i
+			rmmod $i > /dev/null 2>&1
 		fi
 	done


This makes the bootup just a bit less noisy, and less "scary".


I agree that these modules should probably not be loaded in the first
place. Maybe hotplug-ng -in-initrd is the (long-term) answer? 


-- M





Reply to: