LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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: 168

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: 366
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:29 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
Open Source Consulting | Domain Registration