NetBSD Problem Report #24905

Received: (qmail 723 invoked by uid 605); 25 Mar 2004 00:59:50 -0000
Message-Id: <20040325005948.730BA23444@thoreau.thistledown.com.au>
Date: Thu, 25 Mar 2004 11:59:48 +1100 (EST)
From: Simon Burge <simonb@wasabisystems.com>
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: Simon Burge <simonb@wasabisystems.com>
To: gnats-bugs@gnats.netbsd.org
Subject: Can't specify root partition on the 8th or greater partition of a disk on some architectures
X-Send-Pr-Version: 3.95

>Number:         24905
>Category:       kern
>Synopsis:       Can't specify root partition on the 8th or greater partition of a disk on some architectures
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 25 01:00:00 +0000 2004
>Closed-Date:    
>Last-Modified:  Thu Mar 25 15:36:00 +0000 2004
>Originator:     
>Release:        NetBSD 1.6ZK
>Organization:
Wasabi Systems
>Environment:
NetBSD 1.6ZK, i386 (but not important)
>Description:

	Some ports (hpcmips, i386, ibmnws, playstation2, sbmips) have
	MAXPARTITIONS set to 16 in <machine/disklabel.h> but only
	have "maxpartitions 8" in .../conf/files.<machine>.  This
	precludes building a kernel with root or dumps on the 9th or
	more partition on any disk.

>How-To-Repeat:

	Make a simple config file in arch/i386/conf with

		include "arch/i386/conf/std.i386"
		config  netbsd  root on sd0i type ?

	and run config(8) on it.  You'll see:

		FOO:22: netbsd: invalid root device name `sd0i'

	as the first error.  Other errors as caused by a short config
	file and can be ignored for the sake of this PR.

>Fix:
	None given.
>Release-Note:
>Audit-Trail:

From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/24905 CVS commit: src/sys/arch
Date: Thu, 25 Mar 2004 12:38:50 +0000 (UTC)

 Module Name:	src
 Committed By:	wiz
 Date:		Thu Mar 25 12:38:50 UTC 2004

 Modified Files:
 	src/sys/arch/evbsh3/conf: files.evbsh3
 	src/sys/arch/hpcmips/conf: files.hpcmips
 	src/sys/arch/hpcsh/conf: files.hpcsh
 	src/sys/arch/i386/conf: files.i386
 	src/sys/arch/ibmnws/conf: files.ibmnws
 	src/sys/arch/playstation2/conf: files.playstation2
 	src/sys/arch/sbmips/conf: files.sbmips

 Log Message:
 Define maxpartitions to the same value as MAXPARTITIONS in disklabel.h.
 Addresses PR 24905 by Simon Burge.


 To generate a diff of this commit:
 cvs rdiff -r1.15 -r1.16 src/sys/arch/evbsh3/conf/files.evbsh3
 cvs rdiff -r1.91 -r1.92 src/sys/arch/hpcmips/conf/files.hpcmips
 cvs rdiff -r1.34 -r1.35 src/sys/arch/hpcsh/conf/files.hpcsh
 cvs rdiff -r1.251 -r1.252 src/sys/arch/i386/conf/files.i386
 cvs rdiff -r1.3 -r1.4 src/sys/arch/ibmnws/conf/files.ibmnws
 cvs rdiff -r1.11 -r1.12 src/sys/arch/playstation2/conf/files.playstation2
 cvs rdiff -r1.8 -r1.9 src/sys/arch/sbmips/conf/files.sbmips

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


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/24905 CVS commit: src/sys/arch
Date: Thu, 25 Mar 2004 12:40:19 +0000 (UTC)

 Module Name:	src
 Committed By:	wiz
 Date:		Thu Mar 25 12:40:19 UTC 2004

 Modified Files:
 	src/sys/arch/bebox/conf: files.bebox
 	src/sys/arch/mvmeppc/conf: files.mvmeppc

 Log Message:
 Define maxpartitions to the same value as MAXPARTITIONS in disklabel.h.
 [Down from 16 to 8, since disklabel.h still says 8.]
 Addresses PR 24905 by Simon Burge.


 To generate a diff of this commit:
 cvs rdiff -r1.42 -r1.43 src/sys/arch/bebox/conf/files.bebox
 cvs rdiff -r1.8 -r1.9 src/sys/arch/mvmeppc/conf/files.mvmeppc

 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: wiz 
State-Changed-When: Thu Mar 25 12:42:11 UTC 2004 
State-Changed-Why:  
Should be fixed now, thanks for the PR. 

From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/24905 CVS commit: src/sys/arch/xen/conf
Date: Thu, 25 Mar 2004 12:41:54 +0000 (UTC)

 Module Name:	src
 Committed By:	wiz
 Date:		Thu Mar 25 12:41:54 UTC 2004

 Modified Files:
 	src/sys/arch/xen/conf: files.xen

 Log Message:
 Define maxpartitions to the same value as MAXPARTITIONS in disklabel.h.
 Addresses PR 24905 by Simon Burge.


 To generate a diff of this commit:
 cvs rdiff -r1.1 -r1.2 src/sys/arch/xen/conf/files.xen

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


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/24905 CVS commit: src/sys/arch
Date: Thu, 25 Mar 2004 15:26:36 +0000 (UTC)

 Module Name:	src
 Committed By:	wiz
 Date:		Thu Mar 25 15:26:35 UTC 2004

 Modified Files:
 	src/sys/arch/evbsh3/conf: files.evbsh3
 	src/sys/arch/hpcmips/conf: files.hpcmips
 	src/sys/arch/hpcsh/conf: files.hpcsh
 	src/sys/arch/i386/conf: files.i386
 	src/sys/arch/ibmnws/conf: files.ibmnws
 	src/sys/arch/playstation2/conf: files.playstation2
 	src/sys/arch/sbmips/conf: files.sbmips
 	src/sys/arch/xen/conf: files.xen

 Log Message:
 Backout previous -- this is not enough, config needs to be taught
 how to reach partitions above h. Noted by Simon Burge, related to
 PR 24905.


 To generate a diff of this commit:
 cvs rdiff -r1.16 -r1.17 src/sys/arch/evbsh3/conf/files.evbsh3
 cvs rdiff -r1.92 -r1.93 src/sys/arch/hpcmips/conf/files.hpcmips
 cvs rdiff -r1.35 -r1.36 src/sys/arch/hpcsh/conf/files.hpcsh
 cvs rdiff -r1.252 -r1.253 src/sys/arch/i386/conf/files.i386
 cvs rdiff -r1.4 -r1.5 src/sys/arch/ibmnws/conf/files.ibmnws
 cvs rdiff -r1.12 -r1.13 src/sys/arch/playstation2/conf/files.playstation2
 cvs rdiff -r1.9 -r1.10 src/sys/arch/sbmips/conf/files.sbmips
 cvs rdiff -r1.2 -r1.3 src/sys/arch/xen/conf/files.xen

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

State-Changed-From-To: closed->open 
State-Changed-By: wiz 
State-Changed-When: Thu Mar 25 15:28:03 UTC 2004 
State-Changed-Why:  
As simonb noted, my change was not enough. 
I undid the changes. 

From: Thomas Klausner <wiz@netbsd.org>
To: simonb@NetBSD.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/24905
Date: Thu, 25 Mar 2004 16:35:08 +0100

 On Thu, Mar 25, 2004 at 12:40:19PM +0000, Thomas Klausner wrote:
 > 
 > Module Name:	src
 > Committed By:	wiz
 > Date:		Thu Mar 25 12:40:19 UTC 2004
 > 
 > Modified Files:
 > 	src/sys/arch/bebox/conf: files.bebox
 > 	src/sys/arch/mvmeppc/conf: files.mvmeppc
 > 
 > Log Message:
 > Define maxpartitions to the same value as MAXPARTITIONS in disklabel.h.
 > [Down from 16 to 8, since disklabel.h still says 8.]
 > Addresses PR 24905 by Simon Burge.

 Does this part need to be backed out too? [I don't think so.]

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