From owner-freebsd-bugs@freebsd.org Sat Jun 30 17:05:25 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98BF4C0A for ; Sat, 30 Jun 2018 17:05:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 1500B84CD6 for ; Sat, 30 Jun 2018 17:05:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C311BC09; Sat, 30 Jun 2018 17:05:24 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DA22C07 for ; Sat, 30 Jun 2018 17:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36A0C84CD5 for ; Sat, 30 Jun 2018 17:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8DE62131D3 for ; Sat, 30 Jun 2018 17:05:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w5UH5NWE001429 for ; Sat, 30 Jun 2018 17:05:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5UH5Nqf001428 for bugs@FreeBSD.org; Sat, 30 Jun 2018 17:05:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229432] 11.2 network em driver - connection link flaps Date: Sat, 30 Jun 2018 17:05:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: deaven@deaven.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2018 17:05:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229432 Bug ID: 229432 Summary: 11.2 network em driver - connection link flaps Product: Base System Version: 11.2-RELEASE Hardware: i386 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: deaven@deaven.net Created attachment 194795 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194795&action= =3Dedit dmesg output for (working) 11.1 system Seemingly uneventful upgrade from 11.1-RELEASE-p11 to 11.2-RELEASE-p0, resu= lted in constant link state changes running the new kernel: Jun 30 11:00:06 hellcat kernel: em1: link state changed to DOWN Jun 30 11:00:06 hellcat dhclient: New IP Address (em1): 24.211.23.77 Jun 30 11:00:06 hellcat dhclient: New Subnet Mask (em1): 255.255.240.0 Jun 30 11:00:06 hellcat dhclient: New Broadcast Address (em1): 255.255.255.= 255 Jun 30 11:00:06 hellcat dhclient: New Routers (em1): 24.211.16.1 Jun 30 11:00:10 hellcat kernel: em1: link state changed to UP Jun 30 11:00:10 hellcat kernel: em1: link state changed to DOWN Jun 30 11:00:10 hellcat dhclient: New IP Address (em1): 24.211.23.77 Jun 30 11:00:10 hellcat dhclient: New Subnet Mask (em1): 255.255.240.0 Jun 30 11:00:10 hellcat dhclient: New Broadcast Address (em1): 255.255.255.= 255 Jun 30 11:00:10 hellcat dhclient: New Routers (em1): 24.211.16.1 Jun 30 11:00:14 hellcat kernel: em1: link state changed to UP Jun 30 11:00:14 hellcat kernel: em1: link state changed to DOWN The connection is the WAN side of a FreeBSD router, connected to a Motorola SURFboard SB6141 DOCSIS 3.0 Cable Modem. During this activity, ISP connecti= on up/down links are stable, only ethernet link is changing. It stays up for f= ew hundred milliseconds, enough to route some traffic but obviously frequent dropouts. New ethernet cable, various warm and cold reboots of modem and FreeBSD box, turning off pf service all made no difference. Also confirmed running corr= ect 11.2 config using "freebsd-update IDS". Rolling back to 11.1, immediately works again. This system has historically experienced link changes (which I assumed were associated with ISP issues) about once per 3 months, link goes down and comes back up within a minute.= =20 Here's the em part of kernel message during 11.1 boot: em1: port 0x1000-0x101f mem 0x80020000-0x8003ffff,0x80000000-0x8001ffff,0x80040000-0x80043fff irq 17 at device 0.0 on pci2 em1: Using MSIX interrupts with 3 vectors em1: Ethernet address: 00:22:4d:ac:a6:f0 I've attached the full dmesg output as well. --=20 You are receiving this mail because: You are the assignee for the bug.=