Re: tulip driver: errors instead TX packets?

From: Adam Kropelin (akropel1_at_rochester.rr.com)
Date: 01/11/04

  • Next message: Gunter Königsmann: "Re: Synaptics Touchpad workaround for strange behavior after Sync loss (With Patch). (fwd)"
    Date:	Sun, 11 Jan 2004 12:27:36 -0500
    To: Piotr Kaczuba <pepe@attika.ath.cx>
    
    

    On Sun, Jan 11, 2004 at 01:16:03PM +0100, Piotr Kaczuba wrote:
    >
    > Here is the output of dmesg after setting TULIP_DEBUG to 4 and starting
    > pppd (eth0 is used by PPPoE). I agree that the code looks okay but

    <snip>

    > eth0: Transmit error, Tx status 1a078c80.

    That would be heartbeat failure, no carrier, and loss of carrier. It's
    interesting that you seem to be able to get valid packets on the wire
    because the latter two errors are usually quite fatal. I suspect either
    the Comet is just buggy and those error bits aren't to be trusted or
    there is something wrong with the PHY config. I don't have docs on the
    Comet PHY so there's not much I can do.

    On whim, does the patch below change anything for you?

    --Adam

    --- linux-2.6.1/drivers/net/tulip/tulip_core.c.orig Sun Jan 11 12:06:34 2004
    +++ linux-2.6.1/drivers/net/tulip/tulip_core.c Sun Jan 11 12:09:13 2004
    @@ -438,7 +438,7 @@
                     /* Enable automatic Tx underrun recovery. */
                     outl(inl(ioaddr + 0x88) | 1, ioaddr + 0x88);
                     dev->if_port = tp->mii_cnt ? 11 : 0;
    - tp->csr6 = 0x00040000;
    + tp->csr6 = 0x000C0000;
             } else if (tp->chip_id == AX88140) {
                     tp->csr6 = tp->mii_cnt ? 0x00040100 : 0x00000100;
             } else

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


  • Next message: Gunter Königsmann: "Re: Synaptics Touchpad workaround for strange behavior after Sync loss (With Patch). (fwd)"

    Relevant Pages

    • Re: tulip driver: errors instead TX packets?
      ... > That would be heartbeat failure, no carrier, and loss of carrier. ... > there is something wrong with the PHY config. ... Below is an excerpt from kern.log after applying the patch. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH x86_64] Live Patching Function on 2.6.11.7
      ... >>function on especially carrier, telecom vendor. ... >>If linux want to be adopted on mission critical world, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: AIC7xxx kernel problem with 2.4.2[234] kernels
      ... U2 LVD Carrier that is causing the problem with the timeouts. ... Cabling was pulled out and looked at ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • [resend patch] HVSI hangup oops
      ... Testing revealed that the HVSI driver could oops if carrier ... detect dropped mid-data transfer. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)