Dump /proc/config.gz so we can see how the kernel is configured. This file only exists if the user compiles the kernel with the IKCONFIG_PROC option. It also requires that zcat is installed.
Signed-off-by: Robert Love <[email protected]> --- debug/fcoedump.sh | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/debug/fcoedump.sh b/debug/fcoedump.sh index 9a9856f..4ad5a88 100755 --- a/debug/fcoedump.sh +++ b/debug/fcoedump.sh @@ -22,6 +22,14 @@ kernel_info() { echo -e "\n###KERNEL INFO###" uname -a + + if [ -f "/proc/config.gz" ] + then + echo -e "\nzcat /proc/config.gz" + zcat /proc/config.gz + else + echo -e "\n/proc/config.gz does not exist." + fi } system_info() _______________________________________________ devel mailing list [email protected] http://www.open-fcoe.org/mailman/listinfo/devel
