Module dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to write a module for Linux kernel 2.4.20.
In my init_module, I call sock_create with AF_INET.
It says family not supported. I think this is because
my module's init_module gets called before the module
that implements AF_INET. I checked this to be true.
I am assuming that there must be some way to specify
module ordering from the module code itself. 

Please note that I am statically compiling the module
with the kernel so this rules out any solutions that
have to do with modifying config files. The module_init is 
called at boot time and therefore, there must be some way
of specifying init call sequence.

Thanks for you time. Any pointers will be useful

Anjali

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux