Busybox: disable CONFIG_MODPROBE_SMALL

Enabling MODPROBE_SMALL causes busybox to supply a version of the kernel
module handling utilities (modprobe, etc.) that rely on a special module
dependency index (modules.dep.bb) instead of the traditional indexes
(modules.dep, etc.) used and generated by module-init-tools.  Buildroot
only supports the traditional indexes.

When modules.dep.bb is missing, busybox will attempt to load a module
before checking for dependencies, resulting in a flood of "unknown
symbol" errors in dmesg when dependencies are missing.  Things actually
still work (as busybox tries again after resolving dependencies), but
the messages are ugly.

Avoid the whole mess by disabling MODPROBE_SMALL, which is what
buildroot expects anyway.
This commit is contained in:
Daniel Gnoutcheff 2015-03-30 16:01:40 -04:00
parent e9f440c0af
commit 0c3ce0d7b4

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Busybox version: 1.21.0
# Sun Mar 29 21:25:32 2015
# Mon Mar 30 15:58:20 2015
#
CONFIG_HAVE_DOT_CONFIG=y
@ -497,14 +497,14 @@ CONFIG_LSATTR=y
# Linux Module Utilities
#
CONFIG_MODINFO=y
CONFIG_MODPROBE_SMALL=y
CONFIG_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE=y
CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED=y
# CONFIG_INSMOD is not set
# CONFIG_RMMOD is not set
# CONFIG_LSMOD is not set
# CONFIG_MODPROBE_SMALL is not set
# CONFIG_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE is not set
# CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is not set
CONFIG_INSMOD=y
CONFIG_RMMOD=y
CONFIG_LSMOD=y
# CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set
# CONFIG_MODPROBE is not set
CONFIG_MODPROBE=y
# CONFIG_FEATURE_MODPROBE_BLACKLIST is not set
# CONFIG_DEPMOD is not set
@ -518,9 +518,9 @@ CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED=y
# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set
# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set
# CONFIG_FEATURE_CHECK_TAINTED_MODULE is not set
# CONFIG_FEATURE_MODUTILS_ALIAS is not set
# CONFIG_FEATURE_MODUTILS_SYMBOLS is not set
CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
CONFIG_FEATURE_MODUTILS_ALIAS=y
CONFIG_FEATURE_MODUTILS_SYMBOLS=y
CONFIG_DEFAULT_MODULES_DIR="/lib/modules"
CONFIG_DEFAULT_DEPMOD_FILE="modules.dep"