From nobody Sun Jul 25 17:02:29 2021 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 948A912D44BB for ; Sun, 25 Jul 2021 17:02:33 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GXq9j3P1Cz3hSL for ; Sun, 25 Jul 2021 17:02:33 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-ej1-x633.google.com with SMTP id o5so12641721ejy.2 for ; Sun, 25 Jul 2021 10:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=c0rALiepQ0ZmeudUR46rNJTPs5DFgxti89tdLhPVk70=; b=THxyoeojcMCEV7GK8WPdGmSY8K+RbjXHGBYX64ZPB44rlt7iWqWEYOQ9iSuTAFrDNR ASgHUcMFDpwXO4CVh5h09E+AgmoMo2t73R55QDRTG/HAqFq3MVH4yEe3I4C3lSuIvbfG mKfIQe9AeKUyqpgEDIZEVkf7k548Y/hGmH9/g+5SdN4F/w0P7z2TOEZ7uQYTf1IVYZKI DN9APlVDLmHDC3M45uaHED/zhZ9a5rSQUK7qBhCe/GMNE6cyx/dBEIapM1wRMRh/jLV8 kx7Te2KJbHt958lUMXnHo/0LwAMAm9DZv/syZmLPMMfSBvDfHvtozN9HLBmCh3dBmaG0 VAlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=c0rALiepQ0ZmeudUR46rNJTPs5DFgxti89tdLhPVk70=; b=owucR8hX70t9mzCzeTDNLWcgTWlzSzbnhnqpPSnxY3HiZMNhImtdtHvMFFa9vnWCUV QK07Y1F0DLwObmul5eBAI4vHOx1dw7NRiJh80UyYw/LkbmJK8KWkKLoEllV2dOuBdO4H rs+i1dBU7oTrpskZR9hZmHJHFbDPIbTynNT2llI1IfK61JSL+ksou+dob55iQoOVRHcC EJkpvAWsAvkiiB1fptUi+KPq08gj/BgIauwfXtz5r5R64C0MeZ5nYR/CXTY5uUDqH/eD csxguF2Cm/uK9cwUzZ7mqjkEUSUNyMkf0XiBkO471hKcTgSnZ4pCGfIjN7JcdiTbTIx8 Otjg== X-Gm-Message-State: AOAM5315W0/8YV/50nTtitRASX5RVqQUTvRV7rq9YEaSRWbZbqN4f+hm HBdk0fSHy0seDznPkjkqbTw= X-Google-Smtp-Source: ABdhPJx9nohQ885b+DIT6Lv0KLFPGiasASGRWkxw/NspsFlZP3WVIayGialZZmhZqLqAJBdTiG9VXA== X-Received: by 2002:a17:906:a3d8:: with SMTP id ca24mr8804664ejb.533.1627232552294; Sun, 25 Jul 2021 10:02:32 -0700 (PDT) Received: from ernst.home (pd9e2360f.dip0.t-ipconnect.de. [217.226.54.15]) by smtp.gmail.com with ESMTPSA id t4sm13580700ejo.125.2021.07.25.10.02.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jul 2021 10:02:31 -0700 (PDT) Date: Sun, 25 Jul 2021 19:02:29 +0200 From: Gary Jennejohn To: Warner Losh Cc: FreeBSD Current Subject: Re: boot hangs after installworld at FreeBSD 14.0-CURRENT main-n248198-72f7ddb587a Message-ID: <20210725170229.50621855@ernst.home> In-Reply-To: References: <20210725092848.6f64b2d3@ernst.home> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GXq9j3P1Cz3hSL X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, 25 Jul 2021 09:54:35 -0600 Warner Losh wrote: > On Sun, Jul 25, 2021 at 3:30 AM Gary Jennejohn wrote: > > > I updated my FBSD-14 tree yesterday. > > > > uname -a shows FreeBSD 14.0-CURRENT #5 main-n248198-72f7ddb587a. > > > > Did a buildkernel and a clean buildworld yesterday. > > > > This morning I booted the new kernel, did an installworld and rebooted > > the new kernel. > > > > Or, should I say, I tried to reboot the new kernel. > > > > During boot I see the following outptut: > > > > loading /boot/defaults/loader.conf > > / > > > > and the boot hangs. > > > > The second line should have contained > > /boot/test/kernel (I always install new kernels to /boot/test) > > > > followed by lines containing the various modules which get loaded. > > > > Luckily, I had a USB thumb drive with a FreeBSD memstick.img AND a > > complete backup of the old /boot, so I could boot from the thumb > > drive and restore /boot (but I moved /boot to /boot.bad before I > > did that just in case). With the restored (old) /boot everything > > works. > > > > Little has changed in the boot loader. Do you know the hash that worked? Or > if I misread above, the has that failed? > The /boot code which works was installed at 07:36 UTC July 9th. So, every change to the boot code since then is a culprit. Example: 9c1c02093b90ae49745a174eb26ea85dd1990eec change to support.4th. It just so happens that I had a nextboot.conf in the "bad" /boot at the time that the hang occurred. This is the only potential candidate I can see. So I'll try overwriting support.4th with the known-good version and see what happens. But probably not until tomorrow my time. > Warner > > Note that I use the 4th boot stuff and EFI is disabled in my BIOS. > > > > I don't know just what is failing in the new boot binaries, but > > sum shows that quite a few of them have changed. > > > > As an aside I see the installation of armv8crypto.4.gz fail every time > > I run installworld because make wants to put it under > > /usr/share/man/cat4/aarch64, which doesn't exist. I got tired of > > having to fix that and restart the installworld and simply created > > that directory. Note that I always copy the contents of > > /usr/src/etc/mtree to /etc/mtree before doing installworld, so mtree > > should have created the missing directory if it were required. > > > > -- > > Gary Jennejohn > > > > -- Gary Jennejohn