1. 与内核版本不一致 嵌入式开发时,模块编译时需要制定内核的路径,内核的版本信息会加入到模块文件中,如果目标板上运行的内核与模块中包含的内核版本对不上,加载就会出错,报如下错误: insmod invalid format 可通过modinfo查看ko文件中包含的内核版本信息 2. 内核没有编译,缺少文件 "no symbol version for module_layout",重新编译内核后,再编译模块即可. 3.模块文件被破坏 有次开发模块时,把ko文件放到了外接的flash
配置了 sudo vim /etc/security/limits.conf * soft nofile * hard nofile 单独起进程没问题, 放到supervisor下监管启动,则报错 max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] 原因: 应该是supervisor监管的进程配置来自于supervisor所在环境配置, supervi