1

I 'm running Angstrom Linux (3.0.7) on embedded device BeagleBoard-xM. I want to load a module (downloaded from here) and copied into: /lib/modules/3.0.7/kernel/drivers/net/wireless/rtlwifi/8192cu.ko on the BeagleBoard-xM SD card file system.

However, loading the module fails:

root@beagleboard:/# modprobe 8192cu                                             
FATAL: Module 8192cu not found.

Any ideas?

1
  • I'm not an expert, but I don't think this approach will work very well. If you want a module, you need to compile it as part of the kernel. Commented Apr 7, 2014 at 17:51

1 Answer 1

0

Did you run depmod? This is something make modules_install does automatically for you, but if you copy a module into /lib/modules this way, you will need to do that manually. See man depmod for more information.

I am not sure if depmod will report the presence of incompatible modules.

You can also use an explicit path with insmod, which will at least test if the module can be loaded.

> insmod /lib/modules/3.0.7/kernel/drivers/net/wireless/rtlwifi/8192cu.ko
> lsmod | grep 8192cu

If the module has dependencies, they won't be loaded, which is why depmod and modprobe make things more convenient. Note the kernel will reject modules that do not match its version. There is, however, a configuration option to disable this safety feature.

2
  • Unfortunately, after running depmod, modprobe 8192cu fails with: [ 4038.569152] 8192cu: disagrees about version of symbol module_layout FATAL: Error inserting 8192cu (/lib/modules/3.0.7/kernel/drivers/net/wireless/rtlwifi/8192cu.ko): Invalid module format. Module is supposed to work with 3.0.7 kernel. Is there any way I can resolve this?
    – dempap
    Commented Apr 7, 2014 at 18:18
  • 1
    Try with modprobe -f.
    – goldilocks
    Commented Apr 7, 2014 at 18:44

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.