From owner-freebsd-current@freebsd.org Tue Dec 22 16:37:50 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE1AEA4FD4D for ; Tue, 22 Dec 2015 16:37:49 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D39151FB2 for ; Tue, 22 Dec 2015 16:37:49 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id D0AACA4FD4C; Tue, 22 Dec 2015 16:37:49 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D03A5A4FD4B for ; Tue, 22 Dec 2015 16:37:49 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ob0-x234.google.com (mail-ob0-x234.google.com [IPv6:2607:f8b0:4003:c01::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9BCE51FB1; Tue, 22 Dec 2015 16:37:49 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-ob0-x234.google.com with SMTP id 18so148491911obc.2; Tue, 22 Dec 2015 08:37:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=C/CaiegTMh+qgOSocqC7GceINBdBo9rjLwF6r3IA1ZI=; b=rcDwvwfAXqaMP4vUn7cIMaESDuPApwnp7JwePYHE9G52kE5AnQIhJqxx73WG0nUyIl dMymAVQCPOg/95qlOFvQZXhnV0Zw4InEdA0mjHlzwx69YK1xtYaTEnZtFg/FZt7Wx+De dD0Yp1sP6/7Cut6YwKKuQa6nAbCmyF4PE/OhEONZXKJbtf2MGF/OxdtzVoOnzshlxW0V DnwW3uILem6Oe3dbJz1z7IweuSDKnQA6JUPIkpe+/pqLoafKnf7XilNQsPvxr8X7DKFv dkLI6QASMvaGlTA2wmcnMBpNb8HmODgm7MKr3KMK8mGP+ZKzzE1AFtoypIGWJ4dTD1oF snyw== MIME-Version: 1.0 X-Received: by 10.182.106.13 with SMTP id gq13mr11778775obb.38.1450802268789; Tue, 22 Dec 2015 08:37:48 -0800 (PST) Sender: asomers@gmail.com Received: by 10.202.69.84 with HTTP; Tue, 22 Dec 2015 08:37:48 -0800 (PST) In-Reply-To: <151238e6bb8.27da.fa4b1493b064008fe79f0f905b8e5741@Leidinger.net> References: <20151111114532.000011fd@Leidinger.net> <20151119214200.000066be@Leidinger.net> <151238e6bb8.27da.fa4b1493b064008fe79f0f905b8e5741@Leidinger.net> Date: Tue, 22 Dec 2015 09:37:48 -0700 X-Google-Sender-Auth: JQ-3mWk7I2oEIsniq2Mr3ytkRBs Message-ID: Subject: Re: This igb change makes my igb not working anymore - Re: regression in igb/clang? From: Alan Somers To: Alexander Leidinger Cc: Eric Joyner , Sean Bruno , "current@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2015 16:37:50 -0000 I'm experiencing the same problem, and I can confirm that Alexander's workaround fixes it. Here is some more information: * I see the exact same problem on two different systems, both with S5520HC motherboards. * Both systems have two igb ports, and igb1 works on both. Only igb0 is br= oken. * Disabling tso, lro, rxcsum, and txcsum has no effect. * tcpdump reveals that igb0 transmits successfully, but fails to receive * Curiously, "netstat -I igb0" shows nonzero values for Ipkts, even though "tcpdump -i igb0" shows no inbound packets at all. * I can't really tell if IPv4 or IPv6 are working, because even ARP doesn't work. * SVN revisions 291495 and 292570 are both bad. I don't know any recent good revision. -Alan On Thu, Nov 19, 2015 at 11:21 PM, Alexander Leidinger wrote: > Dual stack. > Ping was on ipv4, no answer. Without the line I get the answer. > I have not tried a ping6. > -- > Send from a mobile device, please forgive brevity and misspelling. > > > Gesendet mit AquaMail f=C3=BCr Android > http://www.aqua-mail.com > > > Am 20. November 2015 02:07:11 schrieb Eric Joyner : > >> Are you using IPv6? >> >> On Thu, Nov 19, 2015 at 12:42 PM Alexander Leidinger < >> Alexander@leidinger.net> wrote: >> >>> On Wed, 11 Nov 2015 11:45:32 +0100 >>> Alexander Leidinger wrote: >>> >>> > Hi, >>> > >>> > I' updated a system with -current as of r287323 (end August) to >>> > r290633 (yesterday). >>> > >>> > Result: no network connection (not even ping) on igb. >>> > Ping internally (local addresses) works, anything outgoing/incoming >>> > doesn't. >>> >>> And this is the function which causes it: >>> e1000_rx_fifo_flush_82575(&adapter->hw); >>> >>> If I comment it out in if_igb.c, the network card works again. >>> >>> Full quote below for the PCI ID of my card in case it helps for fixing >>> the issue. >>> >>> Bye, >>> Alexander. >>> >>> > I disabled HW support (tso4, lro, rxcsum, txcsum): doesn't help. >>> > >>> > Did I miss some known defect/workaround? >>> > >>> > Anything I should test/provide besides what is below? >>> > >>> > The igb device is a: >>> > ---snip--- >>> > igb0@pci0:1:0:0: class=3D0x020000 card=3D0x34e28086 chip=3D0x10a78086 >>> > rev=3D0x02 hdr=3D0x00 ---snip--- >>> > >>> > My src.conf: >>> > ---snip--- >>> > WITH_IDEA=3Dyes >>> > WITHOUT_PROFILE=3Dyes >>> > CFLAGS+=3D-DFTP_COMBINE_CWDS >>> > MALLOC_PRODUCTION=3Dyes >>> > LOADER_FIREWIRE_SUPPORT=3Dyes >>> > #WITH_FAST_DEPEND=3Dyes >>> > ---snip--- >>> > >>> > My buildworld related config in make.conf: >>> > ---snip--- >>> > CFLAGS+=3D -O2 -pipe >>> > COPTFLAGS=3D -O2 -pipe >>> > #CPUTYPE?=3Dcore2 >>> > #WITH_CCACHE_BUILD=3Dyes >>> > #.if (!empty(.CURDIR:M/usr/src*) >>> > || !empty(.CURDIR:M/usr/obj*)|| !empty(.CURDIR:M/space/system/usr_obj= *)) >>> > #.if !defined(NOCCACHE) && exists(/usr/local/libexec/ccache/world/cc) >>> > #CC:=3D${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1} >>> > #CXX:=3D${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1} #.endif >>> > #.endif >>> > ---snip--- >>> > >>> > The commented out parts were active initially, but then I commented >>> > them out, cleaned out /usr/obj (rm -r) and rebuild/reinstall to make >>> > sure it's not due to them (CPUTYPE commented out due to the fact that >>> > there's a new compiler, and I use zsh and there was a commit talking >>> > about zsh and CPUTYPE workaround). >>> > >>> > Bye, >>> > Alexander. >>> > >>> >>> >>> -- >>> http://www.Leidinger.net Alexander@Leidinger.net: PGP 0xC773696B3BAC17D= C >>> http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0xC773696B3BAC17D= C >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >>> > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= "