Firefly开源社区

打印 上一主题 下一主题

AIO_3399J 开发板起动时串口打印Failed to start Load Kernel Modules

16

积分

0

威望

0

贡献

技术小白

积分
16

AIO_3399J 开发板起动时串口打印Failed to start Load Kernel Modules

发表于 2019-1-8 15:47:35      浏览:5852 | 回复:1        打印      只看该作者   [复制链接] 楼主
开发板启动时显示 :
[  OK  ] Started Remount Root and Kernel File Systems.
[    3.557117] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[    3.558616] systemd[1]: Failed to start Load Kernel Modules.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[    3.559717] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[    3.560816] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.

我想请教各位大哥的是:【Failed to start Load Kernel Modules】意思是说Kernel加载失败吗,那么我在kernel下加入的一些代码是不是都不能启用?比如LED灯的控制代码。

下面是执行systemctl restart systemd-modules-load.service的截图:
root@firefly:~#  systemctl restart systemd-modules-load.service
Job for systemd-modules-load.service failed because the control process exited with error code. See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.
root@firefly:~# systemctl status systemd-modules-load.service
鈼[0m systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; ven
dor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2016-02-11 20:56:29 U
TC; 6s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 3219 ExecStart=/lib/systemd/systemd-modules-load (code=exited
, status=1/FAILURE)
Main PID: 3219 (code=exited, status=1/FAILURE)

Feb 11 20:56:29 firefly systemd[1]: Starting Load Kernel Modules...
Feb 11 20:56:29 firefly systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Feb 11 20:56:29 firefly systemd[1]: Failed to start Load Kernel Modules.

Feb 11 20:56:29 firefly systemd[1]: systemd-modules-load.service: Unit entered failed state.
Feb 11 20:56:29 firefly systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
回复

使用道具 举报

16

积分

0

威望

0

贡献

技术小白

积分
16
发表于 2019-1-8 16:31:06        只看该作者  沙发
解决了!
我下载的固件是ubuntu固件,在ubuntu rootfs中,etc/modules-load.d/cups-filters.conf,这个文件默认打开了打印机驱动:
lp
ppdev
parport_pc
而开发板根本没有安装打印机,所以只需要将这三个驱动注释就可以了:
#lp
#ppdev
#parport_pc
注:修改这个配置,需要打开cups-filters.conf写权限,可以执行sudo chmod 0666 etc/modules-load.d/cups-filters.conf即可,改完后再将文件属性改回来,执行sudo chmod 0644 etc/modules-load.d/cups-filters.conf.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表