[tulip] Linksys 10/100 Etherfast hangs Linux

Larry Mulcahy lmulcahy@nyx.net
Sat, 5 Aug 2000 13:56:14 -0600 (MDT)


I have a Linksys Etherfast 10/100 LAN card.  My OS is Red Hat 6.2.

I have installed the updated drivers according to
http://www.scyld.com/network/updates.html#rpm.

Symptom is, the card and driver appear to be configured and working.  I
can ping other hosts on the LAN.  However, if I try a large file
transfer (288 MB), the transfer begins, then my system locks up and must
be rebooted with the reset button.  Possibly a buffer overrun?

I'm a bit curious why the card is coming up 10bT.  It's plugged into a
10/100 autosensing hub, and my other Linux box (the one I'm trying to do
the file transfer from) comes up at 100bT.

I have these line in /etc/conf.modules:

    alias eth0 tulip 
    options tulip debug=6

These messages appear in /var/log/messages as the system boots up and after: 

    Aug  5 11:36:58 ambient ifup: Determining IP information for eth0... 
    Aug  5 11:36:59 ambient network: Bringing up interface eth0 succeeded 
    Aug  5 11:37:06 ambient kernel: eth0: Lite-On PNIC-II rev 37 at 0xd08f0000, 00:A0:CC:E4:30:B2, IRQ 11. 
    Aug  5 11:37:06 ambient kernel: eth0: N-Way autonegotiation status 45e1d0cc, 10baseT. 
    Aug  5 11:38:02 ambient kernel: eth0: N-Way autonegotiation status 45e1d0cc, 10baseT. 
    Aug  5 11:39:02 ambient kernel: eth0: N-Way autonegotiation status 45e1d0cc, 10baseT. 
    Aug  5 11:40:02 ambient kernel: eth0: N-Way autonegotiation status 45e1d0cc, 10baseT. 
    Aug  5 11:41:02 ambient kernel: eth0: N-Way autonegotiation status 45e1d0cc, 10baseT. 
    Aug  5 11:42:02 ambient kernel: eth0: N-Way autonegotiation status 45e1d0cc, 10baseT. 
    Aug  5 11:53:02 ambient kernel: eth0: N-Way autonegotiation status 45e1d0cc, 10baseT. 


Here's the output of 'ifconfig -a':

    eth0      Link encap:Ethernet  HWaddr 00:A0:CC:E4:30:B2  
              inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
              UP BROADCAST RUNNING  MTU:1500  Metric:1
              RX packets:8 errors:0 dropped:0 overruns:0 frame:0
              TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100 
          Interrupt:11 

Here's the output of tulip-diag:

    tulip-diag.c:v2.00 4/19/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 10mpbs-serial, half-duplex.
     Transmit started, Receive started, half-duplex.
      The Rx process state is 'Waiting for packets'.
      The Tx process state is 'Idle'.
      The transmit threshold is 72.
      The NWay status register is 45e1d0cc.
     The current PNIC-II MAC address is 00:a0:cc:e4:30:b2 (a000a000 e4ccb230).
     The current PNIC-II WOL address is 00:a0:cc:e4:30:b2.
      Internal autonegotiation state is 'Negotiation complete'.
     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.

tulip-diag -a:

    tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
     http://www.scyld.com/diag/index.html
    Index #1: Found a Lite-On PNIC-II adapter at 0xe800.
     * A potential Tulip chip has been found, but it appears to be active.
     * Either shutdown the network, or use the '-f' flag to see all values.
     Port selection is 10mpbs-serial, half-duplex.
     Transmit started, Receive started, half-duplex.
      The Rx process state is 'Waiting for packets'.
      The Tx process state is 'Idle'.
      The transmit threshold is 72.
      The NWay status register is 45e1d0cc.
     The current PNIC-II MAC address is 00:a0:cc:e4:30:b2 (a000a000 e4ccb230).
     The current PNIC-II WOL address is 00:a0:cc:e4:30:b2.

tulip-diag -e:

    tulip-diag.c:v2.00 4/19/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 10mpbs-serial, half-duplex.
     Transmit started, Receive started, half-duplex.
      The Rx process state is 'Waiting for packets'.
      The Tx process state is 'Idle'.
      The transmit threshold is 72.
      The NWay status register is 45e1d0cc.
     The current PNIC-II MAC address is 00:a0:cc:e4:30:b2 (a000a000 e4ccb230).
     The current PNIC-II WOL address is 00:a0:cc:e4:30:b2.
    EEPROM size is 6.
      Ethernet MAC Station Address 00:a0:cc:e4:30:b2.
      Wake-On-LAN ID bytes a0:00:e4:cc:b2:30.
      PCI Subsystem IDs  Vendor 11ad Device 01c0
      Internal autonegotiation state is 'Negotiation complete'.

tulip-diag -m:

    tulip-diag.c:v2.00 4/19/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 10mpbs-serial, half-duplex.
     Transmit started, Receive started, half-duplex.
      The Rx process state is 'Waiting for packets'.
      The Tx process state is 'Idle'.
      The transmit threshold is 72.
      The NWay status register is 45e1d0cc.
     The current PNIC-II MAC address is 00:a0:cc:e4:30:b2 (a000a000 e4ccb230).
     The current PNIC-II WOL address is 00:a0:cc:e4:30:b2.
       No MII transceivers found!
      Internal autonegotiation state is 'Negotiation complete'.

Here's what cat /proc/pci shows.  Note that both the LinkSys card and my
Matrox graphics card have IRQ 11, however they are on a separate bus
(Bus 1 = the AGP slot).

    PCI devices found:
      Bus  0, device   0, function  0:
        Host bridge: VIA Technologies VT 82C597 Apollo VP3 (rev 3).
          Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=16.  
          Prefetchable 32 bit memory at 0xe0000000 [0xe0000008].
      Bus  0, device   1, function  0:
        PCI bridge: VIA Technologies VT 82C598 Apollo MVP3 AGP (rev 0).
          Medium devsel.  Master Capable.  No bursts.  Min Gnt=12.
      Bus  0, device   7, function  0:
        ISA bridge: VIA Technologies VT 82C586 Apollo ISA (rev 65).
          Medium devsel.  Master Capable.  No bursts.  
      Bus  0, device   7, function  1:
        IDE interface: VIA Technologies VT 82C586 Apollo IDE (rev 6).
          Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  
          I/O at 0xe000 [0xe001].
      Bus  0, device   7, function  3:
        Bridge: VIA Technologies VT 82C586B Apollo ACPI (rev 16).
          Medium devsel.  Fast back-to-back capable.  
      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 0xeb001000 [0xeb001000].
      Bus  0, device  10, function  0:
        SCSI storage controller: Adaptec AIC-7871 (rev 0).
          Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.  Latency=64.  Min Gnt=8.Max Lat=8.
          I/O at 0xec00 [0xec01].
          Non-prefetchable 32 bit memory at 0xeb000000 [0xeb000000].
      Bus  1, device   0, function  0:
        VGA compatible controller: Matrox Millennium II AGP (rev 0).
          Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master Capable.  Latency=64.  
          Prefetchable 32 bit memory at 0xe8000000 [0xe8000008].
          Non-prefetchable 32 bit memory at 0xe4000000 [0xe4000000].
          Non-prefetchable 32 bit memory at 0xe5000000 [0xe5000000].

-- 
Larry Mulcahy                   lmulcahy@nyx.net        lmulcahy@frii.com
http://www.nyx.net/~lmulcahy/   http://www.geocities.com/Area51/Zone/9653/
PGP key at http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE6F89645
"I like Linux, but I don't have any part of my body pierced." Roland Latour