[tulip] MII Transceivers
Jim McCloskey
mcclosk at ucsc.edu
Sun Jun 6 17:50:36 PDT 2004
The second network card in a machine I look after suddenly ceased to
work this afternoon.
tulip-diag identifies it this way:
Index #1: Found a Digital DS21143 Tulip adapter at 0xdc00
and dmesg (linux kernel 2.4.23):
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
PCI: Found IRQ 11 for device 00:0a.0
tulip0: EEPROM default media type Autosense.
tulip0: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
tulip0: Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial PHY (2) block.
tulip0: Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
tulip0: Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM PHY (4) block.
eth1: Digital DS21143 Tulip rev 65 at 0xdc00, 00:40:F6:4C:01:22, IRQ 11.
Attempts to bring up the eth1 interface (at boot-time or manually)
produce:
SIOCADDRT: Network is unreachable
Failed to bring up eth1.
The tulip driver is loaded. I don't believe that anything has changed
in the configuration, so I turned to tulip-diag to try to diagnose the
problem. The output from `tulip-diag -aem' is this:
tulip-diag.c:v2.17 5/6/2003 Donald Becker (becker at scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0xdc00.
Digital DS21143 Tulip chip registers at 0xdc00:
0x00: f8a08000 ffffffff ffffffff 0f724000 0f724200 f0000102 b3860000 f3fe0000
0x40: e0000000 ffffcbf8 ffffffff 00000000 40a1d2cd ffff0001 fffbffff 8ffd0008
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
Transmit stopped, Receive stopped.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
The NWay status register is 40a1d2cd.
Link Partner ability: 40a1.
100baseTx link good.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 0000, device 0000.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:40:F6:4C:01:22.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
4 transceiver description blocks:
Media 10baseT, block type 2, length 6.
Serial transceiver for 10baseT (media type 0).
GP pin direction 08af GP pin data 00a5.
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 00a5.
Media 100baseTx, block type 4, length 8.
SYM transceiver for 100baseTx (media type 3).
GP pin direction 08af GP pin data 00a5.
No media detection indication (command 80 61).
Media 100baseTx Full Duplex, block type 4, length 8.
SYM transceiver for 100baseTx Full Duplex (media type 5).
GP pin direction 08af GP pin data 00a5.
No media detection indication (command 80 61).
No MII transceivers found!
Internal autonegotiation state is 'Negotiation complete'.
I'm afraid that I don't know enough to make much of this though. Could
anyone tell me if this might be showing me the source of the problem:
`No MII transceivers found!' for instance?
I'd be very grateful indeed for any advice or help,
Jim
PS the network configuration file (Debian's /etc/network/interfaces)
looks like this:
----------------------------------------------------------------------
auto lo
iface lo inet loopback
# The first network card:
#
auto eth0
iface eth0 inet static
address 64.142.49.200
network 64.142.49.0
netmask 255.255.255.0
broadcast 64.142.49.255
gateway 64.142.49.1
# The second network card
#
auto eth1
iface eth1 inet static
address 192.168.93.3
network 192.168.93.0
netmask 255.255.255.0
broadcast 192.168.93.255
gateway 64.142.49.1
----------------------------------------------------------------------
More information about the tulip
mailing list