From: Francois Romieu <romieu@fr.zoreil.com>
To: Jon Mason <jdmason@gmail.com>
Cc: Richard Ems <richard.ems@mtg-marinetechnik.de>,
linux-kernel@vger.kernel.org, linux-net@vger.kernel.org
Subject: Re: PROBLEM: Network hang: "eth0: Tx timed out (f0080), is buffer full?"
Date: Tue, 4 Jan 2005 23:09:35 +0100 [thread overview]
Message-ID: <20050104220935.GA21719@electric-eye.fr.zoreil.com> (raw)
In-Reply-To: <89245775050104133235a22b8b@mail.gmail.com>
Jon Mason <jdmason@gmail.com> :
[...]
> @@ -1005,10 +1018,36 @@ rio_error (struct net_device *dev, int i
> /* 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 + MACCtrl), readw(ioaddr + IntEnable));
> writew (GlobalReset | HostReset, ioaddr + ASICCtrl + 2);
> +
> + /* Free all the skbuffs in the queue. */
> + for (i = 0; i < RX_RING_SIZE; i++) {
> + np->rx_ring[i].status = 0;
> + np->rx_ring[i].fraginfo = 0;
> + skb = np->rx_skbuff[i];
> + if (skb) {
> + pci_unmap_single (np->pdev, np->rx_ring[i].fraginfo,
> + skb->len, PCI_DMA_FROMDEVICE);
> + dev_kfree_skb (skb);
It is probably a minor issue right now but skb->len seems inaccurate
(there is no guaranty that skb_put() was issued).
--
Ueimor
next prev parent reply other threads:[~2005-01-04 22:13 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 ` 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
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 [this message]
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=20050104220935.GA21719@electric-eye.fr.zoreil.com \
--to=romieu@fr.zoreil.com \
--cc=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
all inboxes | Powered by JetHome®