insmod可以正常加载模块,rmmod时却报出Function not implemented,求助

zozowit zozowit 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我的内核是2.6.24,运行在arm的板子上
模块代码如下:
#include <linux/module.h> /* Needed by all modules */
#include <linux/init.h> /* Needed for init&exit macros */
static int mod_init_func(void)
{
/*code here*/
return 0;
}
static void mod_exit_func(void)
{
/*code here*/
}

module_init(mod_init_func);
module_exit(mod_exit_func);

insmod能正常使用,rmmod却报出Function not implemented

...全文
评论 9
收藏 已收藏
分享
返回顶部
zozowit
Linux_Kernel 4,469 成员 17,458 内容