From owner-freebsd-current@freebsd.org Tue Aug 21 03:19:41 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 744AB108721E for ; Tue, 21 Aug 2018 03:19:41 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1FEC58FDC8; Tue, 21 Aug 2018 03:19:41 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id AF9F227769; Tue, 21 Aug 2018 03:19:40 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lj1-f180.google.com with SMTP id f1-v6so13161784ljc.9; Mon, 20 Aug 2018 20:19:40 -0700 (PDT) X-Gm-Message-State: AOUpUlFwTovgjLtE6qA1xGkL9MfUpzG9OaXXcpL+DAvSh2Oq0bCJsrw3 OSmFK3rNqXuN6TZXTSaRghIx0dMrc+DB+ugMxF8= X-Google-Smtp-Source: AA+uWPxC1wLBCqgOigicDKP0xRf5DDVGzOQFdCDnxITvLKUSWRVjMJ1hnkCZFK+0nFWRhRRnDDX2TvvmGf2MtcPJPxE= X-Received: by 2002:a2e:4055:: with SMTP id n82-v6mr29533053lja.99.1534821579165; Mon, 20 Aug 2018 20:19:39 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:91d2:0:0:0:0:0 with HTTP; Mon, 20 Aug 2018 20:19:18 -0700 (PDT) In-Reply-To: <80002f50-c2a7-ff39-dbef-e39576c3da51@codexterous.com> References: <80002f50-c2a7-ff39-dbef-e39576c3da51@codexterous.com> From: Kyle Evans Date: Mon, 20 Aug 2018 22:19:18 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Newly upgraded -CURRENT box does not boot To: Brett Gmoser Cc: FreeBSD Current , Toomas Soome , Warner Losh Content-Type: text/plain; charset="UTF-8" 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: Tue, 21 Aug 2018 03:19:41 -0000 On Mon, Aug 20, 2018 at 4:27 PM, Brett Gmoser wrote: > Hi there, > > I was told to e-mail these addresses with this. > > I did an `svn update` on /usr/src last night, build world and kernel as > usual. This morning I installed the kernel, booted into single user, > installed world and did mergemaster -Ui as usual. The new kernel had booted > fine. Upon reboot, the machine will no longer boot: > > Startup error in /boot/lua/loader.lua: > LUA ERROR: cannot open /boot/lua/loader.lua: no such file or directory > > can't load 'kernel' > > Many things in the bootloader do not work, including "boot kernel.old", "ls > /boot", and various other things (most if not all just result in "Command > failed"). Interestingly, "ls /mnt" works, other directories do not. That's > the only clue I have. > > I'm able to reboot in an installer image and mount the drive just fine. > Everything is there and is as expected, including /boot/lua/loader.lua. > > I re-installed everything in /usr/src/stand (chroot'd on the installer > image, and "cd /usr/src/stand && make clean all install"). This did not fix > the problem. > > Does anybody happen to have any ideas? > To briefly follow up and summarize the current standing here following some more discussion/attempts to fix on IRC: 1.) x86 BIOS boot 2.) Problem appears for both forthloader and lualoader 3.) Early March loader works, recent loader does not [Only tried loader from the past ~day] 4.) ls / works, ls /mnt works, ls /boot and other directories fails 5.) However, /boot is confirmed intact and populated by booting via 11.2 install media and inspecting local disk We'll hopefully be having a bisect session tomorrow to figure out where exactly this broke so that maybe Brett has a chance to upgrade to 12.0, unless this sounds familiar to someone and the cause is obvious. =) Thanks, Kyle Evans