NetBSD Problem Report #57750

From www@netbsd.org  Mon Dec  4 09:21:00 2023
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 142661A9238
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  4 Dec 2023 09:21:00 +0000 (UTC)
Message-Id: <20231204092058.228D31A9239@mollari.NetBSD.org>
Date: Mon,  4 Dec 2023 09:20:58 +0000 (UTC)
From: syleishere@gmail.com
Reply-To: syleishere@gmail.com
To: gnats-bugs@NetBSD.org
Subject: NetBSD 10.0-RC1 installer
X-Send-Pr-Version: www-1.0

>Number:         57750
>Category:       install
>Synopsis:       NetBSD 10.0-RC1 installer
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 04 09:25:00 +0000 2023
>Originator:     Dan
>Release:        10.0_RC1
>Organization:
>Environment:
netbsd# uname -a
NetBSD netbsd.sunsaturn.com 10.0_RC1 NetBSD 10.0_RC1 (GENERIC) #0: Sun Nov  5 18:30:08 UTC 2023  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
netbsd# 
>Description:
Booted https://ftp.netbsd.org/pub/NetBSD/NetBSD-10.0_RC1/amd64/installation/cdrom/boot.iso off BHYVE on FreeBSD, during install asks me for root dev(strange), had to tell it cd0 and installer started.

During installations asks me where to install from , I select CDROM, it tries to mount /dev/cd0a to /mnt2 and fails. I try to change device name to cd0, and again it tries cd0a instead and fails, forced to install off http instead.


>How-To-Repeat:
FreeBSD:
vm install netbsd boot.iso


router:/vm/netbsd # cat netbsd.conf 
#I had to select "cd0" for root device during install then just kept hitting enter
#When installing it started bitching about not finding cdrom, I told it to use cd0
#but kept using cd0a instead, so I used http install and all went well
#Installed 10-RC1 at https://ftp.netbsd.org/pub/NetBSD/NetBSD-10.0_RC1/amd64/installation/cdrom/boot.iso

loader="uefi"
graphics="yes"
graphics_listen="192.168.0.1"
graphics_port="5917"
#enable this briefly on windows installs, install won't do anything till you connect with VNC
#graphics_wait="yes"
#Valid Options: 1920x1200,1920x1080,1600x1200,1600x900,1280x1024,1280x720,1024x768,800x600,640x480
#graphics_res="1920x1080"
xhci_mouse="yes"

#OPENBSD - uncomment hostbridge line and use .img not .iso from download site
#https://wiki.freebsd.org/bhyve/OpenBSD - vm install openbsd install74.img
hostbridge="amd"

#conservative 1 cpu socket for windows, they charge apparently for multiple sockets
cpu=4
cpu_sockets=1 
cpu_cores=4 
memory=4G
network0_type="virtio-net"
#assign tap devices to manual switch we created (vm switch create -t manual -b br0 services)
network0_switch="services"
disk0_type="nvme"
disk0_name="disk0.img"

#windows virtio driver to enable virtio-net network drivers
#uncomment for windows
#disk1_type="ahci-cd"
#disk1_dev="custom"
#disk1_name="/vm/.iso/virtio-win.iso"

# windows expects the host to expose localtime by default, not UTC
#uncomment for windows
#utctime="no"
uuid="25bd518b-8f41-11ee-901d-e4434bf65f00"
network0_mac="58:9c:fc:03:dc:c8"
router:/vm/netbsd # 
>Fix:

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-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.