Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to install modules? (circular dependencies!)

Status
Not open for further replies.

redsss

Programmer
Mar 17, 2004
72
US
I'm unable to insmod the modules sb_common.o and sb_ess.o (for my soundcard)

When insmod'ing sb_common.o, insmod reports (and I verified in the C source) unresolved symbol ess_dsp_reset which is in sb_ess.o

When insmod'ing sb_ess.o, insmod reports (and I verified in the C source) unresolved symbol sb_dsp_command which is in sb_common.o

How can I get these modules loaded when there's a circular dependency like this?

BTW this is on a liveCD, meaning the /lib/modules directory is readonly, and these modules are extra modules not included in the liveCD, so they are in a different (writable) filesystem than /lib/modules, and I've been unable to get modprobe to work with modules not in the /lib/modules directory (maybe theres a trick to get modprobe to work?)
 
You might try insmoding them both on the same line. I know this works in some commands.
 
nice try but no luck still

I tried "insmod sb_ess.o; insmod sb_common.o"
and also both on the same line "insmod sb_ess.o sb_common.o"

any other ideas?
 
You're invoking insmod twice. insmod should allow you, with one invocation of the command, to insert multiple modules at one go:

insmod sb_ess.o sb_common.o


Simultaneously inserting both modules may get your around the problem.


Want the best answers? Ask the best questions!

TANSTAAFL!!
 
I had tried that also (part 2 of my previous post) but insmod gives the same errors as if it tried to add only the first module name.

I do get an extra error hint but I don't think it means anything, but here it is anyway
Code:
Hint: You are trying to load a module without a GPL compatible license
      and it has unresolved symbols.  The module may be trying to access
      GPLONLY symbols but the problem is more likely to be a coding or
      user error.  Contact the module supplier for assistance, only they
      can help you.
 
Have you tried using 'modprobe' instead of 'insmod'? Modprobe will look at dependancies and load all needed modules to get stuff working.

----
JBR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top