BeagleBoard with Angstrom Linux distrubition - Problem with modules

Hi,

I have beagleboard REVC4 with angstrom on it.

I have cross-compiled uImage, u-boot and MLO with sourcery-toolchain…

With the help of the command

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules

and

make -j3 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules_install INSTALL_MOD_PATH=…/rootfs/

I have now my modules on …/rootfs file…

I have copied those files on /media/rootfs/lib/modules (on SD card).

After the kernel finishes with booting on BB, I type “uname -r” and it produces 3.5.0-dirty, exactly the modul which I have copied on SD card.

When I enter the file /lib/modules/3,5,0-dirty/drivers/usb/gadget

and after command “ls”

I have: g_ether.ko g_webcam.ko g_zero.ko

When I type: “modprobe g_webcam.ko” it says

//////////////////////////////////////////////////////////
FATAL: Module g_webcam.ko not found.
//////////////////////////////////////////////////////////

Can someone help me with these. I really need to have those modules on my BB.

Thanks!

Did you do:

depmod -a

after copying the modules?

The problem was with following:

Correct way to call depmod command is: “modprobe g_webcam”

so, without “.ko”

Thanks David for Your quick replay. Your command is good to know.