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

Bug#615831: [PATCH 1/2] panic(): print the name of kernel each module before loading it



Loading a kernel module can crash the system so it is useful that the
user sees which module might be causing trouble.
---
 scripts/functions |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/functions b/scripts/functions
index 9b961d2..0a02f04 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -44,8 +44,8 @@ panic()
 		sleep ${panic}
 		reboot
 	fi
-	modprobe i8042
-	modprobe atkbd
+	modprobe -v i8042
+	modprobe -v atkbd
 	REASON="$@" PS1='(initramfs) ' /bin/sh -i </dev/console >/dev/console 2>&1
 }
 
-- 
1.7.2.5




Reply to: