Subject: kern/24905: Can't specify root partition on the 8th or greater partition of a disk on some architectures
To: None <gnats-bugs@gnats.netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 03/25/2004 11:59:48
>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 UTC 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: