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

Posted asulove

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了卸载驱动出现: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成功

 

以上是关于卸载驱动出现:rmmod: can't change directory to '/lib/modules': No such file or directory的主要内容,如果未能解决你的问题,请参考以下文章

rmmod命令卸载驱动过程详解

windowsxp下MySQL卸载后重装总是出现Error 1042 Can't get hostname for……

001_linux驱动之_驱动的加载和卸载

python3.3.5运行报can't assign to fuunction call,咋回事?

rmmod: chdir(/lib/modules): No such file or directory 解决方法

Python中读取txt文本出现:SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes i