NetBSD Problem Report #56062

From kim@tac.gw.fi  Wed Mar 17 07:51:04 2021
Return-Path: <kim@tac.gw.fi>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 9E75E1A9217
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 17 Mar 2021 07:51:04 +0000 (UTC)
Message-Id: <20210317075059.0E47D9417B@rendez-vous.gw.fi>
Date: Wed, 17 Mar 2021 09:50:59 +0200 (EET)
From: kim@netbsd.org (Kimmo Suominen)
Reply-To:
To: gnats-bugs@NetBSD.org
Subject: UEFI boot code not upgraded by sysinst upgrade
X-Send-Pr-Version: 3.95

>Number:         56062
>Category:       install
>Synopsis:       UEFI boot code not upgraded by sysinst upgrade
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    martin
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 17 07:55:00 +0000 2021
>Last-Modified:  Wed Mar 17 08:33:33 +0000 2021
>Originator:     kim@netbsd.org (Kimmo Suominen)
>Release:        NetBSD 9.99.81
>Organization:
>Environment:
System: NetBSD rendez-vous.gw.fi 9.99.81 NetBSD 9.99.81 (GENERIC) #0: Mon Mar 15 20:18:21 UTC 2021 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

	The UEFI boot code does not get upgraded when running sysinst (from
	a CD) to upgrade the system.

	# NetBSD /etc/fstab
	# See /usr/share/examples/fstab/ for more examples.
	NAME=303f60b5-697a-410b-a08b-fb272381c862	/		ffs	rw,log		 1 1
	NAME=95911f21-bdb0-4951-880a-f16570e3c7e9	/home		ffs	rw,log		 1 2
	NAME=def36e55-49f2-4d20-8144-5e5dd3f11b72	/usr		ffs	rw,log		 1 2
	NAME=7c281f0b-2cf4-4fec-beac-1bfa02db3e1e	/var		ffs	rw,log		 1 2
	NAME=339160c4-8e90-497b-8a9e-aef955be3168	none		swap	sw		 0 0
	NAME=88e0790b-c9af-4cb1-9b08-89c62c18a2d4	/p/netbsd	ffs	rw,log		 1 2
	NAME=0a0acc3b-4f50-4942-add9-9574d9c16e39	/p/sandbox	ffs	rw,log		 1 2
	tmpfs						/tmp		tmpfs	rw,-m1777,-sram%25
	kernfs						/kern		kernfs	rw,hidden
	ptyfs						/dev/pts	ptyfs	rw,hidden
	procfs						/proc		procfs	rw,hidden
	/dev/cd0a					/cdrom		cd9660	ro,noauto
	tmpfs						/var/shm	tmpfs	rw,-m1777,-sram%25

	# gpt show sd0
	     start      size  index  contents
		 0         1         PMBR
		 1         1         Pri GPT header
		 2        32         Pri GPT table
		34        30         Unused
		64    262144      1  GPT part - EFI System
	    262208    524288      2  GPT part - NetBSD FFSv1/FFSv2
	    786496   3407872      3  GPT part - NetBSD swap
	   4194368   8388608      4  GPT part - NetBSD FFSv1/FFSv2
	  12582976  12582912      5  GPT part - NetBSD FFSv1/FFSv2
	  25165888   8388511      6  GPT part - NetBSD FFSv1/FFSv2
	  33554399        32         Sec GPT table
	  33554431         1         Sec GPT header

>How-To-Repeat:

	Boot from a snapshot CD-ROM image and upgrade a system.

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: install-manager->martin
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Wed, 17 Mar 2021 08:33:33 +0000
Responsible-Changed-Why:
My bug


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.