From owner-freebsd-net@freebsd.org Tue Dec 17 07:33:51 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 15DB01DEA6D for ; Tue, 17 Dec 2019 07:33:51 +0000 (UTC) (envelope-from marius.h@lden.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47cVHy5zh7z3xNm for ; Tue, 17 Dec 2019 07:33:50 +0000 (UTC) (envelope-from marius.h@lden.org) Received: by mailman.nyi.freebsd.org (Postfix) id CD2F81DEA6C; Tue, 17 Dec 2019 07:33:50 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CCEC91DEA6A for ; Tue, 17 Dec 2019 07:33:50 +0000 (UTC) (envelope-from marius.h@lden.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47cVHx44HGz3xNl for ; Tue, 17 Dec 2019 07:33:49 +0000 (UTC) (envelope-from marius.h@lden.org) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 4A5DB22050 for ; Tue, 17 Dec 2019 02:33:48 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Tue, 17 Dec 2019 02:33:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lden.org; h=date :from:to:subject:message-id:mime-version:content-type; s=fm1; bh=nnoPqy6VoWdUg692lXxk9sBvwou1BwUS8SMgP8CqeAo=; b=v3UKfzATQODs vuJBMNNJsJWB7MlB7baUM8nf1GsQrWdfBgK13aZOGDumDtf23IJpS4fPsDSnsnQs a+iEgYGlFQUBY0vExZ3uVizJrOvVSB2jHewy9fg1I4UYdiWtSLWtlot4zUXIV+8X wmc/dbF0wwqqKNAsRu48nuMvNDRQQTMlf/o4RMbu3AC4Ul7k4RRiiWYzat4lnnGa e6eQuEkMc3QgPEWQG84zMQLYxAu9snY3tuK73kN1tJgwP0mipEoJ6tfkApfulvwe zEVJiu9k/WQwqrjg3AhVirHNxu6NdwdeJsozmDb+VCwhyaMDkgjhe47BipZ7Ir3c KiqO+HJm9Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=nnoPqy6VoWdUg692lXxk9sBvwou1B wUS8SMgP8CqeAo=; b=Pb8TtZPUiFyM0x3XyhZORo/wecn7n6C/uvBfkHd8swRv9 LnSzWqqbnA2ybVW2Q8yxyG8hPCcYs6wYmEVIFHf0A4AQCG7XpR8Flcu4hIiHV8wS ghHPM905DH5AYypHCZ/cYBPfpfQfkFQcm2egqpSesmzaIMX3tNQ7oNxP0lSXJxnQ tg1PUIFr233TuNoKHc8cUUFobHt2XvDHvEtxupe3BxapToCnQR7zXwW+J5bynjRz 4ZSHVVweLBlVA2AsdyUwngHDb10ojZHM/47P36AwDQbuBZXi6qU5F1JYcpi+wsqz Clel6CmiXtUJL6w80dMWwk1sCaq7b22N+yERV9rJg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddtiedguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggufgesthdtre dttderjeenucfhrhhomhepofgrrhhiuhhsucfjrghluggvnhcuoehmrghrihhushdrhhes lhguvghnrdhorhhgqeenucfkphepudekhedrgedvrddujedtrddufeenucfrrghrrghmpe hmrghilhhfrhhomhepmhgrrhhiuhhsrdhhsehluggvnhdrohhrghenucevlhhushhtvghr ufhiiigvpedt X-ME-Proxy: Received: from localhost (lden.im [185.42.170.13]) by mail.messagingengine.com (Postfix) with ESMTPA id C589530600DC for ; Tue, 17 Dec 2019 02:33:47 -0500 (EST) Date: Tue, 17 Dec 2019 08:33:46 +0100 From: Marius Halden To: net@freebsd.org Subject: igb interface not detecting link down Message-ID: <20191217073346.GA54345@lden.im> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47cVHx44HGz3xNl X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=lden.org header.s=fm1 header.b=v3UKfzAT; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=Pb8TtZPU; dmarc=none; spf=pass (mx1.freebsd.org: domain of marius.h@lden.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=marius.h@lden.org X-Spamd-Result: default: False [-6.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[lden.org:s=fm1,messagingengine.com:s=fm1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[lden.org]; DKIM_TRACE(0.00)[lden.org:+,messagingengine.com:+]; IP_SCORE(-3.49)[ip: (-9.83), ipnet: 66.111.4.0/24(-4.88), asn: 11403(-2.68), country: US(-0.05)]; RCVD_IN_DNSWL_LOW(-0.10)[29.4.111.66.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 07:33:51 -0000 Hi, We have som machines with Intel i350 NICs which after upgrading from 11.2-RELEASE to 12.1-RELEASE has started to act up. They will detect link and come up initially when brought up, but they will not detect link down events when the connection is lost, e.g. if we remove the network cable. This is a big problem for us as they are used in a failover lagg which is currently not working due to this. `ifconfig down ; ifconfig up` does not have any effect. I cannot see anything in dmesg or any other logs. Removing the interfaces from lagg interface does not make any changes to this behaviour, nor did disabling `vlanhwtag` which I found a bug report for issues with when using these NICs. Is this a known regression from 11.X? Any advise for how to debug this further? -- Marius Halden