From owner-freebsd-stable@freebsd.org Sun Jun 11 18:17:18 2017 Return-Path: Delivered-To: freebsd-stable@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 3B277D8BF47 for ; Sun, 11 Jun 2017 18:17:18 +0000 (UTC) (envelope-from eborisch@gmail.com) Received: from mail-pg0-x234.google.com (mail-pg0-x234.google.com [IPv6:2607:f8b0:400e:c05::234]) (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 0B8EE71A62 for ; Sun, 11 Jun 2017 18:17:18 +0000 (UTC) (envelope-from eborisch@gmail.com) Received: by mail-pg0-x234.google.com with SMTP id f185so38697314pgc.0 for ; Sun, 11 Jun 2017 11:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=fjSH561vDNzChxdcuoInLeETPp6XjVYFcQsNw/1wWHI=; b=I+NgWvTGkhg+wmA4MsV5Yq7JVmKH4GZ/9JokwB3lqOByrnv5VWmRCIZwiAryGF01BE ALOQF+RBTj24s07uiJOPXWpqlYlpQwwhThR5Hrt61m/eCpzu7OKz9zZEmHmmR60vAtaH 5wR8nXWn2kEvmOxBG4Y/oDIdPdvkExZv6C+ywVojImWqUE0N4W/d+Ngagaru87Wc4BbI Q5tTN5xpfJZ+sIOg/aJInQPvcRCEWjQ3dKVaTd+eQmTMBn3ZiRscO5275Pq+Y8ZWJJyM xfPracUwZI+oTLHfyNOzUk7lw9g5rlHR0axRYtcWgGiXvy+HQQ7IEyceDCjBGhldKqO/ 9/Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=fjSH561vDNzChxdcuoInLeETPp6XjVYFcQsNw/1wWHI=; b=pTsOkL7PtJfBe/4694X0mOmQ0MO/RzUsIWCmCYJTGCTkbw22H+JPv3yPLauRFc5iY0 17CzihEqtivBPEDJShVjrXOA88uqABt6hzrtaO2qDl37i/mrHuF1noHBwLq92mtGLXJX xV3jQlkrHUwy1VtBins/fsmC6HRkKwfaDSGMI0vuTq34446BNlaBvqaDqeQvEAIsow2r LTbQTXTlHfXJPRZMKsdgGXQAQLo0jIhbpUkDTpucQxhajT9SRKwfryr1TTmOYJXZ0vCr MSGgqlCtuDIUPLJiPR3ZnQzyDRK2bm0OfeyjTjSo+j6LKOo5mndBPa7PJW/46pK8aR1y PviA== X-Gm-Message-State: AODbwcBZfY4/PqChyOq7/gQeoANu6jmdncLSryGvWYmQpj50W9YiLXts HlNb7ljScN7QB7Q3X41wi5cIpmA9lS4ieRM= X-Received: by 10.99.181.67 with SMTP id u3mr54255888pgo.89.1497205037393; Sun, 11 Jun 2017 11:17:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.129.149 with HTTP; Sun, 11 Jun 2017 11:17:16 -0700 (PDT) In-Reply-To: References: From: "Eric A. Borisch" Date: Sun, 11 Jun 2017 13:17:16 -0500 Message-ID: Subject: Re: Can't boot (zfs-on-root) with "options EARLY_AP_STARTUP" and "device pf" To: FreeBSD Stable Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 18:17:18 -0000 FWIW, it appears to be crashing for an integer divide fault in pf_purge_thread in the 'pf_purge' process. If i turn on INVARIAINTS and INVARIANT_SUPPORT, it boots. Perhaps a race? - Eric On Fri, Jun 9, 2017 at 5:04 PM, Eric A. Borisch wrote: > Good afternoon, > > I tried to update the kernel on my Lenovo x230 (stable/11), and I would > get crashes on boot. *I am running a non-GENERIC kernel.* Bisecting the > changes from last-known-good, I found that I couldn't boot on any kernel > past after r318752. The next change to the kernel, r318763 [1], turned on > EARLY_AP_STARTUP by default. > > I've narrowed it down to what appears to be a conflict with 'options > EARLY_AP_STARTUP' and 'device pf'. I can build a farily vanilla kernel with > these set, and it crashes on boot. (I have a few other options set to > enable root-on-zfs-on-geli.) > > Any suggestions, other than 'don't do that?', > - Eric > > [1] https://svnweb.freebsd.org/base?view=revision&revision=318763 >