From: buffalo-pull Date: Fri, 18 Jun 2004 13:22:51 +0000 (+0000) Subject: Before trying to insmod a .o module, try to modprobe one from the current X-Git-Tag: v1_8_0_110~486^5~188 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=30955503aa718075f185517cf146ff088ac88a1a;p=fs%2Flustre-release.git Before trying to insmod a .o module, try to modprobe one from the current kernel. Also, try to insmod a .ko module if a .o module fails, for kernel 2.6. --- diff --git a/lustre/tests/run-llog.sh b/lustre/tests/run-llog.sh index 5d46e2b..31e9d6a 100644 --- a/lustre/tests/run-llog.sh +++ b/lustre/tests/run-llog.sh @@ -5,7 +5,7 @@ TMP=${TMP:-/tmp} MDS=`ls /proc/fs/lustre/mds | grep -v num_refs | head -1` [ -z "$MDS" ] && echo "no MDS available, skipping llog test" && exit 0 -insmod ../obdclass/llog_test.o || exit 1 +modprobe llog_test || insmod ../obdclass/llog_test.o || insmod ../obdclass/llog_test.ko || exit 1 lctl modules > $TMP/ogdb-`hostname` echo "NOW reload debugging syms.."