Date: Mon, 20 Aug 2018 17:33:48 -0600 From: Warner Losh <imp@bsdimp.com> To: Brett <freebsdcurrent@codexterous.com> Cc: Kevin Oberman <rkoberman@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Newly upgraded -CURRENT box does not boot Message-ID: <CANCZdfo=5je_aDdgCa9G-va%2BXD6ffnV9%2B1iE2Ug9Y-UzZQk89Q@mail.gmail.com> In-Reply-To: <e182953d-bc57-545f-1dae-128a7cf8056c@codexterous.com> References: <80002f50-c2a7-ff39-dbef-e39576c3da51@codexterous.com> <CAN6yY1vNFsGKqr1rnawESNwDLmK=mciTitehpxPa8aHyRwJFVA@mail.gmail.com> <e0083d49-e465-fa26-1a48-33004bca7dc6@codexterous.com> <CANCZdfoiq1JVgPcT0JJkCWLaS7WZ3J=Qig2CZin8MwO-UDbnhg@mail.gmail.com> <e182953d-bc57-545f-1dae-128a7cf8056c@codexterous.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 20, 2018 at 5:24 PM, Brett <freebsdcurrent@codexterous.com> wrote: > On 8/20/2018 7:09 PM, Warner Losh wrote: > >> On Mon, Aug 20, 2018 at 4:50 PM, Brett <freebsdcurrent@codexterous.com> >> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfo=5je_aDdgCa9G-va%2BXD6ffnV9%2B1iE2Ug9Y-UzZQk89Q>