Macronix 98713 support?

Fuzzy Fox fox@foxtaur.com
Mon Aug 2 15:36:06 1999


Hi there folks -

I'm wondering what the current level of support is for the Macronix
98713 PMAC, in the Tulip driver?  It seems to be a bit dodgy, I'm
afraid...

I'm currently using tulip v0.89H, as that seems to be mostly stable. 
However, perhaps every week or two, the card will suddenly and
inexplicably stop responding.  It requires an ifconfig down/up to
restore the card to working order again.

Here's my probe info, if that helps:

    tulip.c:v0.89H 5/23/98 becker@cesdis.gsfc.nasa.gov
    eth0: Macronix 98713 PMAC at 0x6800, 00 40 33 a4 e5 41, IRQ 11.
    eth0:  EEPROM default media type 100baseTx.
    eth0:  Index #0 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
    eth0:  Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block.
    eth0:  Index #2 - Media 10baseT-FD (#4) described by a 21140 non-MII (0) block.
    eth0:  Index #3 - Media 100baseTx-FD (#5) described by a 21140 non-MII (0) block.
    eth0: Using EEPROM-set media 100baseTx.

One thing I noticed is that, even though the driver claims to be using
the 100baseTx media, it doesn't work:

    eth0: 21140 transmit timed out, status fc265410, SIA fffffe0b ffffffff 1c09fdc0 fffffec8, resetting...
    eth0: transmit timed out, switching to 100baseTx media.

However, I can easily force this in my conf.modules, using "options=3",
so I've left it that way.  I'm using a 100TX hub, so full duplex is out
of the question.  :)

Here are my module options:

    options tulip options=3 max_interrupt_work=40

When the card freezes up, there are no console messages.  However, when
I upgraded my driver to (the latest?) v0.91e, the card would fail in the
same way after only a few hours of run-time.  This repeated enough that
I was forced to revert back to 0.89H until a fix can be found.

Here is the result from using 0.91e:

    tulip.c:v0.91e 5/27/99 becker@cesdis.gsfc.nasa.gov
    eth0: Macronix 98713 PMAC rev 0 at 0x6800, 00:40:33:A4:E5:41, IRQ 11.
    eth0:  EEPROM default media type 100baseTx.
    eth0:  Index #0 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
    eth0:  Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block.
    eth0:  Index #2 - Media 10baseT-FD (#4) described by a 21140 non-MII (0) block.
    eth0:  Index #3 - Media 100baseTx-FD (#5) described by a 21140 non-MII (0) block.
    eth0: Using user-specified media 100baseTx.
    eth0: Using user-specified media 100baseTx.
    eth0: Using user-specified media 100baseTx.
[...8 hours later...]
    eth0: 21140 transmit timed out, status fc67dc55, SIA fffffe1b ffffffff 1c09fdc0 fffffec8, resetting...
    eth0: 21140 transmit timed out, status fc69dcd7, SIA fffffe1b ffffffff 1c09fdc0 fffffec8, resetting...
    last message repeated 7 times
    last message repeated 13 times
    last message repeated 13 times

More configuration info:

The card is sharing an interrupt with my USB controller, which of course
has no Linux support.  Linux version is 2.2.9.

lspci info:

00:00.0 Host bridge: Intel Corporation 430TX - 82439TX MTXC (rev 01)
        Flags: bus master, medium devsel, latency 64

00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 01)
        Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80)
        Flags: bus master, medium devsel, latency 64
        I/O ports at f000

00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
        Flags: bus master, medium devsel, latency 64, IRQ 11
        I/O ports at 6400

00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 01)
        Flags: medium devsel

00:0f.0 VGA compatible controller: Cirrus Logic GD 5430/40 [Alpine] (rev 2d)
        Flags: VGA palette snoop, fast devsel, IRQ 10
        Memory at e0000000 (32-bit, prefetchable)

00:11.0 Ethernet controller: Macronix, Inc. MX98713
        Flags: bus master, stepping, medium devsel, latency 64, IRQ 11
        I/O ports at 6800
        Memory at e1000000 (32-bit, non-prefetchable)


Does anyone have any ideas, or want more information?

-- 
   fox@dallas.net (Fuzzy Fox)      || "Nothing takes the taste out of peanut
sometimes known as David DeSimone  ||  butter quite like unrequited love."
  http://www.dallas.net/~fox/      ||                       -- Charlie Brown