lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070919085651.1d8f8359.randy.dunlap@oracle.com>
Date:	Wed, 19 Sep 2007 08:56:51 -0700
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	"Andrey Kamchatnikov" <andrey.kamchatnikov@...-venture.de>,
	<linux-kernel@...r.kernel.org>
Subject: Re: Problem: one driver and 4 instances with different parameters

On 19 Sep 2007 10:26:54 +0200 Andi Kleen wrote:

> "Andrey Kamchatnikov" <andrey.kamchatnikov@...-venture.de> writes:
> 
> > I have one driver, but I need to run 4 instances of it (I run insmod
> > with different parameters) .
> > 
> > But when I try to install the second driver I've got an error, that
> > driver with this name exists.
> 
> The standard trick to do that is to copy the module binary to four different
> names (the module name is not encoded in the binary)
> 
> But it would be better to just fix the driver to allow this
> with a single instance with some other run time configuration
> mechanism and not use module parameters (which 
> are generally somewhat deprecated anyways) 
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Eh?  Do you mean for IO,mem,irq type settings?  If so, then yes, ok.
Otherwise please explain what you mean...

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