Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Michael Herger on February 12, 2002, 06:28:51 PM

Title: passing parameters to kernel modules (nic)
Post by: Michael Herger on February 12, 2002, 06:28:51 PM
Hi!

I'm trying to set up an e-smith box on rather old hardware, using EtherExpress (eexpress) and DEC EtherWorks (ewrk3) adapters. I had them running with other Linux distributions, passing parameters on the insmod line. But how do I do this with e-smith? I tried "config set EthernetDriver1 ewrk3 irq=5 io=0x200", following the instructions from http://myezserver.com/docs/mitel/nic-drivers-howto.html. But this did not help. Modules are not loaded at boot time :-(.

Any idea on how to work with those modules?

Regards, Michael
Title: Re: passing parameters to kernel modules (nic)
Post by: Michael on February 12, 2002, 07:44:39 PM
Sorry! Forget it! It was a type in /etc/modules.conf... wrdlgrmpf!
Title: Re: passing parameters to kernel modules (nic)
Post by: Rich Lafferty on February 12, 2002, 07:45:50 PM
Michael wrote:
>
> Sorry! Forget it! It was a type in /etc/modules.conf...
> wrdlgrmpf!

That's an impressive typo.

--Rich
Title: Re: passing parameters to kernel modules (nic)
Post by: Charlie Brady on February 12, 2002, 09:58:46 PM
Michael Herger wrote:

> I'm trying to set up an e-smith box on rather old hardware,
> using EtherExpress (eexpress) and DEC EtherWorks (ewrk3)
> adapters. I had them running with other Linux distributions,
> passing parameters on the insmod line. But how do I do this
> with e-smith? I tried "config set EthernetDriver1 ewrk3 irq=5
> io=0x200", following the instructions from
> http://myezserver.com/docs/mitel/nic-drivers-howto.html. But
> this did not help. Modules are not loaded at boot time :-(.

The way I would do this is to do:

config set EthernetDriver1 ewrk3

then:

echo "options ewrk3 irq=5 io=0x200" >> /etc/modules.conf

Charlie
Title: Re: passing parameters to kernel modules (nic)
Post by: Michael Herger on February 13, 2002, 11:45:40 AM
Well, the typo wasn't that impressive :-). After trying the "config set..." with all the parameters I tried it the other (correct) way using "options" in modules.conf. That's where the typo occurred.
Title: Re: passing parameters to kernel modules (nic)
Post by: Rich Lafferty on February 13, 2002, 07:35:41 PM
Michael Herger wrote:
>
> Well, the typo wasn't that impressive :-). After trying the
> "config set..." with all the parameters I tried it the other
> (correct) way using "options" in modules.conf. That's where
> the typo occurred.

I dunno -- the keys for "options" and the keys for "wrdlgrmpf" are pretty far apart. :-)

--Rich
Title: Re: passing parameters to kernel modules (nic)
Post by: Michael Herger on February 13, 2002, 07:44:20 PM
"wrdlgrmpf"? This is not the typo, but expression of my emotions when I found it. Others prefer "hmpf" ;-)

Michael