Problems using DFE-570

From: Harald Welte (laforge@corellia.franken.de)
Date: Sat Apr 08 2000 - 04:36:36 EST


Hi!

I'm using a D-Link DFE-570 four-port fast ethernet card.

It is using a pci2pci bridge and four DEC DC21142 (rev 65) chips (they're
actually produced by intel) and is therefore similar to other designs
like adaptec fourport cards.

At first I tried the tulip driver. The tulip does recognize all four
chips, provides eth0 till eth3. But unfortunately it doesn't work at all.
Tcpdump shows no packets from the net on any interface.

this is a dump from what happened at insmod tulip:
=====================
Mar 10 21:16:36 localhost kernel: tulip.c:v0.89H 5/23/98 becker@cesdis.gsfc.nasa.gov
Mar 10 21:16:36 localhost kernel: eth0: Digital DS21142/3 Tulip at 0xe000, 00 80 c8 57 c8 61, IRQ 10.
Mar 10 21:16:36 localhost kernel: eth0: EEPROM default media type Autosense.
Mar 10 21:16:36 localhost kernel: eth0: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Mar 10 21:16:36 localhost kernel: eth0: MII transceiver found at MDIO address 1, config 3100 status 7849.
Mar 10 21:16:36 localhost kernel: eth1: Digital DS21142/3 Tulip at 0xe400, 00 80 c8 57 c8 62, IRQ 12.
Mar 10 21:16:36 localhost kernel: eth1: EEPROM default media type Autosense.
Mar 10 21:16:36 localhost kernel: eth1: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Mar 10 21:16:36 localhost kernel: eth1: MII transceiver found at MDIO address 1, config 3100 status 7849.
Mar 10 21:16:36 localhost kernel: eth2: Digital DS21142/3 Tulip at 0xe800, 00 80 c8 57 c8 63, IRQ 5.
Mar 10 21:16:36 localhost kernel: eth2: EEPROM default media type Autosense.
Mar 10 21:16:36 localhost kernel: eth2: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Mar 10 21:16:36 localhost kernel: eth2: MII transceiver found at MDIO address 1, config 3100 status 7849.
Mar 10 21:16:36 localhost kernel: eth3: Digital DS21142/3 Tulip at 0xec00, 00 80 c8 57 c8 64, IRQ 11.
Mar 10 21:16:36 localhost kernel: eth3: EEPROM default media type Autosense.
Mar 10 21:16:36 localhost kernel: eth3: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Mar 10 21:16:36 localhost kernel: eth3: MII transceiver found at MDIO address 1, config 3100 status 7849.
=======================

I suspect there's a problem initializing the transceivers or sth. like that.

If I'm using the de4x5 driver, everything works fine at 100MBit.
But I want to use two of the four ports at 10MBit for a transition period.

this is a dump from insmod de4x5:
=========================
Mar 10 21:41:47 localhost kernel: de4x5.c:V0.544 1999/5/8 davies@maniac.ultranet.com
Mar 10 21:41:47 localhost kernel: eth1: DC21143 at 0xe400 (PCI bus 2, device 5), h/w address 00:80:c8:57:c8:62,
Mar 10 21:41:47 localhost kernel: and requires IRQ12 (provided by PCI BIOS).
Mar 10 21:41:47 localhost kernel: de4x5.c:V0.544 1999/5/8 davies@maniac.ultranet.com
Mar 10 21:41:47 localhost kernel: eth2: DC21143 at 0xe800 (PCI bus 2, device 6), h/w address 00:80:c8:57:c8:63,
Mar 10 21:41:47 localhost kernel: and requires IRQ5 (provided by PCI BIOS).
Mar 10 21:41:47 localhost kernel: de4x5.c:V0.544 1999/5/8 davies@maniac.ultranet.com
Mar 10 21:41:47 localhost kernel: eth3: DC21143 at 0xec00 (PCI bus 2, device 7), h/w address 00:80:c8:57:c8:64,
Mar 10 21:41:47 localhost kernel: and requires IRQ11 (provided by PCI BIOS).
Mar 10 21:41:47 localhost kernel: de4x5.c:V0.544 1999/5/8 davies@maniac.ultranet.com
Mar 10 21:42:13 localhost kernel: eth0: media is 100Mb/s.
Mar 10 21:47:32 localhost kernel: eth2: media is 100Mb/s.
=========================

I read the documentation and already tried to hardcode one ethernet port
to 10MBit. But as soon as a 10mbit network is attached to the port,
"ethX: media is 100Mb/s" appears. But that network is 10Mb/s for sure.

Maybe anyone has a guess what's going on. Thanx in advance.

P.S. The machine is a redhat 6.1, redhat 2.2.12-20 kernel, K6-III 400

-- 
Live long and prosper
- Harald Welte / laforge@corellia.franken.de       http://sunbeam.franken.de
============================================================================
GCS/E d- s-/ a--- C+++ UL++++$ P+++ L+++$ E+ W+++ N++ K- w--- O M-- PS+ PE++
Y-- PGP++ t+++ 5-- !X !R tv- b+++ DI? D+ G+ e* h++ r++ y+(*)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:11 EST