From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergey Senozhatsky Subject: Re: [PATCH] r8169: Fix rtl8169_rx_interrupt() Date: Wed, 17 Mar 2010 09:58:07 +0200 Message-ID: <20100317075807.GA3322@swordfish> References: <1268686865.2824.4.camel@edumazet-laptop> <1268699602.2824.14.camel@edumazet-laptop> <20100316145914.GB3332@swordfish.minsk.epam.com> <1268751933.3094.45.camel@edumazet-laptop> <20100316151023.GC3332@swordfish.minsk.epam.com> <1268752826.3094.48.camel@edumazet-laptop> <20100316182619.GA3451@swordfish> <1268765284.2932.17.camel@edumazet-laptop> <20100317072539.GA3579@swordfish> <1268811437.2932.66.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Cc: Oleg Nesterov , David Miller , Francois Romieu , netdev@vger.kernel.org To: Eric Dumazet Return-path: Received: from mail-bw0-f211.google.com ([209.85.218.211]:46059 "EHLO mail-bw0-f211.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753029Ab0CQH5U (ORCPT ); Wed, 17 Mar 2010 03:57:20 -0400 Received: by bwz3 with SMTP id 3so876441bwz.29 for ; Wed, 17 Mar 2010 00:57:16 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1268811437.2932.66.camel@edumazet-laptop> Sender: netdev-owner@vger.kernel.org List-ID: --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On (03/17/10 08:37), Eric Dumazet wrote: > trimming some cc >=20 > Le mercredi 17 mars 2010 =E0 09:25 +0200, Sergey Senozhatsky a =E9crit : > > Hello, > >=20 > > cumulative patch: > >=20 > > [ 155.337373] ------------[ cut here ]------------ > > [ 155.337386] WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0xc= 1/0x125() > > [ 155.337390] Hardware name: F3JC =20 > > [ 155.337394] NETDEV WATCHDOG: eth0 (r8169): transmit queue 0 timed out > > [ 155.337397] Modules linked in: pktgen ppp_async crc_ccitt ipv6 ppp_g= eneric slhc snd_hwdep snd_hda_codec_si3054 snd_hda_codec_realtek sdhci_pci = sdhci snd_hda_intel snd_hda_codec > > asus_laptop sparse_keymap mmc_core led_class snd_pcm snd_timer snd_page= _alloc psmouse rng_core snd soundcore sg i2c_i801 evdev serio_raw r8169 mii= usbhid hid uhci_hcd ehci_hcd > > sr_mod cdrom sd_mod usbcore ata_piix > > [ 155.337468] Pid: 7, comm: ksoftirqd/1 Tainted: G W 2.6.34-rc= 1-dbg-git6-r8169 #47 > > [ 155.337472] Call Trace: > > [ 155.337481] [] warn_slowpath_common+0x65/0x7c > > [ 155.337506] [] ? dev_watchdog+0xc1/0x125 > > [ 155.337512] [] warn_slowpath_fmt+0x24/0x27 > > [ 155.337517] [] dev_watchdog+0xc1/0x125 > > [ 155.337525] [] ? run_timer_softirq+0x120/0x1eb > > [ 155.337530] [] run_timer_softirq+0x176/0x1eb > > [ 155.337536] [] ? run_timer_softirq+0x120/0x1eb > > [ 155.337566] [] ? dev_watchdog+0x0/0x125 > > [ 155.337576] [] __do_softirq+0x8d/0x117 > > [ 155.337667] [] do_softirq+0x2b/0x43 > > [ 155.337729] [] run_ksoftirqd+0x71/0x140 > > [ 155.337745] [] ? run_ksoftirqd+0x0/0x140 > > [ 155.337810] [] kthread+0x6a/0x6f > > [ 155.337832] [] ? kthread+0x0/0x6f > > [ 155.337903] [] kernel_thread_helper+0x6/0x1a > > [ 155.337907] ---[ end trace a22d306b065d4a68 ]--- > > [ 155.350902] r8169 0000:02:00.0: eth0: link up > > [ 167.350892] r8169 0000:02:00.0: eth0: link up > >=20 > >=20 > >=20 >=20 > On receiver ? >=20 Localhost pollution (both sender and receiver are localhost). In 2 hours I = will try to pktgen over LAN. > I suspect lot of work is needed on this driver to make it working, but I > dont have a machine with said adapter. >=20 > Are you in 100 Mb full duplex mode ? >=20 ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full=20 100baseT/Half 100baseT/Full=20 1000baseT/Half 1000baseT/Full=20 Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full=20 100baseT/Half 100baseT/Full=20 1000baseT/Half 1000baseT/Full=20 Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: MII PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000033 (51) Link detected: yes Sergey --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iJwEAQECAAYFAkugi48ACgkQfKHnntdSXjQeHwP+J/C8IDwujY9s7PeaA+5/e/SP zhvGYtDICGhZfoXGih9Y+HoGOynkval23uK88ADDSvDhU5Y6Onr8Fyw38pHvvkqv x12SV2EA7jirxHQnTWHBzACvg6rejixlMApsYkz0GyTjX4O+F0Bu9ek/YbDTHMXa riOuwFXMrGlP5Cjudi8= =Anz6 -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--