From owner-freebsd-current@freebsd.org Thu Nov 19 20:42:35 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 B7B80A334AC for ; Thu, 19 Nov 2015 20:42:35 +0000 (UTC) (envelope-from alexander@leidinger.net) 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 92E311C3D for ; Thu, 19 Nov 2015 20:42:35 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: by mailman.ysv.freebsd.org (Postfix) id 91414A334AB; Thu, 19 Nov 2015 20:42:35 +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 7710EA334AA for ; Thu, 19 Nov 2015 20:42:35 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 051871C3C; Thu, 19 Nov 2015 20:42:34 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p57BB9322.dip0.t-ipconnect.de [87.187.147.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 691B283E402; Thu, 19 Nov 2015 21:42:01 +0100 (CET) Received: from localhost (Titan.Leidinger.net [192.168.1.17]) (using TLSv1.2 with cipher DHE-RSA-CAMELLIA128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: Alexander@Leidinger.net) by outgoing.leidinger.net (Postfix) with ESMTPSA id 820652061; Thu, 19 Nov 2015 21:41:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1447965718; bh=sps7rfDFjO40FlGnDQIrEXqt2F/TvGkXuftHipNQYPA=; h=Date:From:To:Subject:In-Reply-To:References; b=Xypl69IxfNbb+kyyDFMv2UgGfq1VPhRJEtiPa71ua6v475AnpipRjibY2PHOYif2E cShbXo1nqlQh+/Ku4skJC4pXuHNQZY6TixOKl8g7h1Uz+uveeVE+uSWqbDwBGtxSm3 O6iTMetouzPA/FTSkr8jlkUcuPHwmnh7JE5DAScO47b2/4EsW6ibH1FrCHbfsnzUyy qyGxHJLht5BEsHdOCnLt7PY5fD4QzFhTuoKNDtIWzzZ5LZiK0a6sHpP2RtGMhsidsH hTLBbo3vhnWm+hbhOs0ZF0afWFNYqUUVpPgmG06H8f2M7m8Q4OfrOr9O9Vq3ywbHDF YsRIr3NLGxeIQ== Date: Thu, 19 Nov 2015 21:42:00 +0100 From: Alexander Leidinger To: sbruno@FreeBSD.org, current@FreeBSD.org Subject: This igb change makes my igb not working anymore - Re: regression in igb/clang? Message-ID: <20151119214200.000066be@Leidinger.net> In-Reply-To: <20151111114532.000011fd@Leidinger.net> References: <20151111114532.000011fd@Leidinger.net> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.16.6; i586-pc-mingw32msvc) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 691B283E402.A104C X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.1, required 6, autolearn=disabled, ALL_TRUSTED -1.00, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1448570523.63052@dRykM2UHD4KWgZcn21/4Kw X-EBL-Spam-Status: No 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: Thu, 19 Nov 2015 20:42:35 -0000 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=0x020000 card=0x34e28086 chip=0x10a78086 > rev=0x02 hdr=0x00 ---snip--- > > My src.conf: > ---snip--- > WITH_IDEA=yes > WITHOUT_PROFILE=yes > CFLAGS+=-DFTP_COMBINE_CWDS > MALLOC_PRODUCTION=yes > LOADER_FIREWIRE_SUPPORT=yes > #WITH_FAST_DEPEND=yes > ---snip--- > > My buildworld related config in make.conf: > ---snip--- > CFLAGS+= -O2 -pipe > COPTFLAGS= -O2 -pipe > #CPUTYPE?=core2 > #WITH_CCACHE_BUILD=yes > #.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:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1} > #CXX:=${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 0xC773696B3BAC17DC http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0xC773696B3BAC17DC