All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Roland <jroland@roland.net>
To: Thomas Duffy <Thomas.Duffy.99@alumni.brown.edu>
Cc: Chris Wedgwood <cw@f00f.org>, Mark Atwood <mra@pobox.com>,
	linux-kernel@vger.kernel.org
Subject: Re: How does "alias ethX drivername" in modules.conf work?
Date: Fri, 03 Aug 2001 23:39:36 -0500	[thread overview]
Message-ID: <3B6B7C88.3010803@roland.net> (raw)
In-Reply-To: <m33d78de7d.fsf@flash.localdomain> 	<20010804132159.F18108@weta.f00f.org> <996888738.24442.1.camel@tduffy-lnx.afara.com>

It's a little simpler now.

Under 2.2 and 2.4, I have gotten away with doing the following (assuming 
the module does not require a port address or irq):
alias eth0 modulename
alias eth1 modulename

This assumes the kernel sees both cards (look in your kernel ring log, 
typically /var/log/dmesg).  If the entries are both there for eth0 and 
eth1 and irq and port addresses are correct, you're ready to go.  I have 
had no problems with DLink DE220s for example (NE2000 clones).

If it does not see the 2nd card (eth1), then go for something like 
"ether=0,0,eth1" in at the boot prompt (use the append option for LILO 
to make it permanent if you're using LILO).  If that does not work, then 
provide "ether=11,0x300,eth1" (example of IRQ11, IO address 300 hex). 
 The man page on bootparam will explain a little further.

The above was sometimes necessary for ISA, but the PCI world should 
require less intervention.



Thomas Duffy wrote:

>On 04 Aug 2001 13:21:59 +1200, Chris Wedgwood wrote:
>
>>the kernel calls modprobe asking for the network device 'eth0',
>>modprobe uses the configuration file to map this to a module
>>
>
>so, what happens when you have two eth cards that use the same module?
>in the isa land, the order you pass the io=0x300,0x240 would determine
>which order the eth?'s go to...how about in the pci world?
>
>-tduffy
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>



  parent reply	other threads:[~2001-08-04  4:40 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-03 21:29 How does "alias ethX drivername" in modules.conf work? Mark Atwood
2001-08-04  1:21 ` Chris Wedgwood
2001-08-04  1:32   ` Thomas Duffy
2001-08-04  2:31     ` Chris Wedgwood
2001-08-04  4:39     ` Jim Roland [this message]
2001-08-04 19:35     ` Riley Williams
2001-08-06 19:59       ` Thomas Duffy
2001-08-06 22:56         ` Riley Williams
2001-08-06 23:46           ` Andrzej Krzysztofowicz
2001-08-07  7:04             ` Riley Williams
2001-08-07 10:49               ` Andrzej Krzysztofowicz
2001-08-07 19:04                 ` Riley Williams
2001-08-07 21:46                   ` Mark Atwood
2001-08-07 22:33                     ` Tim Jansen
2001-08-07 23:06                       ` Josh Wyatt
2001-08-07 23:35                     ` Riley Williams
2001-08-08  0:04                       ` Josh Wyatt
2001-08-08  6:28                         ` Riley Williams
2001-08-08 10:59                           ` Alan Cox
2001-08-08  0:08                       ` Mark Atwood
2001-08-08  6:40                         ` Riley Williams
2001-08-08  8:41                           ` Andrzej Krzysztofowicz
2001-08-08 10:52                             ` Eric W. Biederman
2001-08-08 11:40                               ` Andrzej Krzysztofowicz
2001-08-08 22:04                               ` Riley Williams
2001-08-08 21:09                             ` Riley Williams
2001-08-08  0:11                       ` Mark Atwood
2001-08-08  6:47                         ` Riley Williams
2001-08-08  0:16                       ` Mark Atwood
2001-08-08 20:26                         ` Riley Williams
2001-08-08  9:30                       ` Andrzej Krzysztofowicz
2001-08-08 21:31                         ` Riley Williams
2001-08-08 21:42                           ` Alan Cox
2001-08-08 22:24                           ` Horst von Brand
     [not found]                     ` <9kpub6$8fu$1@ns1.clouddancer.com>
2001-08-09 20:05                       ` Colonel
2001-08-10  6:32       ` Paul Gortmaker
2001-08-10 21:25         ` Riley Williams
2001-08-15  4:32           ` Paul Gortmaker
2002-03-28  2:52   ` How to tell how much to expect from a fd Mark Atwood
2002-03-28 13:27     ` Eric Lammerts
2002-03-31  3:03     ` David Schwartz
2001-08-04  4:33 ` How does "alias ethX drivername" in modules.conf work? Jim Roland
2001-08-04  4:48 ` Jim Roland
     [not found] ` <15SnZL-05h4nQC@fmrl06.sul.t-online.com>
2001-08-06 19:46   ` How to hack a network driver to use a specific ethX (was Re: How does "alias ethX drivername" in modules.conf work?) Mark Atwood
  -- strict thread matches above, loose matches on Subject: below --
2001-08-07 20:51 How does "alias ethX drivername" in modules.conf work? Stuart Lynne
2001-08-08  2:36 ` Bill Nottingham
2001-08-08  5:45   ` Greg KH
2001-08-08 13:59 Matt_Domsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B6B7C88.3010803@roland.net \
    --to=jroland@roland.net \
    --cc=Thomas.Duffy.99@alumni.brown.edu \
    --cc=cw@f00f.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mra@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.