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