NetBSD Problem Report #44569

From  Mon Feb 14 17:23:02 2011
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id DDD0A63B100
	for <>; Mon, 14 Feb 2011 17:23:01 +0000 (UTC)
Message-Id: <>
Date: Mon, 14 Feb 2011 17:22:54 +0000 (UTC)
From: Taylor R Campbell <>
Reply-To: Taylor R Campbell <>
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 <>
>Release:        NetBSD 5.1_STABLE
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

	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.


	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


	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.



Responsible-Changed-From-To: install-manager->martin
Responsible-Changed-When: Tue, 15 Feb 2011 08:30:54 +0000

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


NetBSD Home
NetBSD PR Database Search

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