“FATAL: Module not found error” using modprobe

前端 未结 6 623
猫巷女王i
猫巷女王i 2021-01-31 18:03

I have a problem with modprobe command... I compiled the hello world module and loaded it with insmod, it works fine and when I do lsmod,

6条回答
  •  清歌不尽
    2021-01-31 18:42

    The reason is that modprobe looks into /lib/modules/$(uname -r) for the modules and therefore won't work with local file path. That's one of differences between modprobe and insmod.

提交回复
热议问题