From owner-freebsd-current@freebsd.org Mon Aug 20 23:33:50 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFC021080983 for ; Mon, 20 Aug 2018 23:33:50 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 465BA8820E for ; Mon, 20 Aug 2018 23:33:50 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x233.google.com with SMTP id 72-v6so1794590itw.3 for ; Mon, 20 Aug 2018 16:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=sobBtJO8eeuiSpMJ9jq8VtNCXB6ZVm1WtDSjoWOkTxM=; b=hmK2Hf2FB8Z/lpZO27BrqBeFyB06yx7jZCNQGZDzW3kM5/xy1Aa7BJp6usBfcOOKAz IVPiAw4yot6v9evuzgUNKoKaTcJFmZdEGV61MPQgfFEJRh/fMpig9IVSfl717WTZqf3a ziEWFgA/8AoUQpmaF+TGKN5k6YnzuaYRImcDU0qoP6LrM4h1oVYJTPR+iImWIziarmxc dDfflRqBqikhCvlbAMRLJVmO+jzvJLbBKetQQoxdDCf0vDWKMG720b3puNlcawzNXDpb BH5z+7/GQAn6oL+jb1TjoWtmZ/ASAj6MAWrPxVvAYOzSJ/NGkCZpwXvd/lc/ilGJlzF1 /p+Q== 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=sobBtJO8eeuiSpMJ9jq8VtNCXB6ZVm1WtDSjoWOkTxM=; b=MrwKpZQR+JyBoeD816RVzNLhEmCbPvjIruk/JAl1Q54O3o7MYqcU8u/yf9y7/gEhYB u1TPpXAifu6dnQ/qjtosa5QhSzbkA+H/bGQRZ/ECihlXJerWdcLu7y/f2WxPC4cwnHsz PF+KuJISPVLrATkCjFlYIb7tWlg1f6gfhXmiumJpbfrlsqXDJgaBiTv/TsV6a4Edd1et jops9mvRAK3KYz+YyXHIPODp9hQZ0wn4urGgcfcW/lmbCjuZ3kTOTUA4GInIZCfuF+UW FFqnQvPWzYrWQuQSuJMFnAy737GrZgup7bTmS1r7m/2DRyksv/5MS6cM40og/ZQwE8Cr /QVQ== X-Gm-Message-State: AOUpUlHJctzPMF1VUJjy0ehfB1FDN+6rsZBr+1xHwmYHG6AHWiPJM4Dr JEsul1J99WyiYhIIP+BgBZNK9HDatOQGtHsZoBeDLpR3zS4= X-Google-Smtp-Source: AA+uWPypOXqCaArUOW7CB/eI3rusePjvr2JTyCZgAV9i0y01y26YWoc3foLvFw5zg0qaj/kRS8M3lpn/68egt4nBAx8= X-Received: by 2002:a24:83c6:: with SMTP id d189-v6mr14890859ite.75.1534808029547; Mon, 20 Aug 2018 16:33:49 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:2806:0:0:0:0:0 with HTTP; Mon, 20 Aug 2018 16:33:48 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: References: <80002f50-c2a7-ff39-dbef-e39576c3da51@codexterous.com> From: Warner Losh Date: Mon, 20 Aug 2018 17:33:48 -0600 X-Google-Sender-Auth: B0g9-37sshOUsnJxQ-Q3bl29r3I Message-ID: Subject: Re: Newly upgraded -CURRENT box does not boot To: Brett Cc: Kevin Oberman , FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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, 20 Aug 2018 23:33:51 -0000 On Mon, Aug 20, 2018 at 5:24 PM, Brett wrote: > On 8/20/2018 7:09 PM, Warner Losh wrote: > >> On Mon, Aug 20, 2018 at 4:50 PM, Brett >> wrote: >> >> Hi Kevin, >>> >>> Thanks for your help. >>> >>> Should I be doing "make LOADER_DEFAULT_INTERP=4th buildkernel && make >>> LOADER_DEFAULT_INTERP=4th installkernel"? >>> >>> Nope. Kernel has nothing to do with it. That won't work. >> >> I had also previously tried " make clean all install >> >>> WITHOUT_LUA_LOADER=yes" in /usr/src/stand which did not help. >>> >>> You could just do "ln -sf /boot/loader_4th /boot/loader" and reboot if >> that's the issue. Or at the boot2 prompt, you could type in >> /boot/loader_4th if you haven't booted yet. >> >> You could also do a simple 'make install LOADER_DEFAULT_INTERP=4th" which >> does approximately the same thing. >> >> Though why you'd get loader.lua not found is kinda crazy >> >> Warner >> > Hi Warner, > > I've tried those things, unfortunately none of them worked. With forth, > things are slightly different (no more lua error), but ultimately the same > result: - the kernel doesn't load ("can't load 'kernel'"). > > I lastly tried "ln -sf /boot/loader_4th /boot/loader", now I get "No > /boot/loader" and a boot: prompt. I can do "boot/loader_4th" which will use > the forth loader with the results the same as the above. > > Any help is appreciated - this is a very important box unfortunately. :( > If both /boot/loader_lua and /boot/loader_4th fail in the same way, you may be in trouble. There's a sliver of a chance that /boot/loader_simp might work, but if the other two both fail, it's something common between them that's likely shared by /boot/loader_simp. I'd install old /boot/loader and then try to bisect where things went wrong from your last update. Thankfully, it looks like the last known good one for you was in March, and all versions since then you can rebuild just src/stand w/o doing a full world so it should be quick to trace down. There are maybe 20,000 svn changes or so, which should zero in on the right one in about 17 tries... It takes me about a minute to build, so with luck you'll know in about an hour... Warner