LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-04-2005, 01:28 PM   #1
redss
Member
 
Registered: Jun 2003
Posts: 165

Rep: Reputation: 16
how to find modules containing needed symbols?


I want to enable MIDI in my knoppix liveCD, so I compiled some modules for my kernel.

Problem is I can't install them with modprobe because the /lib/modules directory is readonly, and I can't install them with insmod because apparently they have to be installed in a definite order so that there will be no missing dependancies.

Is there a way for me to work backwards when I get unmet depandancies?

i.e. how can I find what module contains the symbols required by the module I unsucessfully tried to inmod? Grep *.o doesnt seem to do it...
 
Old 01-04-2005, 01:55 PM   #2
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 365
Blog Entries: 1

Rep: Reputation: 44
Not sure if this is what you were looking for, but here is how to find all of your modules...
First off, *.o isn't only extension, so is *.ko

So try this.....

find /lib/modules/"KERNEL VERSION" -type -f -iname '*.o' -or -iname '*.ko'

....and it should list all of them.

Hope this was helpful,
jrtayloriv
 
  


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
modules & symbols rhoyerboat Programming 1 02-08-2005 07:10 PM
cannot find map file. No module symbols loaded - kernel modules not enabled. jjorloff1 Linux - Software 3 01-06-2005 11:02 AM
unresolved symbols while trying to load modules g.ramkumar Linux - Newbie 1 11-24-2004 01:38 PM
Unresolved symbols in /lib/modules Kilahchris Linux - Newbie 3 05-10-2004 03:21 AM
NFS as modules - unresolved symbols nedo Linux - Software 0 03-21-2001 02:11 AM


All times are GMT -5. The time now is 08:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration