[tulip] FULL DUPLEX

Homer Wilson Smith homer@lightlink.com
Sun Nov 3 20:12:00 2002


> >     Running Linux 2.0.38 using latest tulip.c, and pci-scan.c, tulip-diag
> > SAYS the chip is in full duplex mode, but the full dup light is not on,
>
> What driver version?
>
> > and the cisco 1900 switch it is connected to shows runt frames and
>
> What option are you passing?
> What is the detection message?

   Follows....

Ran the following /root/net to modprobe eth0 and assign IP's.

Also tried options=10,10,10,10 but that locks it up cold,
lights go out, no connection at all.

     Homer

#!/bin/csh

ifconfig lo 127.0.0.1
route add -net 127.0.0.0 netmask 255.0.0.0 lo

modprobe eth0 options=4,4,4,4

ifconfig eth0 205.232.89.2 netmask 255.255.255.240
ifconfig eth0 broadcast 205.232.89.15
route add -net 205.232.89.0
route add -net default gw 205.232.89.1

#---------------------------------------------------------------------
Here are the kernel detection messages.

Nov  3 19:56:10 fw1 kernel: tulip.c:v0.95 6/21/2002  Written by Donald Becker <becker@scyld.com>
Nov  3 19:56:10 fw1 kernel:   http://www.scyld.com/network/tulip.html
Nov  3 19:56:10 fw1 kernel: eth0: Digital DS21143-xD Tulip rev 65 at 0xd000, 00:80:C8:B9:55:A5, IRQ 11.
Nov  3 19:56:10 fw1 kernel: eth0: Transceiver selection forced to 10baseT-FDX.
Nov  3 19:56:10 fw1 kernel: eth0:  EEPROM default media type Autosense.
Nov  3 19:56:10 fw1 kernel: eth0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Nov  3 19:56:10 fw1 kernel: eth0:  MII transceiver #1 config 1100 status 786d advertising 01e1.
Nov  3 19:56:10 fw1 kernel: eth1: Digital DS21143-xD Tulip rev 65 at 0xd400, 00:80:C8:B9:55:A6, IRQ 10.
Nov  3 19:56:10 fw1 kernel: eth1: Transceiver selection forced to 10baseT-FDX.
Nov  3 19:56:10 fw1 kernel: eth1:  EEPROM default media type Autosense.
Nov  3 19:56:10 fw1 kernel: eth1:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Nov  3 19:56:10 fw1 kernel: eth1:  MII transceiver #1 config 1100 status 7849 advertising 01e1.
Nov  3 19:56:10 fw1 kernel: eth2: Digital DS21143-xD Tulip rev 65 at 0xd800, 00:80:C8:B9:55:A7, IRQ 12.
Nov  3 19:56:10 fw1 kernel: eth2: Transceiver selection forced to 10baseT-FDX.
Nov  3 19:56:10 fw1 kernel: eth2:  EEPROM default media type Autosense.
Nov  3 19:56:10 fw1 kernel: eth2:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Nov  3 19:56:10 fw1 kernel: eth2:  MII transceiver #1 config 1100 status 7849 advertising 01e1.
Nov  3 19:56:10 fw1 kernel: eth3: Digital DS21143-xD Tulip rev 65 at 0xdc00, 00:80:C8:B9:55:A8, IRQ 5.
Nov  3 19:56:10 fw1 kernel: eth3: Transceiver selection forced to 10baseT-FDX.
Nov  3 19:56:10 fw1 kernel: eth3:  EEPROM default media type Autosense.
Nov  3 19:56:10 fw1 kernel: eth3:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Nov  3 19:56:10 fw1 kernel: eth3:  MII transceiver #1 config 1100 status 7849 advertising 01e1.

#--------------------------------------------------------------------

Here are td, td -af, td -ee and td -mm

As you can see port 4 says it is in full duplex mode, but
the Fd light is not on, and performance stats on
Cisco Switch show runt frames and alignment errors indicating
half dup connection.  Put Cisco into half dup, and conneciton
runs fine.

tulip-diag.c:v2.15 9/23/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0xdc00.
 Port selection is MII, 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 000000c6.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 1186, device 1112.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:80:C8:B9:55:A8.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 13.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
 MII PHY found at address 1, status 0x7849.
 MII PHY #1 transceiver registers:
   1100 7849 2000 5c10 01e1 0000 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0200 0000 0000 0000 0000 0000 0020 0000
   0000 0001 002b 0100 0006 0f00 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.
Index #2: Found a Digital DS21143 Tulip adapter at 0xd800.
 Port selection is MII, 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 000000c6.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 1186, device 1112.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:80:C8:B9:55:A7.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 13.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
 MII PHY found at address 1, status 0x7849.
 MII PHY #1 transceiver registers:
   1100 7849 2000 5c10 01e1 0000 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0200 0000 0000 0000 0000 0000 0020 0000
   0000 0001 002b 0100 0006 0f00 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.
Index #3: Found a Digital DS21143 Tulip adapter at 0xd400.
 Port selection is MII, 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 000000c6.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 1186, device 1112.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:80:C8:B9:55:A6.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 13.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
 MII PHY found at address 1, status 0x7849.
 MII PHY #1 transceiver registers:
   1100 7849 2000 5c10 01e1 0000 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0200 0000 0000 0000 0000 0000 0020 0000
   0000 0001 002b 0100 0006 0f00 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.
Index #4: Found a Digital DS21143 Tulip adapter at 0xd000.
 Port selection is MII, full-duplex.
 Transmit started, Receive started.
  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 1186, device 1112.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:80:C8:B9:55:A5.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 13.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
 MII PHY found at address 1, status 0x786d.
 MII PHY #1 transceiver registers:
   1100 786d 2000 5c10 01e1 0021 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0a23 0000 0000 0000 0000 0000 0020 0000
   0000 0001 0109 0100 0006 0f00 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.

tulip-diag.c:v2.15 9/23/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0xdc00.
 Port selection is MII, 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 000000c6.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 1186, device 1112.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:80:C8:B9:55:A8.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 13.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
EEPROM contents (64 words):
0x00:  1186 1112 0000 0000 0000 0000 0000 0000
0x08:  0067 0103 8000 b9c8 a855 1e00 0000 0800
0x10:  8d01 0003 0000 7800 01e0 5000 1800 0000
0x18:  0000 0000 0000 0000 0000 0000 0000 0000
0x20:  0000 0000 0000 0000 0000 0000 0000 0000
0x28:  0000 0000 0000 0000 0000 0000 0000 0000
0x30:  0000 0000 0000 0000 0000 0000 0000 0000
0x38:  0000 0000 0000 0000 0000 0000 0000 591a
 ID block CRC 0x67 (vs. 0x67).
  Full contents CRC 0x591a (read as 0x591a).
 MII PHY found at address 1, status 0x7849.
 MII PHY #1 transceiver registers:
   1100 7849 2000 5c10 01e1 0000 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0200 0000 0000 0000 0000 0000 0020 0000
   0000 0001 002b 0100 0006 0f00 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.
Index #2: Found a Digital DS21143 Tulip adapter at 0xd800.
 Port selection is MII, 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 000000c6.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 1186, device 1112.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:80:C8:B9:55:A7.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 13.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
EEPROM contents (64 words):
0x00:  1186 1112 0000 0000 0000 0000 0000 0000
0x08:  0067 0103 8000 b9c8 a755 1e00 0000 0800
0x10:  8d01 0003 0000 7800 01e0 5000 1800 0000
0x18:  0000 0000 0000 0000 0000 0000 0000 0000
0x20:  0000 0000 0000 0000 0000 0000 0000 0000
0x28:  0000 0000 0000 0000 0000 0000 0000 0000
0x30:  0000 0000 0000 0000 0000 0000 0000 0000
0x38:  0000 0000 0000 0000 0000 0000 0000 915b
 ID block CRC 0x67 (vs. 0x67).
  Full contents CRC 0x915b (read as 0x915b).
 MII PHY found at address 1, status 0x7849.
 MII PHY #1 transceiver registers:
   1100 7849 2000 5c10 01e1 0000 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0200 0000 0000 0000 0000 0000 0020 0000
   0000 0001 002b 0100 0006 0f00 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.
