Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754790Ab0GZOvq (ORCPT ); Mon, 26 Jul 2010 10:51:46 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:63310 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754280Ab0GZOvo (ORCPT ); Mon, 26 Jul 2010 10:51:44 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=tpr2GaXUCOJde1qfDZzvcrbhZxflcaP7hrRPNn4wHsH3rqoYUXCxpegfsA1tyEwKp7 5yRhwep2STophdw4689FC/W8aezoG/XuUc3oqOOtpj1VPX5jMMUMlJNjclg5vCE6qmII /0loPli0dUnzinwBONdobExO/xLCeyatAdxmA= Date: Mon, 26 Jul 2010 17:57:42 +0300 From: Sergey Senozhatsky To: Eric Dumazet Cc: Sergey Senozhatsky , "Rafael J. Wysocki" , Linux Kernel Mailing List , Kernel Testers List , Maciej Rutecki , netdev Subject: Re: [Bug #15704] [r8169] WARNING: at net/sched/sch_generic.c Message-ID: <20100726145742.GA4888@swordfish.minsk.epam.com> References: <20100726131629.GA4398@swordfish.minsk.epam.com> <1280154873.2899.390.camel@edumazet-laptop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: <1280154873.2899.390.camel@edumazet-laptop> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4936 Lines: 125 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On (07/26/10 16:34), Eric Dumazet wrote: > > Sorry for the dealy - I've been away. > > So, the bad news are that this is probably the last time I can test thi= s bug. This laptop will > > no longer be available. Sorry. > >=20 > >=20 > > [ 2599.495508] pktgen 2.73: Packet Generator for packet performance tes= ting. > > [ 2630.016019] ------------[ cut here ]------------ > > [ 2630.016031] WARNING: at net/sched/sch_generic.c:258 dev_watchdog+0xc= 1/0x129() > > [ 2630.016035] Hardware name: F3JC =20 > > [ 2630.016038] NETDEV WATCHDOG: eth0 (r8169): transmit queue 0 timed out > > [ 2630.016041] Modules linked in: pktgen ipv6 arc4 ecb iwl3945 snd_hwde= p iwlcore snd_seq_dummy snd_hda_codec_si3054 snd_hda_codec_realtek snd_seq_= oss snd_seq_midi_event snd_seq snd_seq_device mac80211 snd_pcm_oss snd_mixe= r_oss asus_laptop > > snd_hda_intel sparse_keymap sdhci_pci sdhci mmc_core led_class cfg80211= snd_hda_codec snd_pcm snd_timer snd_page_alloc snd rng_core soundcore usb_= storage sg psmouse evdev i2c_i801 serio_raw r8169 mii uhci_hcd ehci_hcd sd_= mod sr_mod usbcore > > cdrom ata_piix > > [ 2630.016114] Pid: 4282, comm: kpktgend_0 Not tainted 2.6.35-rc6-dbg-g= it1-00136-g459ab2a-dirty #75 > > [ 2630.016118] Call Trace: > > [ 2630.016125] [] warn_slowpath_common+0x65/0x7a > > [ 2630.016131] [] ? dev_watchdog+0xc1/0x129 > > [ 2630.016136] [] warn_slowpath_fmt+0x26/0x2a > > [ 2630.016142] [] dev_watchdog+0xc1/0x129 > > [ 2630.016149] [] ? run_timer_softirq+0x136/0x22b > > [ 2630.016154] [] run_timer_softirq+0x18f/0x22b > > [ 2630.016160] [] ? run_timer_softirq+0x136/0x22b > > [ 2630.016165] [] ? dev_watchdog+0x0/0x129 > > [ 2630.016171] [] __do_softirq+0x88/0x10c > > [ 2630.016177] [] do_softirq+0x2f/0x47 > > [ 2630.016182] [] irq_exit+0x38/0x75 > > [ 2630.016187] [] smp_apic_timer_interrupt+0x5f/0x6d > > [ 2630.016195] [] ? pktgen_xmit+0xda2/0xe6f [pktgen] > > [ 2630.016202] [] apic_timer_interrupt+0x36/0x3c > > [ 2630.016208] [] ? pktgen_xmit+0xda2/0xe6f [pktgen] > > [ 2630.016214] [] ? pktgen_xmit+0xda2/0xe6f [pktgen] > > [ 2630.016220] [] ? __kfifo_peek_n+0x13/0x2b > > [ 2630.016226] [] ? _local_bh_enable_ip+0x9d/0xb3 > > [ 2630.016231] [] local_bh_enable_ip+0x8/0xa > > [ 2630.016236] [] _raw_spin_unlock_bh+0x2f/0x32 > > [ 2630.016242] [] pktgen_xmit+0xda2/0xe6f [pktgen] > > [ 2630.016253] [] ? rtl8169_start_xmit+0x0/0x307 [r8169] > > [ 2630.016261] [] ? plist_add+0x85/0x87 > > [ 2630.016267] [] ? pktgen_thread_worker+0x96/0x5c3 [pktgen] > > [ 2630.016273] [] ? get_parent_ip+0xb/0x31 > > [ 2630.016279] [] ? sub_preempt_count+0x7c/0x89 > > [ 2630.016285] [] pktgen_thread_worker+0x170/0x5c3 [pktgen] > > [ 2630.016290] [] ? schedule+0x535/0x545 > > [ 2630.016296] [] ? autoremove_wake_function+0x0/0x2f > > [ 2630.016301] [] ? autoremove_wake_function+0x0/0x2f > > [ 2630.016307] [] ? pktgen_thread_worker+0x0/0x5c3 [pktgen] > > [ 2630.016313] [] kthread+0x6a/0x6f > > [ 2630.016318] [] ? kthread+0x0/0x6f > > [ 2630.016324] [] kernel_thread_helper+0x6/0x10 > > [ 2630.016328] ---[ end trace 0bdadff7f249bd0d ]--- > > [ 2630.032549] r8169 0000:02:00.0: eth0: link up > >=20 > >=20 > > Sergey > Hello, =20 > r8169 driver misses a netif_carrier_off() call somewhere, probably when > adapter is reset >=20 > Sergey, do you run a pktgen only test (sending packets, and not > receiving packets during the test), or a mixed workload ? > Only sending.=20 -- PGDEV=3D/proc/net/pktgen/eth0 echo "Configuring $PGDEV" pgset "$COUNT" pgset "$CLONE_SKB" pgset "$PKT_SIZE" pgset "$DELAY" pgset "dst 192.168.x.x" pgset "dst_mac x:x:x:x:x:x" PGDEV=3D/proc/net/pktgen/pgctrl echo "Running..." pgset "start" -- =20 > r8169 is known to reset if the RX ring buffer is stressed too much. >=20 Sergey --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iJwEAQECAAYFAkxNomYACgkQfKHnntdSXjTTPAP/Vay3VAC1RUo/V5ilows6XaG7 F3Uru0Kx2zPrXtoUozd+ycr4zqwFY7OkAd9h+tWl62VulIpmAcVFARDDMPBN3r1l 2yAQbhjfamMW9eAxbZZp22moM5APYc3Zkqr9rLcT6VtUS+vdU42DvH1dI5oWCQ8A W64M3l4tWfbIreH0yzU= =VIVk -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7-- -- 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/