LinuxQuestions.org
Register a domain and help support LQ
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 11-15-2006, 01:48 PM   #1
ozymandias
Member
 
Registered: Aug 2005
Location: West Midlands, UK
Posts: 61

Rep: Reputation: 15
Problem inserting modules...


Hi! I'm running Debian 2.6.15-1-k7, and I'm trying to insert a module driver (spcas5xx.ko) for my webcam into the kernel.
Here's what I've done....
1. Downloaded source code from web
2. 'make' runs ok without errors
3. 'make install' runs ok without errors and ends with:

install -c -m 0644 spca5xx.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
/sbin/depmod -ae

BUT... when I try to install the module with :

depmod spca5xx.ko

I get

FATAL: Module spca5xx.ko not found.

If I try to do it using 'modconf'

I can find it, but I get

FATAL: Error inserting spca5xx (/lib/modules/2.6.15-1-k7/kernel/drivers/usb/media/spca5xx.ko): Invalid module format

I'm kinda getting the feeling the kernel just wants nothing to do with this module!! Why not, when it has been built against it's headers etc?? (yes, I checked).
Is there something else I need to do, or is this a problem with the source code I downloaded?

Thanks in advance for any help,
Oz.
 
Old 11-15-2006, 02:34 PM   #2
jonwatson
Member
 
Registered: Jun 2004
Location: Nova Scotia, Canada!
Distribution: Ubuntu
Posts: 170

Rep: Reputation: 30
This isn't going to be a huge help, but I suspect that the module you've built isn't compatible with the kernel you're running. This error is common, but usually results in a verbose message about 'unknown symbols' and not the error you're getting.

Still, I would double check the version of the kernel that module is built for and see if you can either get a new version of the module, or up/downgrade your kernel to match it.
 
  


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
inserting a modules into the Kernel stielinc Linux - Software 1 01-22-2005 02:47 PM
error inserting alsa modules darkleaf Linux - Software 6 09-05-2004 06:40 AM
Inserting and removing modules mwu Linux - Software 4 03-13-2004 01:31 AM
Inserting modules wgodois Linux - Hardware 0 08-03-2003 10:37 AM
Modules: Inserting, removing etc.. tarballed Linux - General 12 06-02-2003 07:12 PM


All times are GMT -5. The time now is 12:58 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