[转载]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 change directory to ‘3.4.2‘: No such file or directory

接着在modules目录下创建3.4.2目录后,就可以成功卸载模块。

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

时间: 2024-10-05 12:47:51

[转载]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

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

解决cocoapods diff: /../Podfile.lock: No such file or directory

最近把以前代码放到新电脑上运行,在执行pod update之后build工程遇到如下提示: diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods instal

./configure *: No such file or directory

今天在CentOS下安装Nginx时,遇到了类似以下的问题: ./configure auto/unix: No such file or directory ./configure auto/options: No such file or directory 之前在另一台服务器上安装的时候也没有遇到此问题, 安装过程参考:CentOS6.5下Nginx1.7.4安装记录 于是网上搜索解决方案,但是搜索了很久也没有找到解决方案, 当我使用"mkdir auto/unix"之后,还是提

如何解决diff: /../Podfile.lock: No such file or directory 的问题

之前碰到过此类问题,原因是之前用了测试版本的pod,然后回归正式版本,导致找不到pod文件diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods install

下载的pod链接失效,build diff: /../Podfile.lock: No such file or directory解决办法

build diff: /../Podfile.lock: No such file or directory 1.终端进入文件路径,执行pod install 2.在工程设置中的Build Phases下删除Check Pods Manifest.lock及Copy Pods Resources 3.clean工程,然后编译就ok了 不行再试试下面方法: 工程使用CocoaPods管理第三方库,在新的目录update版本的时候出现如下问题 问题1描述: diff: /../Podfile.lo

numa.h:No such file or directory 解决方法

参考: numa.h:No such file or directory numa.h:No such file or directory 解决方法 Ubuntu: $ apt-get install libnuma-dev 2017.12

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

运行编译后的程序报错 error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory

运行编译后的程序报错  error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory -------------------------------------------------------------------------------------------------------------------------------------

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