Index #3: Found a Digital DS21143 Tulip adapter at 0xd400.
 Port selection is MII, 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 000000c6.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 1186, device 1112.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:80:C8:B9:55:A6.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 13.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
EEPROM contents (64 words):
0x00:  1186 1112 0000 0000 0000 0000 0000 0000
0x08:  0067 0103 8000 b9c8 a655 1e00 0000 0800
0x10:  8d01 0003 0000 7800 01e0 5000 1800 0000
0x18:  0000 0000 0000 0000 0000 0000 0000 0000
0x20:  0000 0000 0000 0000 0000 0000 0000 0000
0x28:  0000 0000 0000 0000 0000 0000 0000 0000
0x30:  0000 0000 0000 0000 0000 0000 0000 0000
0x38:  0000 0000 0000 0000 0000 0000 0000 e164
 ID block CRC 0x67 (vs. 0x67).
  Full contents CRC 0xe164 (read as 0xe164).
 MII PHY found at address 1, status 0x7849.
 MII PHY #1 transceiver registers:
   1100 7849 2000 5c10 01e1 0000 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0200 0000 0000 0000 0000 0000 0020 0000
   0000 0001 002b 0100 0006 0f00 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.
Index #4: Found a Digital DS21143 Tulip adapter at 0xd000.
 Port selection is MII, full-duplex.
 Transmit started, Receive started.
  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 1186, device 1112.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:80:C8:B9:55:A5.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 13.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
EEPROM contents (64 words):
0x00:  1186 1112 0000 0000 0000 0000 0000 0000
0x08:  0067 0103 8000 b9c8 a555 1e00 0000 0800
0x10:  8d01 0003 0000 7800 01e0 5000 1800 0000
0x18:  0000 0000 0000 0000 0000 0000 0000 0000
0x20:  0000 0000 0000 0000 0000 0000 0000 0000
0x28:  0000 0000 0000 0000 0000 0000 0000 0000
0x30:  0000 0000 0000 0000 0000 0000 0000 0000
0x38:  0000 0000 0000 0000 0000 0000 0000 7764
 ID block CRC 0x67 (vs. 0x67).
  Full contents CRC 0x7764 (read as 0x7764).
 MII PHY found at address 1, status 0x786d.
 MII PHY #1 transceiver registers:
   1100 786d 2000 5c10 01e1 0021 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0a23 0000 0000 0000 0000 0000 0020 0000
   0000 0001 0109 0100 0006 0f00 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.

tulip-diag.c:v2.15 9/23/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0xdc00.
 Port selection is MII, 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 000000c6.
 MII PHY found at address 1, status 0x7849.
 MII PHY #1 transceiver registers:
   1100 7849 2000 5c10 01e1 0000 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0200 0000 0000 0000 0000 0000 0020 0000
   0000 0001 002b 0100 0006 0f00 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.
Index #2: Found a Digital DS21143 Tulip adapter at 0xd800.
 Port selection is MII, 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 000000c6.
 MII PHY found at address 1, status 0x7849.
 MII PHY #1 transceiver registers:
   1100 7849 2000 5c10 01e1 0000 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0200 0000 0000 0000 0000 0000 0020 0000
   0000 0001 002b 0100 0006 0f00 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.
Index #3: Found a Digital DS21143 Tulip adapter at 0xd400.
 Port selection is MII, 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 000000c6.
 MII PHY found at address 1, status 0x7849.
 MII PHY #1 transceiver registers:
   1100 7849 2000 5c10 01e1 0000 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0200 0000 0000 0000 0000 0000 0020 0000
   0000 0001 002b 0100 0006 0f00 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.
Index #4: Found a Digital DS21143 Tulip adapter at 0xd000.
 Port selection is MII, full-duplex.
 Transmit started, Receive started.
  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.
 MII PHY found at address 1, status 0x786d.
 MII PHY #1 transceiver registers:
   1100 786d 2000 5c10 01e1 0021 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0a23 0000 0000 0000 0000 0000 0020 0000
   0000 0001 0109 0100 0006 0f00 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.