Altera_Forum
Honored Contributor
20 years agobusybox rmmod doesn't work?
Hi!
I have a module with following source code:#include <linux/kernel.h># include <linux/init.h># include <linux/module.h>
int __init hello_init(void)
{
printk("----------->Hello, world\n");
return 0;
}
static void __exit hello_exit(void)
{
printk("------------>Goodbye, cruel world\n");
}
module_init(hello_init);
module_exit(hello_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("testing module");
MODULE_AUTHOR("LS"); When I use the insmod command it works fine hello.ko# busybox insmod hello.ko ----------->hello, world# But when I use the rmmod command something going wrong: # busybox rmmod hello.ko
rmmod: hello.ko: function not implemented# What could be the reason? Bye, Lothar.