NetBSD Problem Report #58205

From www@netbsd.org  Sat Apr 27 18:09:50 2024
Return-Path: <www@netbsd.org>
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 A4A671A923B
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 27 Apr 2024 18:09:50 +0000 (UTC)
Message-Id: <20240427180919.3031D1A923C@mollari.NetBSD.org>
Date: Sat, 27 Apr 2024 18:09:19 +0000 (UTC)
From: abs@absd.org
Reply-To: abs@absd.org
To: gnats-bugs@NetBSD.org
Subject: NetBSD-10 sysinst creates non bootable MBR install 
X-Send-Pr-Version: www-1.0

>Number:         58205
>Category:       install
>Synopsis:       NetBSD-10 sysinst creates non bootable MBR install
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 27 18:10:00 +0000 2024
>Last-Modified:  Sun Apr 28 06:40:01 +0000 2024
>Originator:     David Brownlee
>Release:        NetBSD 10.0
>Organization:
>Environment:
NetBSD 10.0
>Description:
Installing netbsd-10 onto a USB key and selecting MBR fails to boot on a ThinkPad T495. Installing 9.4 boots fine.

key was blanked (no GPT and first few MB written with zeros) before test

The failed boot shows a page with

" mem[0xc000-0x3fff 0x87000-0x89fff ..."

The T495 does not have separate "Boot USB with UEFI vs BIOS" options, so it is possible it could be trying to boot the 128MB EFI partition sysinst creates, but it is not clear how that differs from 9.4 
>How-To-Repeat:
Install NetBSD-10 using MBR onto a blank USB key & try to boot on at least a ThinkPad T495
>Fix:
Don't do that

>Audit-Trail:
From: matthew green <mrg@eterna23.net>
To: gnats-bugs@netbsd.org
Cc: install-manager@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org
Subject: re: install/58205: NetBSD-10 sysinst creates non bootable MBR install 
Date: Sun, 28 Apr 2024 08:28:41 +1000

 > " mem[0xc000-0x3fff 0x87000-0x89fff ..."

 this seems to indicate it has loaded and is trying to run efiboot,
 which is where these messages come from.

 i have an asrock system that, in bios mode, will find the efiboot
 and run it, it prints like the above and then hangs.

 one hack check would be to remove /efi/boot/bootx86.efi from the
 msdos partition and see what happens.  (that made it work for me.)


 .mrg.

From: Martin Husemann <martin@duskware.de>
To: matthew green <mrg@eterna23.net>
Cc: gnats-bugs@netbsd.org, install-manager@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: install/58205: NetBSD-10 sysinst creates non bootable MBR install
Date: Sun, 28 Apr 2024 08:36:12 +0200

 Sounds like this is firmware or uefiboot related, so the PR should be
 recategorized as port-amd64.

 Martin

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.