NetBSD Problem Report #37645

From k.heinz@dezsieben.kh-22.de  Sat Dec 29 20:49:53 2007
Return-Path: <k.heinz@dezsieben.kh-22.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 7C7AD63B904
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 29 Dec 2007 20:49:53 +0000 (UTC)
Message-Id: <20071229204949.GD595@silence.homedns.org>
Date: Sat, 29 Dec 2007 21:49:49 +0100
From: Klaus Heinz <k.heinz@dezsieben.kh-22.de>
Reply-To: heinz@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: difficult to create extended partition correctly with sysinst

>Number:         37645
>Category:       install
>Synopsis:       difficult to create extended partition correctly with sysinst
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 29 20:50:00 +0000 2007
>Originator:     Klaus Heinz
>Release:        NetBSD/i386 4.0
>Organization:
none
>Environment:
System: NetBSD 4.0 (INSTALL_LAPTOP) #0: Sun Dec 16 01:52:43 PST 2007
	builds@wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005Z-obj/home/builds/ab//netbsd-4-0-RELEASE/src/sys/arch/i386/compile/INSTALL_LAPTOP
Architecture: i386
Machine: i386
>Description:
	During the partitioning phase of sysinst a gap between
	previously defined partitions is detected and suggested for the
	start/end of the new partition about to be created.

	While this is acceptable (I would have expected the new
	start after the end of the previous partition, but that is
	just my opinion) and the starting cylinder can be changed for a
	NetBSD or OpenBSD partition this is not possible for an extended
	partition (LBA); sysinst insists on using only the first detected
	gap and does not show other available space. 
>How-To-Repeat:
	- Start installation of NetBSD/i386 4.0 from CD using
	  cd0a:nblaptop (problem is probably independent of the kernel)
	- a) Install to harddisk
	- b) yes
	- use wd0
	- a) full installation
	- a) this is the correct geometry
	- a) edit the MBR partition table
	- e) change input units to "cylinders"
	- create a FAT32/LBA partition
		- sysinst shows the whole disk as free space (cyl 0-9729
		  in my case)
		- choose start cylinder 500, size 500 cylinders
	- create NetBSD partition
		- sysinst suggests start cylinder 0, size 500 cylinders
		- change start: sysinst shows free space at cylinders 0-500
		  and 1000-9729
		- choose start cylinder 2000, size 1000 cylinders
	- create extended partition (LBA)
		- sysinst suggests start cylinder 0, size 500 cylinders
		- change start: sysinst shows free space at cylinders 0-500,
		  the space at cylinders 1000-2000 and 3000-9729 is _not_
		  shown.
		- choosing the start cylinder is only possible within
		  the range 0-499, consistent with the available space
		  shown above.
	- choose a type different from "extended partition (LBA)"
		- sysinst suggests start cylinder 0, size 1 cylinder
		- change start: sysinst shows free space at cylinders 0-1,
		  1001-2000 and 3001-9729.
		- choosing the start cylinder 1000, size 1000 works as
		  expected.
	- change partition type back to "extended partition (LBA)"
		- sysinst still shows start cylinder 1000, size 1000
		- change start: sysinst shows free space at cylinders
		  1000-2000, the space at cylinders 0-500 and 3000-9729 is
		  _not_ shown.
		- choosing the start cylinder is only possible within
		  the range 1000-1999, consistent with the available space
		  shown above.

	Switching partition types back and forth is a workaround but I
	would still call it a bug that the behaviour is different for
	extended partitions.
>Fix:
	unknown

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.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.