Re: Loading a module multtiple times

From: Kai Germaschewski (kai@tp1.ruhr-uni-bochum.de)
Date: Wed Apr 30 2003 - 17:42:34 EST


On Wed, 30 Apr 2003, Randy.Dunlap wrote:

> To get a large number of network interfaces, Christian (below)
> told me to copy driver/net/dummy.o to several different file names
> and then insmod them. It seems to have worked for him, and it works
> that way in 2.4.recent, but it's not working for me. See error
> messages below.
>
> Which way is expected behavior?
> What should be the expected behavior?

This failure is expected behavior, AFAICT. The module.ko has the module
name embedded and thus duplicate insertion will be recognized even when
the .ko file has been renamed.

To allow insertion of a module under a new name, you have to give
module-init-tools some new option (which I can't remember right now).

--Kai

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



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:36 EST