执行命令modprobe led_device.ko:
root@antbian:~/linux_work/test/led# modprobe led_device.ko
modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file()
could not open builtin file '/lib/modules/4.15.0-rc8-licheepi-nano+/modules.builtin.bin'
modprobe: FATAL: Module led_device.ko not found in directory /lib/modules/4.15.0-rc8-licheepi-nano+
最近编辑记录 kekemuyu (2020-04-15 17:48:44)
离线
执行depmod:
root@antbian:~/linux_work/test/led# depmod
depmod: WARNING: could not open /lib/modules/4.15.0-rc8-licheepi-nano+/modules.order: No such file or directory
depmod: WARNING: could not open /lib/modules/4.15.0-rc8-licheepi-nano+/modules.builtin: No such file or directory
root@antbian:~/linux_work/test/led# ls /lib/modules/4.15.0-rc8-licheepi-nano+/*
/lib/modules/4.15.0-rc8-licheepi-nano+/modules.alias
/lib/modules/4.15.0-rc8-licheepi-nano+/modules.alias.bin
/lib/modules/4.15.0-rc8-licheepi-nano+/modules.builtin.bin
/lib/modules/4.15.0-rc8-licheepi-nano+/modules.dep
/lib/modules/4.15.0-rc8-licheepi-nano+/modules.dep.bin
/lib/modules/4.15.0-rc8-licheepi-nano+/modules.devname
/lib/modules/4.15.0-rc8-licheepi-nano+/modules.softdep
/lib/modules/4.15.0-rc8-licheepi-nano+/modules.symbols
/lib/modules/4.15.0-rc8-licheepi-nano+/modules.symbols.bin
离线