[tulip] multiple lne100tx's

Ed Heron Ed@RGTravel.com
Thu, 17 Aug 2000 15:50:14 -0600


  I'm trying to put multiple lne100tx's into my "new Linux router".

  I've got slackware 7.1 (kernel 2.2.16) and I compiled the tulip driver 
into the kernel.  The first one worked pretty well.  When I put the second 
one in, it appeared to work until I hooked another computer to the new 
segment.  I then looked at the following information.  It appears to have a 
problem seeing the EEPROM on the second card and mis-identifies the IRQ. 
 Any suggestions?

  The messages from kernel:

Aug 17 10:57:09 new kernel: tulip.c:v0.91g-ppc 7/16/99 
becker@cesdis.gsfc.nasa.gov
Aug 17 10:57:09 new kernel: eth0: Lite-On PNIC-II rev 37 at 0xe800, 
00:A0:CC:34:E3:50, IRQ 11.
Aug 17 10:57:09 new kernel: eth1: Lite-On PNIC-II rev 37 at 0xec00, EEPROM 
not present, 00:A0:CC:34:E3:51, IRQ 11.

  when I cat /proc/pci, I get:

  Bus  0, device   8, function  0:
    Ethernet controller: LiteOn Unknown device (rev 37).
      Vendor id=11ad. Device id=c115.
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master Capable. 
 Latency=64.  Min Gnt=8.Max Lat=56.
      I/O at 0xe800 [0xe801].
      Non-prefetchable 32 bit memory at 0xea001000 [0xea001000].
  Bus  0, device   9, function  0:
    Ethernet controller: LiteOn Unknown device (rev 37).
      Vendor id=11ad. Device id=c115.
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master Capable. 
 Latency=64.  Min Gnt=8.Max Lat=56.
      I/O at 0xec00 [0xec01].
      Non-prefetchable 32 bit memory at 0xea000000 [0xea000000].

  After I configure the interfaces, I run ifconfig and get:

eth0      Link encap:Ethernet  HWaddr 00:A0:CC:34:E3:50
          inet addr:192.168.201.17  Bcast:192.168.201.255 
 Mask:255.255.255.0
          IPX/Ethernet 802.3 addr:6A40C901:00A0CC34E350
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:21681 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8989 errors:1 dropped:0 overruns:1 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:11 Base address:0xe800

eth1      Link encap:Ethernet  HWaddr 00:A0:CC:34:E3:51
          inet addr:192.168.203.1  Bcast:192.168.203.255 
 Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:1832 dropped:1477572811 overruns:0 frame:0
          TX packets:0 errors:2004 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:11 Base address:0xec00


  when I run tulip-diag, I get:

tulip-diag.c:v2.03 7/31/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Lite-On PNIC-II adapter at 0xe800.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
 Transmit started, Receive started, full-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 256.
  The NWay status register is 000000cc.
 The current PNIC-II MAC address is 00:a0:cc:34:e3:50 (a000a000 34cc50e3).
 The current PNIC-II WOL address is 00:a0:cc:34:e3:50.
  Internal autonegotiation state is 'Autonegotiation disabled'.
Index #2: Found a Lite-On PNIC-II adapter at 0xec00.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
 Transmit started, Receive started, full-duplex.
  The Rx process state is 'Transferring Rx frame into memory'.
  The Tx process state is 'Closing Tx descriptor'.
  PCI bus error!: Unknown 7.
  The transmit unit is set to store-and-forward.
 Interrupt sources are pending!  CSR5 is ffffffff.
   Tx done indication.
   Tx complete indication.
   Tx out of buffers indication.
   Transmit Jabber indication.
   Link passed indication.
   Tx FIFO Underflow indication.
   Rx Done indication.
   Receiver out of buffers indication.
   Receiver stopped indication.
   Receiver jabber indication.
   Link changed indication.
   Timer expired indication.
   Link failed indication.
   PCI bus error indication.
   Early Rx indication.
  The NWay status register is ffffffff.
 The current PNIC-II MAC address is ff:ff:ff:ff:ff:ff (ffffffff ffffffff).
 The current PNIC-II WOL address is ff:ff:ff:ff:ff:ff.
  Internal autonegotiation state is 'Autonegotiation disabled'.
 Use '-a' or '-aa' to show device registers,
     '-e' to show EEPROM contents, -ee for parsed contents,
  or '-m' or '-mm' to show MII management registers.