Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2017 15:19:52 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Alan Somers <asomers@freebsd.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: don't know how to load module '/boot/loader'
Message-ID:  <CANCZdfqzOced2W1s6DvJAEgFM5JdOBYaf_0kEoYbF3i-%2BpmqSg@mail.gmail.com>
In-Reply-To: <CAOtMX2iO5qSwhDQWuNOkSxeFPuSwfbvVhBE9%2BgGRF3JCnwrGDg@mail.gmail.com>
References:  <CAOtMX2iO5qSwhDQWuNOkSxeFPuSwfbvVhBE9%2BgGRF3JCnwrGDg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 11, 2017 at 3:03 PM, Alan Somers <asomers@freebsd.org> 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 <imp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqzOced2W1s6DvJAEgFM5JdOBYaf_0kEoYbF3i-%2BpmqSg>