[tulip] DFE 570tx NETDEV transmit timeout error

Ben Greear greearb@candelatech.com
Thu Jun 27 16:01:00 2002


Curtis Collicutt wrote:
> I have a dual intel processor Redhat 7.2 box running kernel 2.4.9-31.
> 
> It has 3 570tx cards.

There are bugs in 2.4.X kernels that will not let more than
2 DFE-570tx NICs work.  Jeff Garzik has a fix for the problem
but it is in his tulip driver (partial?) rewrite.  I'm not sure
when he plans on putting it in 2.4.

Not sure if Becker's drivers have this bug or not...

Ben

> 
> One card has worked fine. On the other two, only 3 of the NICs work, the
> ones that don't work are eth8 and eth9. This is and example of the error
> I get to /var/log/messages for both eth8 and 9:
> 
> Jun 26 12:26:46 localhost kernel: NETDEV WATCHDOG: eth8: transmit timed
> out
> 
> Eth8 didn't work from day one. Eth9 took a little longer to break down.
> I think it may have something to do with the IRQs, but I'm a little over
> my head technically.
> 
> Any thoughts?
> 
> Thanks,
> Curtis.
> 
> PS. Here is some data from the machine. Sorry it's so long, but 12
> interfaces...
> 
> #cat /proc/interrupts
> ---------------------------------------------
>            CPU0       CPU1       
>   0:    3739012    3831405    IO-APIC-edge  timer
>   1:        453        443    IO-APIC-edge  keyboard
>   2:          0          0          XT-PIC  cascade
>   6:         11         10    IO-APIC-edge  floppy
>   8:          0          1    IO-APIC-edge  rtc
>   9:          0          0   IO-APIC-level  usb-ohci
>  14:      25216      24388    IO-APIC-edge  ide0
>  15:          1          1    IO-APIC-edge  ide1
>  18:        105        107   IO-APIC-level  eth0
>  23:          4          3   IO-APIC-level  eth5
>  24:          4          4   IO-APIC-level  eth9
>  26:          5          2   IO-APIC-level  eth1
>  27:          6          8   IO-APIC-level  eth2, eth6
>  28:          7          7   IO-APIC-level  eth3, eth7
>  29: 1734246339 1734422829   IO-APIC-level  eth10, eth4
>  41:          0          0            none  eth8
> NMI:          0          0 
> LOC:    7570820    7570818 
> ERR:          0
> MIS:          0
> 
> #tulip-diag
> ---------------------------------------------
> 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 0x3000.
>  Port selection is MII, 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.
>   Internal autonegotiation state is 'Autonegotiation disabled'.
> Index #2: Found a Digital DS21143 Tulip adapter at 0x3080.
>  Port selection is MII, 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.
>   Internal autonegotiation state is 'Autonegotiation disabled'.
> Index #3: Found a Digital DS21143 Tulip adapter at 0x3400.
>  Port selection is MII, 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.
>   Internal autonegotiation state is 'Autonegotiation disabled'.
> Index #4: Found a Digital DS21143 Tulip adapter at 0x3480.
>  Port selection is MII, 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.
>   Internal autonegotiation state is 'Autonegotiation disabled'.
> Index #5: Found a Digital DS21143 Tulip adapter at 0x4000.
>  Port selection is MII, 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.
>   Internal autonegotiation state is 'Autonegotiation disabled'.
> Index #6: Found a Digital DS21143 Tulip adapter at 0x4080.
>  Port selection is MII, 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.
>   Internal autonegotiation state is 'Autonegotiation disabled'.
> Index #7: Found a Digital DS21143 Tulip adapter at 0x4400.
>  Port selection is MII, 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.
>   Internal autonegotiation state is 'Autonegotiation disabled'.
> Index #8: Found a Digital DS21143 Tulip adapter at 0x4480.
>  Port selection is MII, 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 128.
>  Interrupt sources are pending!  CSR5 is f0678146.
>    Tx complete indication.
>    Tx out of buffers indication.
>    Rx Done indication.
>    Receiver stopped indication.
>   The NWay status register is 000000c6.
>   Internal autonegotiation state is 'Autonegotiation disabled'.
> Index #9: Found a Digital DS21143 Tulip adapter at 0x5000.
>  Port selection is MII, 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.
>   Internal autonegotiation state is 'Autonegotiation disabled'.
> Index #10: Found a Digital DS21143 Tulip adapter at 0x5080.
>  Port selection is MII, 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.
>   Internal autonegotiation state is 'Autonegotiation disabled'.
> Index #11: Found a Digital DS21143 Tulip adapter at 0x5400.
>  Port selection is MII, half-duplex.
>  Transmit stopped, Receive stopped, half-duplex.
>   The Rx process state is 'Stopped'.
>   The Tx process state is 'Stopped'.
>   The transmit threshold is 128.
>   The NWay status register is 000000c6.
>   Internal autonegotiation state is 'Autonegotiation disabled'.
> Index #12: Found a Digital DS21143 Tulip adapter at 0x5480.
>  Port selection is MII, half-duplex.
>  Transmit stopped, Receive stopped, half-duplex.
>   The Rx process state is 'Stopped'.
>   The Tx process state is 'Stopped'.
>   The transmit threshold is 128.
>   The NWay status register is 000000c6.
>   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.
> 
> #dmesg | grep -i tulip
> ---------------------------------------------
> Linux Tulip driver version 0.9.15-pre6 (July 2, 2001)
> tulip0:  EEPROM default media type Autosense.
> tulip0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3)
> block.
> tulip0:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
> eth1: Digital DS21143 Tulip rev 65 at 0xfb1fc000, 00:80:C8:CD:69:ED, IRQ
> 26.
> tulip1:  EEPROM default media type Autosense.
> tulip1:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3)
> block.
> tulip1:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
> eth2: Digital DS21143 Tulip rev 65 at 0xfb1fe400, 00:80:C8:CD:69:EE, IRQ
> 27.
> tulip2:  EEPROM default media type Autosense.
> tulip2:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3)
> block.
> tulip2:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
> eth3: Digital DS21143 Tulip rev 65 at 0xfb200800, 00:80:C8:CD:69:EF, IRQ
> 28.
> tulip3:  EEPROM default media type Autosense.
> tulip3:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3)
> block.
> tulip3:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
> eth4: Digital DS21143 Tulip rev 65 at 0xfb20ac00, 00:80:C8:CD:69:F0, IRQ
> 29.
> tulip4:  EEPROM default media type Autosense.
> tulip4:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3)
> block.
> tulip4:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
> eth5: Digital DS21143 Tulip rev 65 at 0xfb20c000, 00:80:C8:CD:2C:39, IRQ
> 23.
> tulip5:  EEPROM default media type Autosense.
> tulip5:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3)
> block.
> tulip5:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
> eth6: Digital DS21143 Tulip rev 65 at 0xfb810400, 00:80:C8:CD:2C:3A, IRQ
> 27.
> tulip6:  EEPROM default media type Autosense.
> tulip6:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3)
> block.
> tulip6:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
> eth7: Digital DS21143 Tulip rev 65 at 0xfb812800, 00:80:C8:CD:2C:3B, IRQ
> 28.
> tulip7:  EEPROM default media type Autosense.
> tulip7:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3)
> block.
> tulip7:  MII transceiver #1 config 3100 status 7869 advertising 01e1.
> eth8: Digital DS21143 Tulip rev 65 at 0xfb814c00, 00:80:C8:CD:2C:3C, IRQ
> 41.
> tulip8:  EEPROM default media type Autosense.
> tulip8:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3)
> block.
> tulip8:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
> eth9: Digital DS21143 Tulip rev 65 at 0xfb816000, 00:80:C8:CD:4F:75, IRQ
> 24.
> tulip9:  EEPROM default media type Autosense.
> tulip9:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3)
> block.
> tulip9:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
> eth10: Digital DS21143 Tulip rev 65 at 0xfb818400, 00:80:C8:CD:4F:76,
> IRQ 29.
> tulip10:  EEPROM default media type Autosense.
> tulip10:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3)
> block.
> tulip10:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
> eth11: Digital DS21143 Tulip rev 65 at 0xfb81a800, 00:80:C8:CD:4F:77,
> IRQ 27.
> tulip11:  EEPROM default media type Autosense.
> tulip11:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3)
> block.
> tulip11:  MII transceiver #1 config 3100 status 7849 advertising 01e1.
> eth12: Digital DS21143 Tulip rev 65 at 0xfb81cc00, 00:80:C8:CD:4F:78,
> IRQ 28.
> 
> ___
>     This communication is intended for the use of the recipient to whom it
>     is addressed, and may contain confidential, personal, and or privileged
>     information. Please contact us immediately if you are not the intended
>     recipient of this communication, and do not copy, distribute, or take
>     action relying on it. Any communications received in error, or
>     subsequent reply, should be deleted or destroyed.
> ---
> _______________________________________________
> tulip mailing list, tulip@scyld.com
> To change to digest mode or unsubscribe visit
> http://www.scyld.com/mailman/listinfo/tulip
> 



-- 
Ben Greear <greearb@candelatech.com>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear