mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* module tool with 2.6.9 issue
@ 2004-11-11 21:27 yiding_wang
  2004-11-11 21:48 ` Arjan van de Ven
  0 siblings, 1 reply; 2+ messages in thread
From: yiding_wang @ 2004-11-11 21:27 UTC (permalink / raw)
  To: linux-kernel

I am using moudle-init-tools-3.1-pre6 with kernel 2.6.9. The new insmod seems have restrictions which failed using parameters to load a driver module.

My module parameter is in the form of modname="*************** ****", a quite long one.
Run - insmod modname.o modname="*********** *******" (with a script), it complains about the space and treats the string next to the space to be a "Unknown parameter".

By replacing the space with any character, then it complains 
"modname: string parameter too long"

Reducing the length of the parameter to less than 1k character works fine.

Same long parameter string wit space in between works fine under 2.4.25 with original insmod.

Questions:
1, Is this a bug or new insmod has restrictions? 
2, If it is restriction on special character such as space, or limitation on parameter length, then why and what is the limit? 
3, If insmod has limitation, then what is better way to pass long parameter with some special character? 

Thanks!

Eddie

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: module tool with 2.6.9 issue
  2004-11-11 21:27 module tool with 2.6.9 issue yiding_wang
@ 2004-11-11 21:48 ` Arjan van de Ven
  0 siblings, 0 replies; 2+ messages in thread
From: Arjan van de Ven @ 2004-11-11 21:48 UTC (permalink / raw)
  To: yiding_wang; +Cc: linux-kernel

On Thu, 2004-11-11 at 14:27 -0700, yiding_wang@agilent.com wrote:
> I am using moudle-init-tools-3.1-pre6 with kernel 2.6.9. The new insmod seems have restrictions which failed using parameters to load a driver module.
> 
> My module parameter is in the form of modname="*************** ****", a quite long one.
> Run - insmod modname.o modname="*********** *******" (with a script), it complains about the space and treats the string next to the space to be a "Unknown parameter".
> 
> By replacing the space with any character, then it complains 
> "modname: string parameter too long"


can you post an url to the sourcecode... it's going to be really had for ANYONE to dive into this without that


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-11 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-11 21:27 module tool with 2.6.9 issue yiding_wang
2004-11-11 21:48 ` Arjan van de Ven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®