From owner-freebsd-current@freebsd.org Wed Jan 18 19:45:37 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81359CB62EF for ; Wed, 18 Jan 2017 19:45:37 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt0-x232.google.com (mail-qt0-x232.google.com [IPv6:2607:f8b0:400d:c0d::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 38DCC1289 for ; Wed, 18 Jan 2017 19:45:37 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qt0-x232.google.com with SMTP id v23so26968566qtb.0 for ; Wed, 18 Jan 2017 11:45:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=m/n6jIqOjvvS5PCL+iEjBRqqNQePdOUACdAsDN9CyC8=; b=gOg0tTMnnb6nU/MIfcEpVso/ZXbfGyjspRdWa0cGM+xy8CtZDft4tI+8YbWeDyJf/F v/HYwFk/nIiuhdn+vhRsUkhScGYFhgtHavoGD5JAloXc82w4PJW9yaGthTi+ZUBoBDCU 6AsjRlC9GOFrbu3xsIlVZMM2Kolzys7Fxqg1mz5G9I/qg9nWgj6U8Ns5VTRTGiQr2+sY BAWd+WOVNW3h4+c1HhihctowIKqnInkl+dI3GndI3eoTQCC2yatvWXo0UvHmJi8UIYZV pwwRdkkcVC44sjvbtyyu775GtKHM84PCqU20X/CypRYdL2Yc77EUI4t8aDHmAI+1++4N SDCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=m/n6jIqOjvvS5PCL+iEjBRqqNQePdOUACdAsDN9CyC8=; b=bqEI3AOYaLyLd4QYTGaQ1W+IQDU1GDn+yJ+3ipvT9TpaifIfKyzB14iNI6/C0rcJxA 206gG6ELMN5HI4iCMoK5K0fEdd/y/L7G8YwB0bzl9VvOKShY8+gT2HrmzneCSPOzUK7G 8/I/VNEF4fx3L8BhH3SuKQwroo/lIHwVf88YnZ+OsYNVyr0VyARFmvptpLLP4P0vR39W ty7EXWq3OG/zbbgM5CJ+pTFhjuF82BNCFEwtVwQsBMnBAn5QgumRuyi5dsR/KcKymOJz je9PnJn7O8pyzD3+NgNWn0SW3vCA6mhgDi87JFe5D1k4Xkrv2EjiTgdJtkmTOG7Eaw7u PePQ== X-Gm-Message-State: AIkVDXKr/GqFn44242d8nYXzzdEdEPv1SPD2MxG7LtHtBYH8WLMVuM4imMLpY0LqcKstLK6t X-Received: by 10.55.33.136 with SMTP id f8mr4890079qki.132.1484768736308; Wed, 18 Jan 2017 11:45:36 -0800 (PST) Received: from mutt-hardenedbsd ([63.88.83.66]) by smtp.gmail.com with ESMTPSA id q3sm1061344qte.0.2017.01.18.11.45.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Jan 2017 11:45:35 -0800 (PST) Date: Wed, 18 Jan 2017 14:45:34 -0500 From: Shawn Webb To: Sean Bruno Cc: peter.blok@bsd4all.org, freebsd-current@freebsd.org Subject: Re: crash in iflib_fast_intr Message-ID: <20170118194534.47vcuas7jllvw3o6@mutt-hardenedbsd> References: <0D6E88B3-6EB8-428F-B116-40D304CD74E5@bsd4all.org> <132b9c54-26dd-c57d-2fbb-58f8f9b256b0@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rytf7lcs4w25ztw5" Content-Disposition: inline In-Reply-To: <132b9c54-26dd-c57d-2fbb-58f8f9b256b0@freebsd.org> X-Operating-System: FreeBSD mutt-hardenedbsd 12.0-CURRENT-HBSD FreeBSD 12.0-CURRENT-HBSD X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: NeoMutt/20161126 (1.7.1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 19:45:37 -0000 --rytf7lcs4w25ztw5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 18, 2017 at 07:31:12AM -0700, Sean Bruno wrote: >=20 >=20 > On 01/18/17 03:37, peter.blok@bsd4all.org wrote: > > Hi, > >=20 > > A kernel without option EARLY_AP_STARTUP crashes in if lib_fast_intr. S= ince GENERIC now has EARLY_AP_STARTUP, this probably got unnoticed. Problem= is reproducible. > >=20 > > KDB: stack backtrace: > > #0 0xffffffff805cec97 at kdb_backtrace+0x67 > > #1 0xffffffff80584816 at vpanic+0x186 > > #2 0xffffffff80584683 at panic+0x43 > > #3 0xffffffff8090f222 at trap_fatal+0x322 > > #4 0xffffffff8090f3ec at trap_pfault+0x1bc > > #5 0xffffffff8090eaa0 at trap+0x280 > > #6 0xffffffff808f35e1 at calltrap+0x8 > > #7 0xffffffff806a202d at iflib_fast_intr+0x3d > > #8 0xffffffff8054963b at intr_event_handle+0x9b > > #9 0xffffffff80965f38 at intr_execute_handlers+0x48 > > #10 0xffffffff8096b1cf at lapic_handle_intr+0x3f > > #11 0xffffffff808f3cc7 at Xapic_isr1+0xb7 > > #12 0xffffffff805b994a at sched_idletd+0x37a > > #13 0xffffffff805460f5 at fork_exit+0x85 > > #14 0xffffffff808f3b1e at fork_trampoline+0xe > >=20 > > Peter >=20 > Thanks for the report. We're looking at this. >=20 > This is with an igb(4) interface or em(4)? >=20 > sean >=20 I'm getting something similar with em(4): https://goo.gl/photos/MXiFXtatBYcWagJTA I'm at this commit in HardenedBSD: https://github.com/HardenedBSD/hardenedBSD/commit/2108b0d56984115eb52e72bd1= 6539071064b348e Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --rytf7lcs4w25ztw5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlh/xdwACgkQaoRlj1JF bu5jrhAAxj1DnKNC3c3d5TYDFdFYr6S3cYcNY7JWy8YUbP+kWvBfREJijShFqKKW vrwz8+yK6lBkqbvhDOOCMkJc1ETICIkwI5s93c9CPrzBRhrkT+XI6rB2SDGcVRDk XX+4SorjlmMpE61lnQDRMgh2zy9mo3FrxPAuOeb6OW8lHsH69BGq6TGey6lnIKf1 nVQVYuN8kHLD5TGYRIgKbBDFDloqKML7F12tNiJZADmn4r7DQALfdel5N8L08Ht6 2Th2Tiu7QAaBM6hmC5MWbmmbUT7IpX3lqS1PJpp7D2xWb7XC3XtNFuuazpmaoE8Z AfDz8WJ7Cdvx5gdHsUGA+1vcv/uZu2NiKZwFjsIu/o1a/FBIofFZyBVoEzlSpuxp j7jAS2dRU5cwWKiO//dKzASX2fV3P8KpuOAA++86/2HmAU39YaWy4GFRawaoQggO AEDEx+LUEC+Fv1b3tcFvrJjxUuT1KdQFgBAKfA2Qbqn30xIyuZ1JAPfB3gQXauYy 1OT0aIKSxYxqltYHRs79hd2XDi16JuwrENF6b+sqaB5Q0v4/l88Mgr5+NFBwNNXi 22s/xYMCYhnsL4XcPWqrHfpDBXU0B7Bfw2qxjcHdurjZ0tPtCURQdRwXFDfYBTl4 txOVqA8wKFAde3HxO750NPxryAbjrps8230LDfP1W3WcunFFiUQ= =nc1l -----END PGP SIGNATURE----- --rytf7lcs4w25ztw5--