netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Willy Tarreau <w@1wt.eu>
To: Matt Carlson <mcarlson@broadcom.com>
Cc: Roger Heflin <rogerheflin@gmail.com>,
	Peter Zijlstra <peterz@infradead.org>,
	LKML <linux-kernel@vger.kernel.org>,
	netdev <netdev@vger.kernel.org>
Subject: Re: WARNING: at net/sched/sch_generic.c:219 dev_watchdog+0xfe/0x17e() with tg3 network
Date: Mon, 24 Nov 2008 22:52:47 +0100	[thread overview]
Message-ID: <20081124215247.GA29696@1wt.eu> (raw)
In-Reply-To: <20081124132744.GB24851@1wt.eu>

Hi Matt,

just a follow-up.

On Mon, Nov 24, 2008 at 02:27:44PM +0100, Willy Tarreau wrote:
> Hi Matt,
> 
> On Thu, Nov 20, 2008 at 01:53:18PM -0800, Matt Carlson wrote:
> > > Today, with the notebook connected to a gig switch, I could not reproduce
> > > the problem, even after one hour of approximately the same workload. I'll
> > > retry with the original 100 Mbps switch on monday.
> 
> fairly easier now with the same switch. I just have to transfer 100k objects
> over HTTP via this switch to see the problem happen :
> 
> tg3: eth0: The system may be re-ordering memory-mapped I/O cycles to the network device, attempting to recover. Please report the problem to the driver maintainer and include system chipset information.
> tg3: tg3_stop_block timed out, ofs=1400 enable_bit=2
> tg3: tg3_stop_block timed out, ofs=c00 enable_bit=2
> tg3: eth0: Link is down.
> tg3: eth0: Link is up at 100 Mbps, full duplex.
> tg3: eth0: Flow control is on for TX and on for RX.
> 
> The switch is an el-cheapo D-Link 10/100. Note that this time I did not see
> any warning. Maybe I did not wait long enough though.

Got it again, just had to be patient to fire a second test :

WARNING: at net/sched/sch_generic.c:219 dev_watchdog+0x1a4/0x1b0()
NETDEV WATCHDOG: eth0 (tg3): transmit timed out
Modules linked in: nfs lockd sunrpc mtdblock mtd_blkdevs slram mtd xt_tcpudp x_tables usbhid usb_storage ehci_hcd uhci_hcd usbcore snd_pcm_oss snd_mixer_oss snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc tg3 libphy ide_cs yenta_socket rsrc_nonstatic [last unloaded: ip_tables]
Pid: 0, comm: swapper Not tainted 2.6.27-wt2-wtap #1
 [<b01254a7>] warn_slowpath+0x67/0x90
 [<b01741a9>] ? get_slab+0x9/0x70
 [<b03d21af>] ? pskb_copy+0x2f/0x160
 [<b03aa332>] ? input_defuzz_abs_event+0x12/0xa0
 [<b03aa574>] ? input_handle_event+0x14/0x2a0
 [<b03b3d76>] ? synaptics_process_packet+0x2b6/0x3d0
 [<b0108a48>] ? native_io_delay+0x8/0x40
 [<b02ab4c9>] ? strlen+0x9/0x20
 [<b02a961e>] ? strlcpy+0x1e/0x60
 [<b03dbfbc>] ? netdev_drivername+0x3c/0x40
 [<b03e7c84>] dev_watchdog+0x1a4/0x1b0
 [<b013a27e>] ? run_hrtimer_pending+0xe/0xb0
 [<b03e7ae0>] ? dev_watchdog+0x0/0x1b0
 [<b012d548>] ? timer_stats_account_timer+0x38/0x40
 [<b03e7ae0>] ? dev_watchdog+0x0/0x1b0
 [<b012dbbc>] run_timer_softirq+0xac/0x170
 [<b013f863>] ? tick_periodic+0x33/0x70
 [<b013f8b7>] ? tick_handle_periodic+0x17/0x70
 [<b03e7ae0>] ? dev_watchdog+0x0/0x1b0
 [<b0129ae4>] __do_softirq+0x84/0xa0
 [<b0129b35>] do_softirq+0x35/0x40
 [<b0129bf6>] irq_exit+0x66/0x70
 [<b0105869>] do_IRQ+0x49/0x90
 [<b013bc30>] ? sched_clock_cpu+0xb0/0x100
 [<b010449b>] common_interrupt+0x23/0x28
 [<b0305158>] ? acpi_safe_halt+0x1b/0x29
 [<b0305b07>] acpi_idle_enter_c1+0xa6/0x117
 [<b03c096b>] cpuidle_idle_call+0x6b/0xa0
 [<b010206f>] cpu_idle+0x4f/0x70
 [<b04458dd>] rest_init+0x4d/0x50
 =======================
---[ end trace 1cc3b74458d87dab ]---
tg3: eth0: transmit timed out, resetting
tg3: DEBUG: MAC_TX_STATUS[0000000b] MAC_RX_STATUS[00000006]
tg3: DEBUG: RDMAC_STATUS[00000000] WDMAC_STATUS[00000008]
tg3: tg3_stop_block timed out, ofs=1400 enable_bit=2
tg3: tg3_stop_block timed out, ofs=c00 enable_bit=2
tg3: tg3_stop_block timed out, ofs=4c00 enable_bit=2
tg3: eth0: Link is down.
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is on for TX and on for RX.

The ease with which I reproduce it here clearly indicates that this is
related to the switch, probably just the fact that it is at 100 Mbps.
Unfortunately this evening I must go, but I still have one 100 Mbps
switch somewhere at home, I'll reproduce the same test ASAP in order
to bisect the issue.

Regards,
Willy




  reply	other threads:[~2008-11-24 21:53 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <491954E1.2050002@gmail.com>
2008-11-11 11:31 ` WARNING: at net/sched/sch_generic.c:219 dev_watchdog+0xfe/0x17e() with tg3 network Peter Zijlstra
2008-11-15  4:01   ` Roger Heflin
2008-11-18  6:50     ` Willy Tarreau
2008-11-20  3:11       ` Matt Carlson
2008-11-20  5:37         ` Willy Tarreau
2008-11-20 18:43           ` Matt Carlson
2008-11-20 21:26             ` Willy Tarreau
2008-11-20 21:53               ` Matt Carlson
2008-11-21 17:55                 ` Willy Tarreau
2008-11-24 13:27                 ` Willy Tarreau
2008-11-24 21:52                   ` Willy Tarreau [this message]
2008-11-25  1:52                     ` Matt Carlson
2008-11-25  5:31                       ` Willy Tarreau
2008-11-25 17:54                         ` Matt Carlson
2008-11-26 21:12                           ` Willy Tarreau
2008-11-26 22:54                             ` Matt Carlson
2008-11-27  5:16                               ` Willy Tarreau
2008-11-27 10:06                                 ` Frantisek Hanzlik
2008-11-27 20:33                                   ` Willy Tarreau
2008-12-02 22:55                               ` Willy Tarreau
2008-11-20  3:00     ` Matt Carlson
2008-11-20 10:07       ` Roger Heflin
2008-11-20 17:11         ` Matt Carlson
2008-11-21  9:34           ` Roger Heflin

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=20081124215247.GA29696@1wt.eu \
    --to=w@1wt.eu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcarlson@broadcom.com \
    --cc=netdev@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=rogerheflin@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).