Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-31-2011, 05:43 AM   #1
LQ Newbie
Registered: Nov 2010
Posts: 7

Rep: Reputation: 0
Error inserting module.

Hi Guys,

I am having a problem while inserting a particular module. Following are some prints :-

Disabling lock debugging due to kernel taint
Load module stos_core [?] by insmod (pid 1230)
Load module stsys_ioctl [252] by insmod (pid 1234)
Load module stcommon_core [?] by insmod (pid 1245)
Load module sttbx_core [?] by insmod (pid 1249)
Load module stavmem_core [?] by insmod (pid 1253)
insmod: error inserting '/root/mohitd/HDK7108_7108/modules/stavmem_core.ko': -1
Operation not permitted

I am using STLinux-2.4 Distribution, kernel 2.6

I have changed the access permissions on all the .ko as rwx. Still I am getting the problem.

Can somebody please help me out.
Old 01-31-2011, 11:31 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,898

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
insmod: error inserting '/root/mohitd/HDK7108_7108/modules/stavmem_core.ko': -1
Please tell us how you compiled the kernel. How did you manage to put the module in /root instead of /lib/modules?
Old 02-01-2011, 05:31 AM   #3
LQ Newbie
Registered: Nov 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Actually I compiled the kernel for the target, that is, Set Top Box Board. And, linux kernel is booting on the target ,so are the modules.

Well now, I have got the problem and it's been fixed. Kernel memory space was overlapping with the memory space stavmem_core.ko was assigning for avmem( audio video memory). Thanks.


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
error inserting soundcore module methodtwo Linux - Software 1 05-07-2008 07:55 AM
Error inserting e1000 module thatisuresh Linux - Networking 1 05-08-2007 06:54 PM
insmod: error inserting 'module.o': -1 Invalid module format ksrinivas Linux - Newbie 5 10-11-2006 08:29 AM
Error inserting the ATI module now for some reason..HELP wpg9210 Linux - Software 3 01-25-2006 05:17 PM
insmod: error inserting 'new.ko': -1 Invalid module format hemk76 Programming 2 01-24-2005 11:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:54 PM.

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