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

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);
    }

时间: 2024-08-08 15:42:11

busybox rmmod error — rmmod: chdir(2.6.25): No such file or directory的相关文章

gcc: error trying to exec 'cc1plus': execvp: no such file or directory

最近在安装OpenCV cmake的时,出现gcc: error trying to exec 'cc1plus': execvp: no such file or directory的错误. 导致问题的原因可能是因为没有安装 gcc 或者 g++,也可能是已安装的 gcc 和 g++ 版本不兼容 ,先解决方法如下: 首先检查 gcc 或者 g++ 是否已经安装,若未安装 sudo apt-get install gcc(g++)   再用 gcc -v 和 g++ -v 分别检查 gcc 和

【Postfix】Extmail登录提示:Can’t chdir to /vmail/www/, no such file or directory.

如果你使用 ExtMail 而没有使用 ExtMan,在添加新用户之后立即登录 ExtMail,会无法登录并得到类似的错误信息: Can't chdir to /home/vmail/a.cn/www/, no such file or directory. 这是由于 ExtMail 并不自动建立用户邮箱目录导致的.下面提供自动创建用户邮箱目录的补丁,作用就是让 ExtMail 在检测到用户邮箱不存在的时候自动创建它. 补丁使用方法: 1.备份已有的 ExtMail 目录.例如将整个 ExtMa

当进行make命令学习是出现error trying to exec 'cc1': execvp: No such file or directory

进行编译的时候总是会出现这种状况 error trying to exec 'cc1': execvp: No such file or directory 自己把程序改了又改,改的很简单之后还是出现这种状况,发现不是我代码的问题,然后去网上查资料,得到了满足我自己状况的解决办法. (有可能每个人面对的突发状不一样,应该多去找几种解决办法,最终将会找到满足自己的解决方案) 我自己的请款是在Ubuntu下安装了arm'的交叉编译环境,在更改PATH时更改如下: export PATH=/usr/l

.pb.h:9:42: fatal error: google/protobuf/stubs/common.h: No such file or directory

看这个就应该知道是没有找到头文件,那么可以使用g++ 的-I 参数: -I/usr/local/lib/protobuf/include来命令g++在/usr/local/lib/protobuf下查找头文件 以上/usr/local/lib/protobuf/是我的protobuf的安装地址,请替换成你的

CentOS: make menuconfig error: curses.h: No such file or directory

the problem  when use centos5 to build kernel or busybox step 1. Centos中关于 ncurses.h:no such file or directory错误的问题 http://blog.sina.com.cn/s/blog_9f1c09310101a668.html 原因是系统中没有安装ncurses这个库函数,从网上查了个能在Centos上解决这个问题的安装方式: yum install ncurses-devel ncur

卸载驱动出现:rmmod: can't change directory to '/lib/modules': No such file or directory

rmmod: can't change directory to '/lib/modules': No such file or directory 新建目录/lib/modules #mkdir -p /lib/modules 又出现 rmmod: can't change directory to '2.6.32.2-FriendlyARM': No such file or directory 继续新建 #mkdir -p /lib/modules/2.6.32.2-FriendlyARM

rmmod: can't change directory to '3.4.39': No such file or directory 解决方法

在调试linux系统的模块时,在卸载模块时遇到了如rmmod: can't change directory to '3.4.39': No such file or directory这样的错误,网上了找了一些方法,最后发现问题本身提示已经很明显了,缺少这个目录. 那么问题是这个目录是在哪呢,答案是/lib/modules目录下,在该目录下建立3.4.39这个文件夹即可. rmmod: can't change directory to '3.4.39': No such file or di

[转载]rmmod: can't change directory to '/lib/modules': No such file or directory

转载网址:http://blog.csdn.net/chengwen816/article/details/8781096 在我新移植的kernel(3.4.2)和yaffs2文件中,加载新编译的内核模块时,遇到如下问题(无法卸载模块): 1.rmmod: can't change directory to '/lib/modules': No such file or directory 此时应该在文件系统中创建/lib/modules目录,接着又有下面问题: 2. rmmod: can't

编译Busybox时,出现错误fatal error: curses.h: No such file or directory

1 scripts/kconfig/mconf.c: In function ‘exec_conf’: 2 scripts/kconfig/mconf.c:481:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] 3 pipe(pipefd); 4 ^ 5 SHIPPED scripts/kconfig/zconf.tab.c 6 SH