LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-28-2011, 03:27 AM   #1
gloridel
LQ Newbie
 
Registered: Apr 2007
Posts: 25

Rep: Reputation: 0
Insmod RTMP error


Hi I am still new to porting wifi drivers, and I am not sure if I posted this at the correct section. Since I am a newbie..

I am currently porting Ralink RT5370 driver, no problem with the compilation but when I execute insmod operation I got a lot of errors regarding RTMP which I have no idea where and what to fix.

this is a part of the error I got
Quote:
rt5370sta: Unknown symbol rausb_buffer_free
rt5370sta: Unknown symbol RtmpOsFreeSpinLock
rt5370sta: Unknown symbol RtmpOsPktHeadBufExtend
rt5370sta: Unknown symbol RtmpOSTaskNotifyToExit
rt5370sta: Unknown symbol RtmpOsGetNetDevName
rt5370sta: Unknown symbol RtmpOsHtonl
rt5370sta: Unknown symbol RtmpOsAtomicInterlockedExchange
rt5370sta: Unknown symbol RtmpUtilInit
rt5370sta: Unknown symbol RtmpOSTaskInit
rt5370sta: Unknown symbol RtmpOsAtomicInit

insmod: can't insert '/home/rt5370sta.ko': unknown symbol in module or invalid parameter
Based on the some forum that I've read, adding the MODULE_LICENSE("GPL") is one of the solution.

I did add it inside usb_main_dev.c and recompile but I still get the same errors.

If anybody has any idea , please....
 
Old 08-01-2011, 02:52 AM   #2
gloridel
LQ Newbie
 
Registered: Apr 2007
Posts: 25

Original Poster
Rep: Reputation: 0
these errors were related to license issues and the new code structure of the current code that I have.
 
Old 08-23-2011, 06:06 AM   #3
mwojnars
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
Hi
I had the same problem with Tenda W311M usb wifi, chinese crap. I had to debug the source code in the same way: correct license declarations. I did:

1) "grep MODULE_LICENSE" in os/linux/
2) there were 2 places found; I moved the license declarations out of ifdef's, so that they're always active - this helped.

Plus, I used these tips by chili555: ubuntuforums.org/showthread.php?t=1625657&page=13 - I don't know if this was important.
And I modified "config.mk" in 2 places ("y" instead of "n"), according to the readme (wpa_supplicant).

Note that so-called "manual" that came with Tenda was talking about different chipset, rt2870, not rt5370. And in general everything in this manual was either incorrect or outdated. Crap.
 
  


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
insmod error xakeriah Linux - Newbie 6 09-17-2006 08:57 AM
insmod error 98steve600 Linux - General 1 03-28-2005 04:50 AM
Insmod error Horos23 Linux - Software 2 01-27-2005 11:28 AM
insmod error cstringer18 Linux - Newbie 1 03-01-2004 05:15 PM
insmod error Rex_chaos Linux - General 4 05-17-2002 11:43 PM


All times are GMT -5. The time now is 06:41 AM.

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