From nobody Thu Dec 09 18:19:11 2021 X-Original-To: freebsd-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 6081018E9F06 for ; Thu, 9 Dec 2021 18:19:26 +0000 (UTC) (envelope-from tsoome@me.com) Received: from st43p00im-ztbu10063601.me.com (st43p00im-ztbu10063601.me.com [17.58.63.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4J92PB23kgz3lrL for ; Thu, 9 Dec 2021 18:19:26 +0000 (UTC) (envelope-from tsoome@me.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1639073960; bh=8cO+AlvD8h6+I26bDVMFkLbT9Gnra8TUdwAUzWjgj2M=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To; b=mQujAK897dYZH38RjnVrdRgSLRHfnzVyFj0hZX/8Iw0ByIAgac7/JfxeEYqw03aPN bMnu5oNJKFV+s/MEvnElIEh8UtoyH8xiEjatO+V0SCC5xVpmvxqKGfxSGAntfjyz69 auSog6V7c4M+EdfEdFKUxmc6Vl9WBplyKtNq6Acd6FxXulzbm1SFg1dS2kr8elJ4II 5gyEfa/m7kElmobFzAzEDv8o1Aog6W8ZGnnJR+UN/pYlKPuuHdryXF210rbZZNXju3 8adZez+Bi2aEBAPURiR5GS+C+xSnMTXaqwpTOovszL4kAREYIl+JkzwFLGl6XOpRE9 gBxX21yItXORw== Received: from smtpclient.apple (148-52-235-80.sta.estpak.ee [80.235.52.148]) by st43p00im-ztbu10063601.me.com (Postfix) with ESMTPSA id 38D23700241; Thu, 9 Dec 2021 18:19:18 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: Re: 14-current: unable to boot after upgrade (installworld) In-Reply-To: Date: Thu, 9 Dec 2021 20:19:11 +0200 Cc: Warner Losh , Tomoaki AOKI , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <13846D48-70DF-47FD-B2DA-187A33F0F5C0@me.com> References: <20211209163610.0cc4f7c6@gmail.com> <20211209235807.31ee2ecea5bc08e243870da3@dec.sakura.ne.jp> To: Sergey Dyatko X-Mailer: Apple Mail (2.3693.20.0.1.32) X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.790,17.0.607.475.0000000_definitions?= =?UTF-8?Q?=3D2021-12-09=5F07:2021-12-08=5F01,2021-12-09=5F07,2020-04-07?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 suspectscore=0 mlxscore=0 malwarescore=0 clxscore=1011 mlxlogscore=960 bulkscore=0 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2112090096 X-Rspamd-Queue-Id: 4J92PB23kgz3lrL X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[] Reply-To: tsoome@me.com From: Toomas Soome via freebsd-current X-Original-From: Toomas Soome X-ThisMailContainsUnwantedMimeParts: N > On 9. Dec 2021, at 20:06, Sergey Dyatko = wrote: >=20 > I was sure the installer did it when I reinstalled the system from = scratch. I > can load 14-current successfully after boot via PXE and installworld = with > 13-current > now I did the following: > 1) boot from HDDs FreeBSD 14.0-CURRENT #0 main-n251494-f953785b3df = (with > 'old' world) > 2)run installworld (f953785b3df) > 3) run `gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da${D}` > command , where D=3D4..7 > root@dl:/usr/src # zpool status > pool: zroot > state: ONLINE > config: >=20 > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > da4p2 ONLINE 0 0 0 > da5p2 ONLINE 0 0 0 > mirror-1 ONLINE 0 0 0 > da6p2 ONLINE 0 0 0 > da7p2 ONLINE 0 0 0 > errors: No known data errors >=20 > after `shutdown -r now` system still doesn't boot with the same = error. As > far I can see, there is /boot/lua/config.lua present, but when I try = to run > command more /boot/lua/config.lua system hangs with following error: > https://imgur.com/5p0xu6W.png >=20 You seem to get 2x BTX panic, could you try to create video from = console, so we could get register dumps? can this system do UEFI boot and if so, can you test it? Could you post = partition tables? rgds, toomas >=20 > =D1=87=D1=82, 9 =D0=B4=D0=B5=D0=BA. 2021 =D0=B3. =D0=B2 15:56, Warner = Losh : >=20 >> On Thu, Dec 9, 2021 at 7:58 AM Tomoaki AOKI = >> wrote: >>=20 >>> On Thu, 9 Dec 2021 13:36:10 +0000 >>> "Sergey V. Dyatko" wrote: >>>=20 >>>> Hi, >>>>=20 >>>> Yesterday I tried to upgrade old 13-current (svn rev r368473) to = fresh >>>> 14-current from git,it looked like this: >>>> 1) git pull https://git.freebsd.org/src.git /usr/src >>>> 2) cd /usr/src ; make buildworld; make kernel >>>> 3) shutdown -r now >>>> after that I _successfully_ booted into 14-current and continued = with >>>> etcupdate -p >>>> make installworld >>>> etcupdate -B >>>> shutdown -r now >>>>=20 >>>> but after that server doesn't come back. After I conneted to this >> server >>> via >>>> IPMI ip-kvm I saw following (sorry for external link): >>>> https://i.imgur.com/jH6MHd2.png >>>>=20 >>>> Well. There was a migration to zol between r368473 and current = 'main' >>> branch so >>>> I decided to install fresh 14-current from snapshot >>>> FreeBSD-14.0-CURRENT-amd64-20211202-610d908f8a6-251253 in order to >> avoid >>>> possible problems >>>>=20 >>>> and again, after make kernel and reboot OS runs, but after = installworld >>> I ended up in the same situation >>>>=20 >>>> thoughts ? >>>>=20 >>>> -- >>>> wbr, Sergey >>>>=20 >>>>=20 >>>=20 >>> Bootcode should be updated. >>> The procedure you wrote doesn't seem to update it. >>>=20 >>=20 >> The posted error is one you get when you can't read the filesystem, = which >> is why you need to update >> boot blocks across the OpenZFS change. >>=20 >> Warner >>=20