public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jon Mason <jdmason@gmail.com>
To: Richard Ems <richard.ems@mtg-marinetechnik.de>
Cc: linux-kernel@vger.kernel.org, linux-net@vger.kernel.org
Subject: Re: PROBLEM: Network hang: "eth0: Tx timed out (f0080), is buffer full?"
Date: Mon, 20 Dec 2004 11:12:17 -0600	[thread overview]
Message-ID: <8924577504122009126c40c1fe@mail.gmail.com> (raw)
In-Reply-To: <41C6E2E1.8030801@mtg-marinetechnik.de>

It looks correct to me.  I apologize for the oversight.


On Mon, 20 Dec 2004 15:34:09 +0100, Richard Ems
<richard.ems@mtg-marinetechnik.de> wrote:
> Hi Jon, hi list.
> 
> The following patch is what I'm trying now:
> (I added the *np declaration to your patch, is this correct?)
> 
> Thanks, Richard
> 
> --- dl2k.c,orig-save-2004.12.20 2004-12-20 09:32:19.000000000 +0100
> +++ dl2k.c      2004-12-20 15:24:39.051556188 +0100
> @@ -562,9 +562,11 @@
>   rio_tx_timeout (struct net_device *dev)
>   {
>          long ioaddr = dev->base_addr;
> +       struct netdev_private *np = dev->priv;
> 
> -       printk (KERN_INFO "%s: Tx timed out (%4.4x), is buffer full?\n",
> -               dev->name, readl (ioaddr + TxStatus));
> +       printk (KERN_INFO "%s: Tx timed out (%4.4x) %d %d %x %x\n",
> +               dev->name, readl (ioaddr + TxStatus), np->cur_tx,
> np->cur_rx,
> +               readl (ioaddr + DMACtrl), readw(ioaddr + IntEnable));
>          rio_free_tx(dev, 0);
>          dev->if_port = 0;
>          dev->trans_start = jiffies;
> @@ -1005,8 +1007,9 @@
>          /* PCI Error, a catastronphic error related to the bus interface
>             occurs, set GlobalReset and HostReset to reset. */
>          if (int_status & HostError) {
> -               printk (KERN_ERR "%s: HostError! IntStatus %4.4x.\n",
> -                       dev->name, int_status);
> +               printk (KERN_ERR "%s: HostError! IntStatus %4.4x. %d %d
> %x %x\n",
> +                       dev->name, int_status, np->cur_tx, np->cur_rx,
> +                       readl (ioaddr + DMACtrl), readw(ioaddr +
> IntEnable));
>                  writew (GlobalReset | HostReset, ioaddr + ASICCtrl + 2);
>                  mdelay (500);
>          }
> 
> --
> Richard Ems
> Tel: +49 40 65803 312
> Fax: +49 40 65803 392
> Richard.Ems@mtg-marinetechnik.de
> 
> MTG Marinetechnik GmbH - Wandsbeker Königstr. 62 - D 22041 Hamburg
> 
> GF Dipl.-Ing. Ullrich Keil
> Handelsregister: Abt. B Nr. 11 500 - Amtsgericht Hamburg Abt. 66
> USt.-IdNr.: DE 1186 70571
> 
>

  reply	other threads:[~2004-12-20 17:12 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200412171100.16601.richard.ems@mtg-marinetechnik.de>
2004-12-17 17:07 ` PROBLEM: Network hang: "eth0: Tx timed out (f0080), is buffer full?" Jon Mason
2004-12-17 17:15   ` PROBLEM: Network hang: "eth0: Tx timed out (f0080), is buffer full?" (Plain) Richard Ems
2004-12-17 18:05     ` Jon Mason
2004-12-17 20:52       ` Jon Mason
2004-12-20  9:42         ` PROBLEM: Network hang: "eth0: Tx timed out (f0080), is buffer full?" (Plain) (Plain) Richard Ems
2004-12-20 14:34         ` PROBLEM: Network hang: "eth0: Tx timed out (f0080), is buffer full?" Richard Ems
2004-12-20 17:12           ` Jon Mason [this message]
2004-12-20 18:03             ` PROBLEM: Network hang: "eth0: Tx timed out (f0080), is buffer full?" (Plain) Richard Ems
2004-12-20 20:31               ` Jon Mason
2004-12-21  9:51                 ` PROBLEM: Network hang: "eth0: Tx timed out (f0080), is buffer full?" Richard Ems
2004-12-21 16:02                   ` Jon Mason
2004-12-22  9:29                     ` Richard Ems
2004-12-22 14:54                       ` Jon Mason
2004-12-22 15:58                         ` PROBLEM: Network hang: "eth0: Tx timed out (f0080), is buffer full?" (Plain) Richard Ems
2004-12-29 17:53                         ` PROBLEM: Network hang: "eth0: Tx timed out (f0080), is buffer full?" Richard Ems
2005-01-04 21:32                           ` Jon Mason
2005-01-04 22:09                             ` Francois Romieu
2004-12-17 14:54 Richard Ems

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8924577504122009126c40c1fe@mail.gmail.com \
    --to=jdmason@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=richard.ems@mtg-marinetechnik.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox