ethernet driver question

ethernet driver question

Post by Fred Yi » Sun, 28 Jun 1998 04:00:00



Hi,

Curious question:

I compiled enet driver as loadable module on Redhat v4.2.  Why isn't the
module loaded
automatically when I boot linux with "ether=10,0x300,eth0"?  I had to
add "modprobe -t net \*"
in rc2.d manually to bring it up.  Is it supposed to be that way?

Also, where are the parameters (int 10, IO 0x310, dev eth0) kept ?

Thanks.

-Fred
Systematic Network, Inc.

 
 
 

ethernet driver question

Post by Matt Payt » Sun, 28 Jun 1998 04:00:00



>Hi,

>Curious question:

>I compiled enet driver as loadable module on Redhat v4.2.  Why isn't the
>module loaded
>automatically when I boot linux with "ether=10,0x300,eth0"?  I had to
>add "modprobe -t net \*"
>in rc2.d manually to bring it up.  Is it supposed to be that way?

>Also, where are the parameters (int 10, IO 0x310, dev eth0) kept ?

>Thanks.

>-Fred
>Systematic Network, Inc.

Did you also include support for autoloading modules ?  If not, then
all modules have to be loaded manually.  If you did include
autoloading support, then the module won't load until it's needed - if
there is network traffic, for example.  But if you want it to load at
boot time, why not just compile it into the kernel, instead of as a
module ?  

 
 
 

ethernet driver question

Post by Brian Fahrlande » Mon, 29 Jun 1998 04:00:00




> >Hi,

> >Curious question:

> >I compiled enet driver as loadable module on Redhat v4.2.  Why isn't the
> >module loaded
> >automatically when I boot linux with "ether=10,0x300,eth0"?  I had to
> >add "modprobe -t net \*"
> >in rc2.d manually to bring it up.  Is it supposed to be that way?

> >Also, where are the parameters (int 10, IO 0x310, dev eth0) kept ?

> >Thanks.

> >-Fred
> >Systematic Network, Inc.

> Did you also include support for autoloading modules ?  If not, then
> all modules have to be loaded manually.  If you did include
> autoloading support, then the module won't load until it's needed - if
> there is network traffic, for example.  But if you want it to load at
> boot time, why not just compile it into the kernel, instead of as a
> module ?

    I used to check the network card setup at boot time, but that gets
to be rather long and Microsoft-oriented.  :)  Just boot it the normal
way, without args, and make sure that your /etc/conf.modules has the
appropriate lines to load the module. (I'm assuming your kernel does
autoloading.)

    It should look something like this:

    alias etho ne
    options ne io=0x330 irq=10

    Then when you want to try it you can load the modules manually or
use (what I remember to be) depmod -a.  I can't quite remember that for
some reason; check the man pages.

    It'd also be a good idea to search DejaNews.com for this kind of
problem; this is the third message I've answered about this same thing
this week.  With DejaNews you won't have to wait for a response, and you
get several different views on the subject.

    Brian

--------------------------------------------------------------------------------
Brian Fahrlander                       Problem Solver, Technomad, and
Linux-head
Evansville, IN
ICQ:5119262                                          
http://www.kamakiriad.com
--------------------------------------------------------------------------------
 Whitewater isn't over until the First Lady sings.

 
 
 

1. Ethernet driver question...

Well, I've only got 17MB available until I get around to
swapping some disks around. I created a 9,550,000 byte file
in 20 s by my watch, or about 500KB/s to the disk. I don't
know the specs on the disk and I'm not surprised that it's
a slow one.

Is that going to give a number greatly different from the
rate reported by Fetch? I used Fetch to retrieve the file
and to send it back. Speeds according to Fetch:

  get: 91,000 bytes/s
  put: 75,000 bytes/s

I don't know of any hardware reason for this asymmetry, so
my first guess would be some kind of inefficiency in Fetch.
But I don't know. In any case, this asymmetry makes me
distrust any benchmark that depends on Fetch. I have no
idea about other ftp clients. But that's why I'd rather
make this kind of judgement based on a real network
benchmark program, not by running real world applications.

Thanks for the exercise -- I learned some things about my
system.

Edward Reid

2. How to: pkgask?

3. Sharing memory.

4. ethernet driver questions

5. 2.4.18 make modules for 1394 CARD ERROR

6. Ethernet driver question...

7. ARCserve client software for SCO/AIX

8. Another DUMMY ethernet driver question

9. AIX v4.2 10/100 Ethernet Driver or 10 Ethernet card

10. Ethernet driver(DLPI) question

11. How to send ethernet frames directly to ethernet driver in SunOS?

12. Question on verifying ethernet driver