Lines Matching refs:kmod
5 # This is a stress test script for kmod, the kernel module loader. It uses
9 # The way kmod works is it uses the kernel's usermode helper API to eventually
30 TEST_NAME="kmod"
97 MODPROBE_LIMIT_FILE="${PROC_DIR}/kmod-limit"
107 if ! which kmod 2> /dev/null > /dev/null; then
108 echo "$0: You need kmod installed" >&2
112 # kmod 19 has a bad bug where it returns 0 when modprobe
118 KMOD_VERSION=$(kmod --version | awk '{print $3}')
120 echo "$0: You need at least kmod 20" >&2
121 echo "kmod <= 19 is buggy, for details see:" >&2
122 echo "https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/libkmod/libkmod-module.c?id=fd44a98ae2eb5eb32161088954ab21e58e19dfc4" >&2
152 # kmod calls modprobe and upon of a module not found
279 echo "$1: OK! - loading kmod test"
289 echo "$1: OK! - kmod test case failed as expected"