Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2015 21:42:00 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 11 Nov 2015 11:45:32 +0100
Alexander Leidinger <Alexander@Leidinger.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151119214200.000066be>