lkml.org 
[lkml]   [2003]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Loading a module multtiple times
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/

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