lkml.org 
[lkml]   [1999]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectrequest_module() and dependencies...
Date
Hello.

I need to use request_module() to dynamically load some modules on demand
when a the top level driver loads.
Iam seeing some problem with symbol name resolution during loads.

Have module A, which exports a symbol for another module B.

in init_module() of A we call request_module("b"); results in that function
thats exported by A being undefined.

where as if i manually do

insmod a
insmod b then there is no problem.

i have seen that if i remove the extern usage, then request_module works. is
this the expected behaviour? if so
how do we load modules using request_module() before using them.


Cheers,
ashokr



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.067 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site