If the kernel has been compiled with CONFIG_IKCONFIG=m (note the m), the configuration in stored in a module (configs.ko) and not in the kernel itself. That's the reason why running extract-ikconfig on the kernel image fails.
In this case, we can extract the config from the configuration module:
/usr/src/$(uname -r)/scripts/extract-ikconfig \
/lib/modules/$(uname -r)/kernel/kernel/configs.ko
本文介绍了解决Linux内核编译为模块时(CONFIG_IKCONFIG设为m),如何从模块(configs.ko)中提取配置信息的方法,包括必要的命令和步骤。
404

被折叠的 条评论
为什么被折叠?



