Whamcloud - gitweb
Before trying to insmod a .o module, try to modprobe one from the current
authorbuffalo-pull <buffalo-pull>
Fri, 18 Jun 2004 13:22:51 +0000 (13:22 +0000)
committerbuffalo-pull <buffalo-pull>
Fri, 18 Jun 2004 13:22:51 +0000 (13:22 +0000)
kernel.
Also, try to insmod a .ko module if a .o module fails, for kernel 2.6.

lustre/tests/run-llog.sh

index 5d46e2b..31e9d6a 100644 (file)
@@ -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.."