2003-07-29 09:53:47

by Frank Schäfer

[permalink] [raw]
Subject: Simple module question

Hi list,

We have a monolithic kernel 2.4.18 using ip-tables. The ftp contrack
module takes a optional parameter port=xxxxx.

This parameter should be puttable by the kernel parameters. So I put it
on the addons line in lilo.conf.

The parameter doesn't show up in the boot dmesg, I can see it in
/proc/cmdline, but it doesn't seem to work. No ftp connection can be
made on this port.

Could anzbody put me a hint?

Thanks in advance
Frank



2003-07-29 17:08:00

by Randy.Dunlap

[permalink] [raw]
Subject: Re: Simple module question

On 29 Jul 2003 11:56:33 +0200 Frank Sch?fer <[email protected]> wrote:

| Hi list,
|
| We have a monolithic kernel 2.4.18 using ip-tables. The ftp contrack
| module takes a optional parameter port=xxxxx.
|
| This parameter should be puttable by the kernel parameters. So I put it
| on the addons line in lilo.conf.
|
| The parameter doesn't show up in the boot dmesg, I can see it in
| /proc/cmdline, but it doesn't seem to work. No ftp connection can be
| made on this port.
|
| Could anzbody put me a hint?

The module option is "ports", not "port".

Recent 2.5/2.6 makes kernel or module parameters be usable at module
load time or kernel load time (as a kernel boot parameter).
However, 2.4.x does not do this. In 2.4.x, each module that wants
to allow module or kernel boot parameters must have explicit code
to support this, but ip_conntrack_ftp.c only has support for
module load time parameters.

--
~Randy
| http://developer.osdl.org/rddunlap/ | http://www.xenotime.net/linux/ |

2003-07-30 12:42:13

by Nagendra Singh Tomar

[permalink] [raw]
Subject: Re: Simple module question

Add this to modules.conf
# man modules.conf

tomar

On Tue, 29 Jul 2003, Frank Sch?fer wrote:

> Hi list,
>
> We have a monolithic kernel 2.4.18 using ip-tables. The ftp contrack
> module takes a optional parameter port=xxxxx.
>
> This parameter should be puttable by the kernel parameters. So I put it
> on the addons line in lilo.conf.
>
> The parameter doesn't show up in the boot dmesg, I can see it in
> /proc/cmdline, but it doesn't seem to work. No ftp connection can be
> made on this port.
>
> Could anzbody put me a hint?
>
> Thanks in advance
> Frank
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel"
> in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>