From nobody Thu Dec 09 18:54:31 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 0650F18C42D6 for ; Thu, 9 Dec 2021 18:52:13 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J937057Lyz4Rrr for ; Thu, 9 Dec 2021 18:52:12 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: by mail-yb1-xb36.google.com with SMTP id f186so15937741ybg.2 for ; Thu, 09 Dec 2021 10:52:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WMnX2AHGSLE/LI/MHy9hQDPbkiXdbfASMHejzM5Ss/g=; b=fdKQHXDHu3ZcGpfBZonOEEi1ywNu+kOQvAP0G6J0lc5gwHBwmthoH50ITye7p23wfc GI/aP1nzoDe8tsqSF4uR2ooF9Yg2Ls6/KFO7GDaafc2VrQTEGM1rIl3TlHZFHzl7B3t5 mqb3uEGWZyPDtjxXCvgKQsE5fr1ulfi8LcyGRTl8iqNZ0gXUUTBV1QSQnvA2SVp25r7/ RVoz91Wjg509QvQwZxwoDlT/+KusOilnYAfYu4WR2PeIT1oeoXE7HKlPVzYCnaUPSkzZ cejyTmh9VlMJW+tzRlgA8gs+5M7I7LGuBL6DEQ7aUtn7rszmEbZxFr5nHDOuiYiJ8nvK lzNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WMnX2AHGSLE/LI/MHy9hQDPbkiXdbfASMHejzM5Ss/g=; b=HLlfsPzWKWrdbTrKL/yk8/x08evybA+aTzEshqWOaid9TiSy7TQlZ9v6j+iAjgxsar TJNjehRFnWdCUx7u+IOQYAq2Ntlq/w1AvyZdvh9DtnpyNdtywxIeeBWRm0XDlKrE0V1J nbCXgl6yFV2vS90J7blyHzg3lNTSHFxyuHpOAfivKhCiE6SksgI86FgqTBCaXDEoY61h R/aUKqzgegKBKM+8jQIcSL/bPmEKadcwSFILg/cnIFaSsWqa5/yg3GkGPmKbXRfHog4/ uoQQgBrQ7Oa7yCoi5zTfBKrDCXqPfoo1Mm8oasEWFytdKgKPjFmlO1DDdUxi0hMRTqlF rojQ== X-Gm-Message-State: AOAM530SaEEBSklvKQyIBSfwBrwVG+J7D1XfWKAgI2ZsnALTLcbAVMhV mcyWiiKBfVmJ7JSB0JFw8mCro79oG/aWzL9uq7hcLuSOZE8= X-Google-Smtp-Source: ABdhPJxtCv5FjFcXvYyh/rPiaXU7uVNlAqih350lWWTqB3txeQkVQ8N52LpIGbLAeAtRd8CSH90F59Mu4iRag3T+akQ= X-Received: by 2002:a25:b18e:: with SMTP id h14mr8625866ybj.744.1639075925964; Thu, 09 Dec 2021 10:52:05 -0800 (PST) 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 References: <20211209163610.0cc4f7c6@gmail.com> <20211209235807.31ee2ecea5bc08e243870da3@dec.sakura.ne.jp> <13846D48-70DF-47FD-B2DA-187A33F0F5C0@me.com> In-Reply-To: <13846D48-70DF-47FD-B2DA-187A33F0F5C0@me.com> From: Sergey Dyatko Date: Thu, 9 Dec 2021 18:54:31 +0000 Message-ID: Subject: Re: 14-current: unable to boot after upgrade (installworld) To: Toomas Soome Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="00000000000053ba3805d2bb1ad8" X-Rspamd-Queue-Id: 4J937057Lyz4Rrr X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: Y --00000000000053ba3805d2bb1ad8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable tiger@dl:~ % gpart show | =3D> 40 3907029088 da4 GPT (1.8T) 40 1024 1 freebsd-boot (512K) 1064 984 - free - (492K) 2048 3907026944 2 freebsd-zfs (1.8T) 3907028992 136 - free - (68K) =3D> 40 3907029088 da5 GPT (1.8T) 40 1024 1 freebsd-boot (512K) 1064 984 - free - (492K) 2048 3907026944 2 freebsd-zfs (1.8T) 3907028992 136 - free - (68K) =3D> 40 3907029088 da6 GPT (1.8T) 40 1024 1 freebsd-boot (512K) 1064 984 - free - (492K) 2048 3907026944 2 freebsd-zfs (1.8T) 3907028992 136 - free - (68K) =3D> 40 3907029088 da7 GPT (1.8T) 40 1024 1 freebsd-boot (512K) 1064 984 - free - (492K) 2048 3907026944 2 freebsd-zfs (1.8T) 3907028992 136 - free - (68K) i'm not sure about video, everything happens faster than I can see :-) but sometimes the system does not freeze and I can enter commands. Can this help in some way? =D1=87=D1=82, 9 =D0=B4=D0=B5=D0=BA. 2021 =D0=B3. =D0=B2 18:19, Toomas Soome= : > > > > On 9. Dec 2021, at 20:06, Sergey Dyatko wrote= : > > > > 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 wi= th > > 13-current > > now I did the following: > > 1) boot from HDDs FreeBSD 14.0-CURRENT #0 main-n251494-f953785b3df (wit= h > > '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: > > > > 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 > > > > 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 > > > > 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 > > > > > > =D1=87=D1=82, 9 =D0=B4=D0=B5=D0=BA. 2021 =D0=B3. =D0=B2 15:56, Warner L= osh : > > > >> On Thu, Dec 9, 2021 at 7:58 AM Tomoaki AOKI > >> wrote: > >> > >>> On Thu, 9 Dec 2021 13:36:10 +0000 > >>> "Sergey V. Dyatko" wrote: > >>> > >>>> Hi, > >>>> > >>>> Yesterday I tried to upgrade old 13-current (svn rev r368473) to fre= sh > >>>> 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 wit= h > >>>> etcupdate -p > >>>> make installworld > >>>> etcupdate -B > >>>> shutdown -r now > >>>> > >>>> 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 > >>>> > >>>> 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 > >>>> > >>>> and again, after make kernel and reboot OS runs, but after > installworld > >>> I ended up in the same situation > >>>> > >>>> thoughts ? > >>>> > >>>> -- > >>>> wbr, Sergey > >>>> > >>>> > >>> > >>> Bootcode should be updated. > >>> The procedure you wrote doesn't seem to update it. > >>> > >> > >> 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. > >> > >> Warner > >> > > --00000000000053ba3805d2bb1ad8--