busybox rmmod error --- rmmod: chdir(2.6.25): No such file or directory

来源:互联网 发布:国家基本药物 知乎 编辑:程序博客网 时间:2024/04/30 13:09

busybox rmmod error

 

rmmod: chdir(2.6.25): No such file or directory

 

1. install your modules in dir /lib/modules/(kernel version)/

then rmmod will works well.

 

2. in the busybox source file

modutils/modprobe-small.c

    if ('i' != applet0) { /* not insmod */
        /* Goto $VERSION directory */
        xchdir(uts.release);
    }