From owner-freebsd-net@freebsd.org Wed Feb 26 17:49:39 2020 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 9D4BD25EFB2 for ; Wed, 26 Feb 2020 17:49:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48SNbk6D3sz4brG for ; Wed, 26 Feb 2020 17:49:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1732425EFAF; Wed, 26 Feb 2020 17:49:38 +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 089B225EFAE for ; Wed, 26 Feb 2020 17:49:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48SNbj1rBsz4bpr for ; Wed, 26 Feb 2020 17:49:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D56E631FA for ; Wed, 26 Feb 2020 17:49:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01QHnaUv019934 for ; Wed, 26 Feb 2020 17:49:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01QHnabA019933 for net@FreeBSD.org; Wed, 26 Feb 2020 17:49:36 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: net@FreeBSD.org Subject: [Bug 244247] Kernel panic due to racecondition in ng_eiface shutdown Date: Wed, 26 Feb 2020 17:49:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@support.od.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-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: Wed, 26 Feb 2020 17:49:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244247 --- Comment #11 from Vladislav V. Prodan --- I applied the patch and rebuilt the kernel. Kernel panic is no longer there, but in the logs /var/log/messages messages= of the form: ... Feb 26 21:43:17 core kernel: ngeth504: link state changed to DOWN Feb 26 21:43:17 core dhclient[3168]: receive_packet failed on ngeth504: Dev= ice not configured Feb 26 21:43:17 core dhclient[3168]: ioctl(SIOCGIFFLAGS) on ngeth504: Opera= tion not permitted Feb 26 21:43:17 core kernel: if_delmulti_locked: detaching ifnet instance 0xfffff80059e8b000 Feb 26 21:43:17 core syslogd: last message repeated 1 times Feb 26 21:43:17 core kernel: ifaddr cache =3D 0xfffff8000ddf5600 is deleted Feb 26 21:43:17 core kernel: if_delmulti_locked: detaching ifnet instance 0xfffff80059e8b000 Feb 26 21:43:17 core syslogd: last message repeated 3 times Feb 26 21:43:17 core dhclient[3168]: Interface ngeth504 no longer appears valid. Feb 26 21:43:17 core dhclient[3168]: No live interfaces to poll on - exitin= g. Feb 26 21:43:17 core dhclient[3168]: exiting. Feb 26 21:43:17 core dhclient[3168]: connection closed Feb 26 21:43:17 core dhclient[3168]: exiting. Feb 26 21:43:17 core root[3259]: /etc/rc.d/dhclient: WARNING: failed to sta= rt dhclient ... Feb 26 21:46:11 core kernel: ngeth0: link state changed to DOWN Feb 26 21:46:11 core dhclient[3521]: receive_packet failed on ngeth0: Device not configured Feb 26 21:46:11 core dhclient[3521]: ioctl(SIOCGIFFLAGS) on ngeth0: Operati= on not permitted Feb 26 21:46:11 core dhclient[3521]: Interface ngeth0 no longer appears val= id. Feb 26 21:46:11 core dhclient[3521]: No live interfaces to poll on - exitin= g. Feb 26 21:46:11 core dhclient[3521]: exiting. Feb 26 21:46:11 core dhclient[3521]: connection closed Feb 26 21:46:11 core dhclient[3521]: exiting. Feb 26 21:46:11 core root[10207]: /etc/rc.d/dhclient: WARNING: failed to st= art dhclient Feb 26 21:46:11 core kernel: if_delmulti_locked: detaching ifnet instance 0xfffff80059e8e000 Feb 26 21:46:11 core kernel: ifaddr cache =3D 0xfffff80059db2800 is deleted Feb 26 21:46:11 core kernel: if_delmulti_locked: detaching ifnet instance 0xfffff80059e8e000 Feb 26 21:46:11 core syslogd: last message repeated 4 times ... --=20 You are receiving this mail because: You are the assignee for the bug.=