NetBSD Problem Report #44569

From campbell@mumble.net  Mon Feb 14 17:23:02 2011
Return-Path: <campbell@mumble.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id DDD0A63B100
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 14 Feb 2011 17:23:01 +0000 (UTC)
Message-Id: <20110214172254.8A41D98298@pluto.mumble.net>
Date: Mon, 14 Feb 2011 17:22:54 +0000 (UTC)
From: Taylor R Campbell <campbell+netbsd@mumble.net>
Reply-To: Taylor R Campbell <campbell+netbsd@mumble.net>
To: gnats-bugs@gnats.NetBSD.org
Subject: sysinst doesn't understand dkwedges
X-Send-Pr-Version: 3.95

>Number:         44569
>Category:       install
>Synopsis:       sysinst doesn't understand dkwedges
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    martin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 14 17:25:00 +0000 2011
>Closed-Date:    Sun Apr 18 20:01:47 +0000 2021
>Last-Modified:  Sun Apr 18 20:01:47 +0000 2021
>Originator:     Taylor R Campbell <campbell+netbsd@mumble.net>
>Release:        NetBSD 5.1_STABLE
>Organization:
>Environment:
System: NetBSD smalltalk.local 5.1_STABLE NetBSD 5.1_STABLE (RIADEBUG) #0: Tue Feb 1 20:28:45 UTC 2011 root@smalltalk.local:/home/riastradh/netbsd/5/obj/sys/arch/i386/compile/RIADEBUG i386
Architecture: i386
Machine: i386
>Description:

	Sysinst doesn't understand dkwedges, so if the kernel
	autodetects dkwedges on a disk on which one wants to install
	NetBSD, sysinst will ignore the dkwedges, try to edit the
	underlying disk, and fail because the kernel won't allow that.

>How-To-Repeat:

	Boot the installer on a machine whose wd0 has a gpt.  Watch the
	kernel autodetect dkwedges.  Run sysinst.  Choose to install on
	wd0 because that is the only option sysinst gives.  Watch
	sysinst fail to open /dev/rwd0d during newfs because the kernel
	doesn't let you do that after it has already autodetected
	dkwedges.

>Fix:

	Yes, please!  Ideally, sysinst would be able to create gpts and
	maybe ponies too, but at least it should check for dkwedges and
	offer to install on the dkwedges rather than the disk in this
	case.  It's not enough just to disable dkwedge autodetection in
	the install kernel, and to let sysinst scribble over the gpt
	and use an mbr instead -- that would leave sysinst just as
	useless on the machines for which this matters, such as Intel
	Macs, which, as I understand it, insist on gpts.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: install-manager->martin
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Tue, 15 Feb 2011 08:30:54 +0000
Responsible-Changed-Why:
Mine


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 18 Apr 2021 20:01:47 +0000
State-Changed-Why:
Fixed by martin.


>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.