Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2017 11:36:24 -0700
From:      Lee Brown <leeb@ratnaling.org>
To:        freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: Problem with igb NIC on fresh 11 Install
Message-ID:  <CAFPNf5_fTmSgaD3DN2erg04LUbZKdKJvGVyNL-cmFs=srTrWKw@mail.gmail.com>
In-Reply-To: <CAFPNf5-AjO2hq796i58RQ9oDe0WmoWd_wU2onFU20Ff3eAXheQ@mail.gmail.com>
References:  <CAFPNf5-AjO2hq796i58RQ9oDe0WmoWd_wU2onFU20Ff3eAXheQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It looks like the driver is not passing packets from the VLAN layer to the
NIC.  Switch counters verify this and netstat seems to indicate the same.

Apologies for any mistakes in the text, i had to convert from an image
(attached).

I've tried toggling flags on the igb interface (txcsum, hwtag, etc.) and
nothing makes a difference.

root@rtr-net-r1: - # netstat WI igb0
Name Mtu Network Address Ipkts lerrs Idrop Opkts 0 errs Coll
igb0. 1500 <Link#1> ac:1f:6b:14:99:20 0 0 0 0 0 0
root@rtr-net-r1: - # netstat WI vlan202
Name Mtu Network Address Ipkts lerrs Idrop Opkts Oerrs Coll
vlan202 1500 <Link#6> ac:1f:6b:14:99:20 0 0 0 0 2679 0
vlan202 - 10.1.202.0/24 10.1.202.123 0 - - 2678


*VLAN202 at the address layer has Opkts, but at the link layer it has Oerrs.*

igb show no packets and tcpdump verifies this.


root@rtr-net-r1: - # ipfw -a list
65534 3940 334356 allow log ip from any to any
65535 0 0 deny ip from any to any
root@rtr-net-r1: - # ifconfig igb0
igb0: flags=8c02<EIRORDCRST,ORCTIVE,SIMPLEX,MULTICRST> metric 0 mtu 1500
options=4002a8<VLAN_MTU,JUMEIO_MTU,VLAN_HWCSUM,TS06,TXCSUM_IPV6>
ether ac:1f:6b:14:99:20
hwaddr ac:1f:6b:14:99:20
nd6 options=29<PERFORMNUD,IFDISRBLED,RUTO_LINKLOCRL>
media: Ethernet autoselect (1000baseT <full -duplex>)
status: active
root@rtr-net-r1: - # ifconfig vlan202
vlan202: flags=8843<UP,BRORDCRST,RUNNING,SIMPLEX,MULTICRST> metric 0 mtu 1500
ether ac:1f:6b:14:99:20
inet 10.1.202.123 netmask Oxffffff00 broadcast 10.1.202.255
nd6 options=29<PERFORMNUD,IFDISRBLED,RUTO_LINKLOCRL>
media: Ethernet autoselect (1000baseT <full -duplex>)
status: active

igb0@pci0:1:0:0: class=0x020000 card=0x153315d9 chip=0x15338086 rev=0x03
hdr=0x00
vendor Intel Corporation
device = '1210 Gigabit Network Connection'
class network
subclass = ethernet
bar [10] = type Memory, range 32, base 0xdf400000, size 524288, enabled
bar [18] = type I/O Port, range 32, base Oxe000, size 32, enabled
bar [1c] = type Memory, range 32, base Oxdf480000, size 16384, enabled
cap 01[40] = powerspec 3 supports DO D3 current DO
cap 05[50] = MSI supports 1 message, 64 bit, vector masks
cap 11[70] = MSI-X supports 5 messages, enabled
Table in map Ox1c[0x0], PBR in map Ox1c[0x2000]
cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR NS
link x1(x1) speed 2.5(2.5) RSPM L1(L0s/L1)
ecap 0001[100] = REP 2 0 fatal 0 nonfatal 1 corrected
ecap 0003[140] = Serial 1 ac1f6bffff149920
ecap 0017[1a0] = TPH Requester 1

igb1@pci0:2:0:0: class=0x020000 card=0x153315d9 chip=0x15338086 rev=0x03
hdr=0x00
vendor Intel Corporation
device = '1210 Gigabit Network Connection'
class network
subclass = ethernet
bar [10] = type Memory, range 32, base Oxdf300000, size 524288, enabled
bar [18] = type I/O Port, range 32, base Oxd000, size 32, enabled
bar [1c] = type Memory, range 32, base Oxdf380000, size 16384, enabled
cap 01[40] = powerspec 3 supports DO D3 current DO
cap 05[50] = MSI supports 1 message, 61 bit, vector masks


On Fri, Sep 29, 2017 at 8:14 PM, Lee Brown <leeb@ratnaling.org> wrote:

> Hi,
>
> I've been using FreeBSD for years, so I'm familiar with the setup.
>
> I just got a server, supermicro motherboard, 4 intel NICs, installed the
> FreeBSD-11.1-RELEASE-amd64-disc1.  uname reports FreeBSD11.1-RELEASE #0
> 321309.
>
> Unfortunately the igb NIC's don't appear to work correctly.  With no VLAN
> igb0 and igb3 (the only two I tried) will transmit packets but not receive
> them (switch sees the MAC, destination host sees packet).  If I turn on
> VLAN, then nothing is transmitted either (the switch never sees a MAC
> address on the port).
>
> I've certified two cables, neither makes a difference.
>
> Occasionally the ports don't detect the cable has been removed and still
> reads active instead of no carrier.
>
> Feels like a driver problem....any clues?  Tomorrow I'll try a direct
> cable into a laptop, then failing that I suppose I'll svn the latest 11.1
> source and start building a new world.
>
> Appreciate any help folk can provide -- lee
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFPNf5_fTmSgaD3DN2erg04LUbZKdKJvGVyNL-cmFs=srTrWKw>