LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2011, 07:13 AM   #1
mswamy78
LQ Newbie
 
Registered: Jul 2011
Posts: 23

Rep: Reputation: Disabled
ERROR: Module uvcvideo does not exist in /proc/modules


Hello,
I get the following error when I run

#sudo rmmod uvcvideo.ko
ERROR: Module uvcvideo does not exist in /proc/modules

$ sudo insmod ./uvcvideo.ko
insmod: error inserting './uvcvideo.ko': -1 Invalid module format

Please help to resolve.
 
Old 08-05-2011, 10:51 AM   #2
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
To load/unload a module, it's better to use modprobe.You also don't need the '.ko'
To load:
$ sudo modprobe uvcvideo
To unload:
$ sudo modprobe -r uvcvideo

Did you just compile a kernel module? If so, you need to copy it the right place, you can't just call it like that. Kernel modules usually goes into /lib/modules/2.6.xx
There's usually a script that will do that for you. If you have run the script, but can't load the module, try running ldconfig or rebooting the system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Diff between /sys/module and /proc/modules shariefbe Linux - Newbie 1 12-06-2009 07:12 AM
logitech webcam 5000pro and uvcvideo module kky Linux - Hardware 1 07-06-2007 12:36 PM
Arch: error is failed to load vga, fbdev and nv module :doesnt exist flipwhy Linux - Newbie 24 04-08-2007 09:53 PM
Correlation between /proc/devices and /proc/modules ColinLadyka Linux - General 1 02-13-2006 06:25 PM
FATAL: Could not load /lib/modules/2.6.14-default/modules.dep no such file exist dr_zayus69 Linux - Software 3 12-26-2005 07:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration