NetBSD Problem Report #54872

From www@netbsd.org  Sat Jan 18 15:30:57 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id BD3507A171
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 18 Jan 2020 15:30:56 +0000 (UTC)
Message-Id: <20200118153055.C09DD7A188@mollari.NetBSD.org>
Date: Sat, 18 Jan 2020 15:30:55 +0000 (UTC)
From: guest01@vp.pl
Reply-To: guest01@vp.pl
To: gnats-bugs@NetBSD.org
Subject: Incomplete desription of disk geometry in sysinst
X-Send-Pr-Version: www-1.0

>Number:         54872
>Category:       install
>Synopsis:       Incomplete desription of disk geometry in sysinst
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 18 15:35:00 +0000 2020
>Closed-Date:    Tue Apr 21 17:07:59 +0000 2020
>Last-Modified:  Tue Apr 21 17:07:59 +0000 2020
>Originator:     guest01
>Release:        NetBSD 8.0, NetBSD 9.0_RC1
>Organization:
-
>Environment:
amd64
>Description:
When you try install NetBSD on USB stick, setting disk geometry is mandatory. Description what to do once uses "sectors per track" and in other place "sectors".
I think it should be "sectors per track".
>How-To-Repeat:
Start NetBSD installation to USB stick. When you get screen for setting disk geometry you will see description:

"Sysinst could not automatically determine the BIOS geometry of the disk. The phisical geometry is 471 cylinders 16 sectors 63 heads."

There is "sectors" above.

"You will be prompted for the geometry. Please enter the number of sectors per track (maximum 63 heads) and the number of heads (maximum 256) that the BIOS uses to access the disk."

There is "sectors per track".

"sectors [63]:
 heads   [16]:"

Ther is "sectors" again.

By the way is not sectors mixed with heads because in the example above the phisical geometry is 16 sectors 63 heads and then prompt is:
"sectors [63]:
 heads   [16]:" ?
>Fix:

>Release-Note:

>Audit-Trail:
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/54872 CVS commit: src/usr.sbin/sysinst
Date: Sat, 18 Jan 2020 18:39:55 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sat Jan 18 18:39:55 UTC 2020

 Modified Files:
 	src/usr.sbin/sysinst: mbr.c

 Log Message:
 PR install/54872: fix printf argument order, sectors and heads were
 swapped in the bios geometry display.


 To generate a diff of this commit:
 cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/sysinst/mbr.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 21 Apr 2020 17:07:59 +0000
State-Changed-Why:
committed, thanks for the report!


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