[eepro100] second eepro100 does not work

Sido Mylius mylius@biol.rug.nl
Tue Oct 1 17:18:01 2002


Dear all,

I have some problems setting up two Intel Ethernet Pro 100 NICs
simulaneously.

One card (eth0) is connected to a DSL modem, the other (eth1) I
would like to set up for a LAN.

The problem is that eth1 never comes up correctly and it's leds stay
off.  However, both cards seem to be recognized correctly at boot
time, the kernel reports in /var/log/messages that eth1 is brought
up just as well as eth0, dhcpd reports to be listening/sending on
Socket/eth1/192.168.1.0, and it (192.168.1.1) is pingable.

PnP OS in the BIOS is disabled and after fiddling around with
different PCI slots I have no shared IRQs any more (see below).

Both cards work correctly on their own, when I swap them it is the
other one that fails (=> cards are OK).  Also, swapping UTP cables
does not change anything (=> cables are OK).

Below I include some characteristics of my system (Asus P3B-F board,
RedHat 7.2 with updated kernel 2.4.9-34).

I would be very glad if anyone of you has a solution.

Thanks in advance,

Sido Mylius.

--

lspci:
[...]
00:0b.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 05)
00:0c.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 01)
[...]


cat /proc/pci:
[...]
  Bus  0, device  11, function  0:
    Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 5).
      IRQ 10.
      Master Capable.  Latency=32.  Min Gnt=8.Max Lat=56.
      Prefetchable 32 bit memory at 0xe2000000 [0xe2000fff].
      I/O at 0xb800 [0xb81f].
      Non-prefetchable 32 bit memory at 0xde800000 [0xde8fffff].
  Bus  0, device  12, function  0:
    Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (#2) (rev 1).
      IRQ 11.
      Master Capable.  Latency=32.  Min Gnt=8.Max Lat=56.
      Prefetchable 32 bit memory at 0xe1000000 [0xe1000fff].
      I/O at 0xb400 [0xb41f].
      Non-prefetchable 32 bit memory at 0xde000000 [0xde0fffff].
[...]


cat /proc/interrupts:
--
           CPU0       
  0:      62501          XT-PIC  timer
  1:       2827          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:       2477          XT-PIC  es1371
  8:          1          XT-PIC  rtc
  9:          0          XT-PIC  usb-uhci
 10:        492          XT-PIC  eth0
 11:        294          XT-PIC  eth1
 12:       2498          XT-PIC  PS/2 Mouse
 14:      12673          XT-PIC  ide0
 15:          0          XT-PIC  ide1
NMI:          0 
ERR:          0
--


dmesg:
[...]
eepro100.c:v1.25 8/27/2002 Donald Becker <becker@scyld.com>
  http://www.scyld.com/network/eepro100.html
eth0: Intel PCI EtherExpress Pro100 at 0xc8880000, 00:A0:C9:DC:9C:F3, IRQ 10.
  Board assembly 691334-003, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x24c9f043).
  Receiver lock-up workaround activated.
eth1: Intel PCI EtherExpress Pro100 at 0xc8882000, 00:A0:C9:1C:25:89, IRQ 11.
  Board assembly 352509-003, Physical connectors present: RJ45
  Primary interface chip DP83840 PHY #1.
  DP83840 specific setup, setting register 23 to 8462.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x49caa8d6).
  Receiver lock-up workaround activated.
[...]


cat /etc/modules.conf:
[...]
alias eth0 eepro100
[...]


ifconfig:
--
eth0      Link encap:Ethernet  HWaddr 00:A0:C9:DC:9C:F3  
          inet addr:10.0.0.150  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:127 errors:0 dropped:0 overruns:0 frame:0
          TX packets:123 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:16933 (16.5 Kb)  TX bytes:10898 (10.6 Kb)
          Interrupt:10 

eth1      Link encap:Ethernet  HWaddr 00:A0:C9:1C:25:89  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:4 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:168 (168.0 b)
          Interrupt:11 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1078 (1.0 Kb)  TX bytes:1078 (1.0 Kb)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:<my IP-address>  P-t-P:<IP at ISP>  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:63 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:9028 (8.8 Kb)  TX bytes:3337 (3.2 Kb)
--