[tulip] On Red hat 7.3 and compaq integrated 21143 chip.

Raju nraju@mindspring.com
Wed Jul 10 13:56:01 2002


Hello All:

I recently installed the latest RH Linux 7.3 on a Compaq Presario
5600i with an integrated ethernet controller, DEC 21143 chip.

The ethernet controller is recongnized and ifconfig eth0 shows ok,
but I _cannot_ get the link established with a ADSL modem on the other end
(which is 10 base, default half duplex link). I have browsed this newgroup
archives and did various tests suggested and have enclosed the results here.
Please let me know if you find anything interesting and any further tests
that
may give clues as to the behaviour.

/etc/modules.conf
-----------------
options tulip options=0 full_duplex=0
alias eth0 tulip

ifconfig eth0
-------------
eth0      Link encap:Ethernet  HWaddr 00:08:C7:FF:9D:7A
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:279 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:11 Base address:0x3000

Observation: RX packets errors keep increasing.

/var/log/messages
-----------------
Jul  9 19:56:39 Guru kernel: Linux Tulip driver version 0.9.15-pre10 (Mar 8,
2002)
Jul  9 19:56:39 Guru kernel: PCI: Found IRQ 11 for device 00:12.0
Jul  9 19:56:39 Guru kernel: PCI: Sharing IRQ 11 with 00:14.2
Jul  9 19:56:39 Guru kernel: tulip0:  EEPROM default media type Autosense.
Jul  9 19:56:39 Guru kernel: tulip0:  Index #0 - Media AUI (#18) described
by a 21142 Serial PHY (2) block.
Jul  9 19:56:39 Guru kernel: tulip0:  Index #1 - Media 10baseT (#0)
described by a 21142 Serial PHY (2) block
.
Jul  9 19:56:39 Guru kernel: tulip0:  Index #2 - Media 10baseT-FDX (#4)
described by a 21142 Serial PHY (2) b
lock.
Jul  9 19:56:39 Guru kernel: tulip0:  Index #3 - Media MII (#11) described
by a 21142 MII PHY (3) block.
Jul  9 19:56:39 Guru kernel: tulip0: ***WARNING***: No MII transceiver
found!
Jul  9 19:56:39 Guru kernel: eth0: Digital DS21143 Tulip rev 65 at
0xd0893000, 00:08:C7:FF:9D:7A, IRQ 11.


/proc/pci
---------
 Bus  0, device  18, function  0:
    Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev
65).
      IRQ 11.
      Master Capable.  Latency=66.  Min Gnt=20.Max Lat=40.
      I/O at 0x2000 [0x207f].
      Non-prefetchable 32 bit memory at 0x41500000 [0x415003ff].

Output of mii-diag
------------------
I also tried setting with tulip-diag and mii-diag -F to 10 base T speed, but
to no avail.

[root@Guru floppy1]# ./mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #32:  1000 7848 0000 0000 01e1 0000 0000 0000.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 Basic mode status register 0x7848 ... 7848.
   Link status: not established.
   End of basic transceiver information.

[root@Guru floppy1]# ./mii-diag -D
DEBUG: argc=2, optind=2 and argv[optind] is (null).
Using the default interface 'eth0'.
Basic registers of MII PHY #32:  2000 7848 0000 0000 01e1 0000 0000 0000.
 Basic mode control register 0x2000: Auto-negotiation disabled, with
 Speed fixed at 100 mbps, half-duplex.
 Basic mode status register 0x7848 ... 7848.
   Link status: not established.
 Link partner information is not exchanged when in fixed speed mode.
   End of basic transceiver information.

 MII PHY #32 transceiver registers:
   2000 7848 0000 0000 01e1 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000

mii-diag -V showed
mii-diag.c:v2.04 5/9/2002 Donald Becker (becker@scyld.com)

-------------------------------------------------------------------------
./tulip-diag -e
---------------

tulip-diag.c:v2.10 3/08/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0x2000.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, 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 128.
  The NWay status register is 000000c6.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 0e11, device b11e.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:08:C7:FF:9D:7A.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 4 transceiver description blocks:
  Media Home-PNA 1Mbps, block type 2, length 6.
   Serial transceiver for Home-PNA 1Mbps (media type 18).
    GP pin direction 080f  GP pin data 0001.
  Media 10baseT, block type 2, length 6.
   Serial transceiver for 10baseT (media type 0).
    GP pin direction 08af  GP pin data 0001.
  Media 10baseT-Full Duplex, block type 2, length 6.
   Serial transceiver for 10baseT-Full Duplex (media type 4).
    GP pin direction 08af  GP pin data 0001.
  Media MII, block type 3, length 17.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 2 words: 0803 0003.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
   No MII transceivers found!
  Internal autonegotiation state is 'Autonegotiation disabled'.

-------------------------------------------------------------------------
[root@Guru floppy1]# ./tulip-diag -a
tulip-diag.c:v2.10 3/08/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0x2000.
 * 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.
Digital DS21143 Tulip chip registers at 0x2000:
 0x00: f8a08000 ffffffff ffffffff 0cd66000 0cd66200 f4660000 b2422202
fbfffbff
 Port selection is 10mpbs-serial, 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 72.
  The NWay status register is 000000c6.
-------------------------------------------------------------------------

Thanks!
--
Naga
Crofton, MD 21114