Re: Two 3COM Etherlink III netcards in one box

Bryn Paul Arnold Jones (bpaj@gytha.demon.co.uk)
Fri, 27 Dec 1996 23:04:56 +0000 (GMT)


On Fri, 27 Dec 1996, Baldur Norddahl wrote:

> On Thu, 26 Dec 1996, Bryn Paul Arnold Jones wrote:
> >
> > Ok, exactly which driver is that (3c5??), and what did you tell the module
> > ?
>
> 3c509.o with kernel 2.0.27.
>

*nod*

> > Was it something like:
> >
> > insmod 3c5whichever.o io=0x0230,0x0240 irq=5,6
>
> That gives me one interface on 230h. There is no trace of the one at 240h.
>

Hmm, I guessed at those ioports, was I right or were you just following my
lead ?

> >
> > insmod 3c5whichever.o io=0x0230 irq=5 -o some_significant_name
> > insmod 3c5whichever.o io=0x0240 irq=6 -o some_other_significant_name
>
> The second insmod fails with "Initialization of
> some_other_significant_name failed". After that there is no way to get in
> touch with the second 3com. Even if I unload the first driver, the second
> one fails. I can still reload the first driver again. And if I reboot the
> system and load the second card first, its the first card that disappears.
>

Hmm, are you absolutly sure that the one driver is isn't working both
cards ? From the comments in the source, the driver finds all the cards
on the ISA bus. When you have the eth0 device working do an ifconfig on
eth1. It's annoing, but I think that devices that are down don't appear
in the defualt ifconfig output:

root@gytha:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:212 errors:0 dropped:0 overruns:0
TX packets:212 errors:0 dropped:0 overruns:0

root@gytha:~# modprobe dummy
root@gytha:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:212 errors:0 dropped:0 overruns:0
TX packets:212 errors:0 dropped:0 overruns:0

root@gytha:~# ifconfig dummy0
dummy0 Link encap:10Mbps Ethernet HWaddr 00:00:00:00:00:00
inet addr:0.0.0.0 Bcast:0.0.0.0 Mask:0.0.0.0
BROADCAST NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0

root@gytha:~# ifconfig dummy0 158.152.166.246
root@gytha:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:212 errors:0 dropped:0 overruns:0
TX packets:212 errors:0 dropped:0 overruns:0

dummy0 Link encap:10Mbps Ethernet HWaddr 00:00:00:00:00:00
inet addr:158.152.166.246 Bcast:158.152.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0

root@gytha:~# ifconfig dummy0 down
root@gytha:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:212 errors:0 dropped:0 overruns:0
TX packets:212 errors:0 dropped:0 overruns:0

root@gytha:~# modprobe -r dummy

So have you tried just loading the one driver, and ifconfiging both eth0,
and eth1 ?

>
> Baldur
>

Bryn

--
PGP key pass phrase forgotten,   \ Overload -- core meltdown sequence 
again :( and I don't care ;)      |            initiated.
                                 / This space is intentionally left   
                                |  blank, apart from this text ;-)
                                 \____________________________________