NetBSD Problem Report #46258

From www@NetBSD.org  Sun Mar 25 18:10:56 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 1EF8563C4B1
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 25 Mar 2012 18:10:56 +0000 (UTC)
Message-Id: <20120325181055.930D363BBEC@www.NetBSD.org>
Date: Sun, 25 Mar 2012 18:10:55 +0000 (UTC)
From: gnrp@komkon2.de
Reply-To: gnrp@komkon2.de
To: gnats-bugs@NetBSD.org
Subject: sysinst doesn't work with wedges/gpt
X-Send-Pr-Version: www-1.0

>Number:         46258
>Category:       install
>Synopsis:       sysinst doesn't work with wedges/gpt
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    martin
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 25 18:15:00 +0000 2012
>Last-Modified:  Sat Jan 26 14:11:18 +0000 2019
>Originator:     Julian Fagir
>Release:        6.0_BETA
>Organization:
>Environment:
>Description:
When trying to install gpt on a disk that has been formatted with an Apple, it fails. It will always complain about the device being busy when trying to create a filesystem, because you have still wedges underlying.
Killing them with dkctl, installation finishes.
>How-To-Repeat:
Put a gpt and some partitions on a disk, try installing NetBSD.
>Fix:
Perhaps delete all wedges present on a disk prior to partitioning? The mbr compatibility stuff won't be touched by that anyway, and existing gpt will be overwritten.

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/46258: sysinst doesn't work with wedges/gpt
Date: Sun, 25 Mar 2012 21:21:53 +0200

 On Sun, Mar 25, 2012 at 06:15:00PM +0000, gnrp@komkon2.de wrote:
 > >Fix:
 > Perhaps delete all wedges present on a disk prior to partitioning?
 > The mbr compatibility stuff won't be touched by that anyway, and
 > existing gpt will be overwritten.

 No! Don't do that!
 Proper fix is to add a GPT partition editor (see the suggested GSoC project).

 Martin

From: Julian Fagir <gnrp@komkon2.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/46258: sysinst doesn't work with wedges/gpt
Date: Wed, 28 Mar 2012 15:02:51 +0200

 --Sig_/NM/+a/wGxp2_ZVxaLhE/Ttn
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable

 Hi,

 >  > Perhaps delete all wedges present on a disk prior to partitioning?
 >  > The mbr compatibility stuff won't be touched by that anyway, and
 >  > existing gpt will be overwritten.
 > =20
 >  No! Don't do that!
 >  Proper fix is to add a GPT partition editor (see the suggested GSoC
 > project).=20
 I wonder if there will ever be gpt for the current sysinst.
 But without that, there should at least be a warning somewhere how to disab=
 le
 that.

 Regards, Julian

 --Sig_/NM/+a/wGxp2_ZVxaLhE/Ttn
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (GNU/Linux)

 iEYEARECAAYFAk9zC/wACgkQc7h7cu1Hpp4jZgCgirs+FkCErheJhqT735M4+1q3
 eZgAnA0Xfm/rViJD0PLpdxb7n16SBlVC
 =8vEE
 -----END PGP SIGNATURE-----

 --Sig_/NM/+a/wGxp2_ZVxaLhE/Ttn--

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/46258: sysinst doesn't work with wedges/gpt
Date: Wed, 28 Mar 2012 15:36:14 +0200

 On Wed, Mar 28, 2012 at 01:05:03PM +0000, Julian Fagir wrote:
 >  I wonder if there will ever be gpt for the current sysinst.
 >  But without that, there should at least be a warning somewhere how to disab=
 >  le
 >  that.

 Yes, as long as we don't have a builtin gpt editor, I'm fine with code
 detecting it and offering to zero it via dd for now (or convert it, if
 that can be tested well enough).

 Besides, isn't it enough in this case to have sysinst unconfigure the
 auto-configured wedges via dkctl?

 Martin

From: Julian Djamil Fagir <gnrp@komkon2.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/46258: sysinst doesn't work with wedges/gpt
Date: Wed, 28 Mar 2012 15:59:55 +0200

 --Sig_/ebbsDjuzC1gxKMd5TFuuK8S
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable

 Hi,

 >  >  I wonder if there will ever be gpt for the current sysinst.
 >  >  But without that, there should at least be a warning somewhere how to
 >  > disab=3D le
 >  >  that.
 > =20
 >  Yes, as long as we don't have a builtin gpt editor, I'm fine with code
 >  detecting it and offering to zero it via dd for now (or convert it, if
 >  that can be tested well enough).
 > =20
 >  Besides, isn't it enough in this case to have sysinst unconfigure the
 >  auto-configured wedges via dkctl?
 that was my initial proposal (perhaps I wasn't clear about that) - destroyi=
 ng
 the wedge.
 Though I'm not enough into gpt to really decide about that. I think gpt is =
 an
 extension to mbr, so we could end up having a gpt which has overlapping
 partitions, don't we?

 Regards, Julian

 --Sig_/ebbsDjuzC1gxKMd5TFuuK8S
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (GNU/Linux)

 iEYEARECAAYFAk9zGVsACgkQc7h7cu1Hpp6M7ACfWZ8Rs4Ntul4lcSXW64WsmS1R
 yh0AnRolcHr5VkOK+giB3kAfLRnp46Aq
 =Gn8z
 -----END PGP SIGNATURE-----

 --Sig_/ebbsDjuzC1gxKMd5TFuuK8S--

Responsible-Changed-From-To: install-manager->martin
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Sat, 26 Jan 2019 14:11:18 +0000
Responsible-Changed-Why:
Working on it


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.