Subject: kern/29211: Old partition name limits on kernel "config" directive
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 02/03/2005 09:33:00
>Number:         29211
>Category:       kern
>Synopsis:       Old partition name limits on kernel "config" directive
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 03 09:33:00 +0000 2005
>Originator:     Dave B
>Release:        2.0
NetBSD xxxxxx 2.0_STABLE NetBSD 2.0_STABLE (XXXXXX) #0: Tue Jan 25 12:51:25 EST 2005  netbsd@xxxxxx:/usr/src/sys/arch/i386/compile/XXXXXX i386
  Under a recent i386 netbsd-2 checkout (and maybe under earlier RELs,
although I happened to notice it under 2.0) the name limit on
partitions in the

    config <exec_name> root on <rootdev> [stuff]

directive of kernel config files doesn't appear to support the updated
16 partition-per-drive limit.  In other words, the statement

    config	netbsd	root on sd0o

results in an error ("invalid root device name `sd0o'"), whereas if
one sets up sd0h with geometry identical to that of sd0o, this one,

    config	netbsd	root on sd0h

will succeed.  I'm guessing that it's because h is in the first 8
partitions and o is not?
Try to make a kernel with a root fs hard-coded to a partition with a letter above "h", e.g.:

	config	netbsd	root on wd0i
re-assign partitions in your disklabel so a lower-lettered partition maps to where your root fs is