From owner-freebsd-current@freebsd.org Mon Dec 11 22:26:23 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 91957EA0F61 for ; Mon, 11 Dec 2017 22:26:23 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf0-x22b.google.com (mail-lf0-x22b.google.com [IPv6:2a00:1450:4010:c07::22b]) (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 126397C9D0 for ; Mon, 11 Dec 2017 22:26:23 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf0-x22b.google.com with SMTP id 74so21026630lfs.0 for ; Mon, 11 Dec 2017 14:26:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=+d549exlJb2cHkOXn9bZSRjz0ZZ6JvO68w8V+73CsvM=; b=HRkXgtK29fj4t8y8dfSXvIdlaaWjQkWCSmKsUGUxo2xpMy8RkQIEui++O2OC1da/y6 6Sjm4YHrReeAHdkk9/SbytOGh+YyOg44P8QyT3B9jx6mAnxuArRfCHeh+LwSDkmVUmAJ Gg+nmbBivkwt+1NIEb7vOWLSuErL/JB2dsg6JrOzgfQtFu6D/FHTFJVFMx1GOwQnHWd/ WsGgIO5D2O5WJ6q/uEVv91FNPX90E3mqUCpZzkOS69q+qx8hs1GhuYDFflsKRariiyvq eUVCFYRx2CMr/owHjkiOSFpSCA61JEcImYfj1UZ3CqK1uFPvh2FQPtzmWSFirvJNOifr b/3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=+d549exlJb2cHkOXn9bZSRjz0ZZ6JvO68w8V+73CsvM=; b=izr+mPfhQA0MWs+iD2L0N450DAyW/wohYRnC41Tvcl+irmv8snLa5EHsky55lKet5J NdGqDr2OqGwOZlQ9oRKH3EoD5+ycQJpAGOembMmVrJ6AQfWVtmadj4dqtxxZIz9oZg/l XevT9f2h++69hqWRY9c/8QNtpeFOqzbPlTtX+i1dtHBm4obMtElsPXGwAFNuG/ZQYvZ7 Brk0Ifv2gHUEHPYjy5kTdumVOuV3W1juxd1KOH982oRT1YEhyTHEzfouS7TwJqNBZWvv 7IeTUJvO3O4CRdsoBxAJQRCag4SVcg/YmpzJFGucOl5CzEdX8O6ruDcRHSSSG4nOOJQU QDCg== X-Gm-Message-State: AKGB3mKOzR4x6BubrOprBUVWDkdPq42e4X9ih4lY8gW+Mr9QXBEm+DM+ AuvOQYHpo6txLyVG0/GQSUD7ipEg/EX1fCNZwAo= X-Google-Smtp-Source: ACJfBos44/CaX2mTOYhb5Ie+k4lYSMYFwrDI2erJ+uq9TkmxGk97lEywas83zv06QeFaiyPACf8aakrQDKTqxc9sxJc= X-Received: by 10.46.48.5 with SMTP id w5mr840529ljw.99.1513031180977; Mon, 11 Dec 2017 14:26:20 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.179.76.19 with HTTP; Mon, 11 Dec 2017 14:26:20 -0800 (PST) In-Reply-To: References: From: Alan Somers Date: Mon, 11 Dec 2017 15:26:20 -0700 X-Google-Sender-Auth: 3cEPqKQhTzS8-3DO18loKJ4bJhc Message-ID: Subject: Re: don't know how to load module '/boot/loader' To: Warner Losh Cc: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Mon, 11 Dec 2017 22:26:23 -0000 On Mon, Dec 11, 2017 at 3:19 PM, Warner Losh wrote: > > > On Mon, Dec 11, 2017 at 3:03 PM, Alan Somers wrote: > >> I just upgraded my head machine to r326772. Now, boot2 can't find the >> loader. Instead, it tries to boot the kernel directly, which fails >> because >> the ZFS module isn't loaded. If I break into boot2 and type "boot >> /boot/loader" I get the error "don't know how to load module >> '/boot/loader'". I last updated on 30-Nov, so this bug must've been >> introduced since then. Any ideas? >> >> BTW, I can successfully boot with the following commands: >> unload >> load /boot/kernel/kernel >> load zfs >> boot >> >> http://bayimg.com/iAKmFaAgl > > > I'd bisect :) > > However, try to update to just before this commit: > > Author: imp > Date: Fri Dec 8 19:57:16 2017 +0000 > > Create interp class. > > Create an interp class. Use it to separate out the different types of > interpreters: forth and simple with function pointers rather than > via #ifdefs. > > Obtained from: lua boot loader project > (via https://bsdimp@github.com/bsdimp/freebsd.git lua-bootloader) > Sponsored by: Netflix > > > git-svn-id: svn+ssh://svn.freebsd.org/base/head@326712 > ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > > would be a good place to start. > > It's a shame we can't create zpool images with an unpriv'd user command. > Would help out the ZFS testing of the boot loader refinement. > > Warner > If I bisect this, what parts do I need to reinstall each time? A full buildworld would be too slow. Is it sufficient to reinstall stand? -Alan