2 Module cross dependency

From: George (george.news_at_NOSPAMgmx.net)
Date: 07/16/04


Date: Fri, 16 Jul 2004 11:32:56 +0000 (UTC)

Hi all.

I have 2 modules that both needs information from each other. One of them
is a network driver(A) and the other(B) is a a module that should
interact with the driver.
Lets explain how I do so:
            I set in the driver a timer whose function executes a
inter_module_get(B). In B I have a dev_get_by_name in which I use the
name of the interface created by the driver.
            insmod driver.o
     insmod module.o

Then I have a dependency between both modules. The problem arises when I
want to rmmod, cause either the resource is busy or the module is busy.

Any idea of solving that. Hope I have explained the problem in an
understandable way.

TA.



Relevant Pages

  • Re: Linux Firewall/LoadBalancer
    ... The bonding driver originally came from Donald Becker's beowulf patches for ... Build kernel with the bonding driver ... "Bonding driver support" in the "Network device support" section. ... so the bonding driver will automatically load when the bond0 interface is ...
    (Security-Basics)
  • [SPARC] Problem with "Happy Meal" drivers
    ... I also use two network cards handled by your driver: ... # Loadable module support ... Unimplemented SPARC system call 188 ...
    (Linux-Kernel)
  • Re: Cant print to my Windows 98 shared printer from my XP compute
    ... >>I can't print from the printer attached to my Windows 98 machine using my XP ... >>not have the correct printer driver installed etc". ... >>clicked OK to continue and selected the built-in XP Lexmark Z52 driver from ... >>Add Printer wizard and has a pipe attached, indicating a network printer. ...
    (microsoft.public.windowsxp.network_web)
  • Re: wlan in etch
    ... Detected Intel PRO/Wireless 2200BG Network Connection ... IntelPRO/Wireless 2915ABG Driver for Linux in support of: ... Wireless Extension Private Methods ...
    (Debian-User)
  • Re: Cant print to my Windows 98 shared printer from my XP compute
    ... File and Printer service and it allowed me to use the folder sharing feature ... Wizard allowed me to use the existing print driver on the 98 machine. ... built-in printer driver. ... sharing is not working despite have a perfectly working network connection. ...
    (microsoft.public.windowsxp.network_web)