Koozali.org: home of the SME Server

passing parameters to kernel modules (nic)

Michael Herger

passing parameters to kernel modules (nic)
« 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

Michael

Re: passing parameters to kernel modules (nic)
« Reply #1 on: February 12, 2002, 07:44:39 PM »
Sorry! Forget it! It was a type in /etc/modules.conf... wrdlgrmpf!

Rich Lafferty

Re: passing parameters to kernel modules (nic)
« Reply #2 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

Charlie Brady

Re: passing parameters to kernel modules (nic)
« Reply #3 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

Michael Herger

Re: passing parameters to kernel modules (nic)
« Reply #4 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.

Rich Lafferty

Re: passing parameters to kernel modules (nic)
« Reply #5 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

Michael Herger

Re: passing parameters to kernel modules (nic)
« Reply #6 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