0

I try to do something like this - link.

All examples in the web are not working at all.

modprobe ubi mtd=0
modprobe: module ubi not found in modules.dep

modprobe ubi
modprobe: module ubi not found in modules.dep

modprobe ubi mtd=/dev/mtd0
modprobe: module ubi not found in modules.dep
0

Firstly, you should ensure that your module is exists in module directories. For example:

find /lib/modules/$(uname -r) -name 'ubi.ko'

If your module doesn't exist you need to build it.

Secondly, your output module ubi not found in modules.dep tells to you that there is no info about module in modules.dep (man 5 modules.dep).

You need to call depmod (man 8 depmod) to complete info about module dependencies.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.