NetBSD Problem Report #46298
From www@NetBSD.org Thu Apr 5 14:23:43 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 5469563BBEC
for <gnats-bugs@gnats.NetBSD.org>; Thu, 5 Apr 2012 14:23:43 +0000 (UTC)
Message-Id: <20120405142342.B6A3D63B946@www.NetBSD.org>
Date: Thu, 5 Apr 2012 14:23:42 +0000 (UTC)
From: mind@kf7fjr.org
Reply-To: mind@kf7fjr.org
To: gnats-bugs@NetBSD.org
Subject: SWAP space pushing past disk geometry during system installation
X-Send-Pr-Version: www-1.0
>Number: 46298
>Category: install
>Synopsis: SWAP space pushing past disk geometry during system installation
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 05 14:25:00 +0000 2012
>Last-Modified: Sat Apr 07 14:55:00 +0000 2012
>Originator: James Carter
>Release: 6.0 Beta
>Organization:
End User
>Environment:
Virtual machine first time installation of 6.0 Beta
>Description:
So far no joy with the i386 iso on MacOSX version of Virtualbox. I had issues with the partitions pushing past the disk geometry. I ran through it several times.
>How-To-Repeat:
Create a virtual with a dynamic VDI disk, I made mine 10GB. Accept the default (reasonable) geometry, use the entire disk, modify the partitions to include ONLY a root with autofill and swap. Everytime I went through this installation make disk label would fail because the swap was pushing past the disk boundary.
>Fix:
A potential work-around:
I decided to leave the geometry alone and instead adjusted the mbr partition. I reduced it by roughly 16MB. I also changed both the root and swap partition sizes (made both smaller) to ensure they didn't attempt to push past the boundary. The installation progressed past the make disk label step and started to install software sets.
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: install/46298: SWAP space pushing past disk geometry during system installation
Date: Thu, 5 Apr 2012 16:29:38 +0200
On Thu, Apr 05, 2012 at 02:25:00PM +0000, mind@kf7fjr.org wrote:
> >How-To-Repeat:
> Create a virtual with a dynamic VDI disk, I made mine 10GB.
How much memory did you give the virtual machine?
Martin
From: James Carter <mind@kf7fjr.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: install/46298: SWAP space pushing past disk geometry during system
installation
Date: Thu, 05 Apr 2012 07:32:37 -0700
I gave that installation 128MB. Virtualbox defaults to 64MB for NetBSD
images. Did I create my own problem through ignorance!? ;-)
-james
On 04/05/2012 07:30 AM, Martin Husemann wrote:
> The following reply was made to PR install/46298; it has been noted by GNATS.
>
> From: Martin Husemann<martin@duskware.de>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: install/46298: SWAP space pushing past disk geometry during system installation
> Date: Thu, 5 Apr 2012 16:29:38 +0200
>
> On Thu, Apr 05, 2012 at 02:25:00PM +0000, mind@kf7fjr.org wrote:
> > >How-To-Repeat:
> > Create a virtual with a dynamic VDI disk, I made mine 10GB.
>
> How much memory did you give the virtual machine?
>
> Martin
>
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: install/46298: SWAP space pushing past disk geometry during system installation
Date: Thu, 5 Apr 2012 16:50:45 +0200
On Thu, Apr 05, 2012 at 02:35:01PM +0000, James Carter wrote:
> I gave that installation 128MB. Virtualbox defaults to 64MB for NetBSD
> images. Did I create my own problem through ignorance!? ;-)
That should create a 256 MB swap partition and leave enough space for /
in the default configuration (I just wanted to make sure it all fits).
Martin
From: James Carter <mind@kf7fjr.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: install/46298: SWAP space pushing past disk geometry during system
installation
Date: Thu, 05 Apr 2012 07:59:24 -0700
Oh no. In fact during the installation the swap space was created with
an identical size. I just ran through an AMD64 installation and it
likewise created the swap the same size as the physically allocated RAM.
If it should be twice the physical RAM then that portion is not working.
I am only able to test this on i386 and amd64. I can confirm the same
behavior on both architectures.
-james
On 04/05/2012 07:55 AM, Martin Husemann wrote:
> The following reply was made to PR install/46298; it has been noted by GNATS.
>
> From: Martin Husemann<martin@duskware.de>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: install/46298: SWAP space pushing past disk geometry during system installation
> Date: Thu, 5 Apr 2012 16:50:45 +0200
>
> On Thu, Apr 05, 2012 at 02:35:01PM +0000, James Carter wrote:
> > I gave that installation 128MB. Virtualbox defaults to 64MB for NetBSD
> > images. Did I create my own problem through ignorance!? ;-)
>
> That should create a 256 MB swap partition and leave enough space for /
> in the default configuration (I just wanted to make sure it all fits).
>
> Martin
>
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: install/46298: SWAP space pushing past disk geometry during system installation
Date: Thu, 5 Apr 2012 17:04:47 +0200
No, my error - same size as physical ram is ok.
Martin
From: Julian Fagir <gnrp@komkon2.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: install/46298: SWAP space pushing past disk geometry during
system installation
Date: Sat, 7 Apr 2012 11:49:56 +0200
Hi,
> >How-To-Repeat:
> Create a virtual with a dynamic VDI disk, I made mine 10GB. Accept the
> default (reasonable) geometry, use the entire disk, modify the partitions
> to include ONLY a root with autofill and swap. Everytime I went through
> this installation make disk label would fail because the swap was pushing
> past the disk boundary.
I tried to reproduce, but I don't really know what you did. What exactly is
autofill? Extending the size to the start of the next partition, i.e.
pressing 'b'? This worked for me as it should.
sysinst rather does not touch any of the other partitions when you enlarge
another one, it will complain afterwards that they overlap and throw you back
to partitioning.
Could you please paste the created label and what *exactly* you did to get
that label?
Regards, Julian
From: James Carter <mind@kf7fjr.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: install/46298: SWAP space pushing past disk geometry during system
installation
Date: Sat, 07 Apr 2012 07:54:29 -0700
I will repeat the same steps and post the steps and results.
-james
On 04/07/2012 02:50 AM, Julian Fagir wrote:
> The following reply was made to PR install/46298; it has been noted by GNATS.
>
> From: Julian Fagir<gnrp@komkon2.de>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: install/46298: SWAP space pushing past disk geometry during
> system installation
> Date: Sat, 7 Apr 2012 11:49:56 +0200
>
> Hi,
>
> > >How-To-Repeat:
> > Create a virtual with a dynamic VDI disk, I made mine 10GB. Accept the
> > default (reasonable) geometry, use the entire disk, modify the partitions
> > to include ONLY a root with autofill and swap. Everytime I went through
> > this installation make disk label would fail because the swap was pushing
> > past the disk boundary.
> I tried to reproduce, but I don't really know what you did. What exactly is
> autofill? Extending the size to the start of the next partition, i.e.
> pressing 'b'? This worked for me as it should.
> sysinst rather does not touch any of the other partitions when you enlarge
> another one, it will complain afterwards that they overlap and throw you back
> to partitioning.
> Could you please paste the created label and what *exactly* you did to get
> that label?
>
> Regards, Julian
>
(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.