Subject: cannot configure wd0i as dump device
To: None <port-i386@netbsd.org>
From: Christian Groessler <cpg@aladdin.de>
List: port-i386
Date: 10/10/2006 21:15:41
Hi,

I use wd0i as swap device (sharing it with a Linux installation), but
I cannot configure the kernel to use it as dump device.

I have this line in my config:

---------
config          netbsd  root on ? type ffs dumps on wd0i
---------

I get an error when I try to configure the kernel:

---------
$ /usr/local/tools/bin/nbconfig POLLY
POLLY:229: netbsd: invalid dumps device name `wd0i'
POLLY has no configurations!
*** Stop.
$ 
---------

If I remove the "dumps on wd0i" in the configuration file it works.

Here's the disklabel of the machine:

---------
.....
10 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 c:   2343751   2993760     unused      0     0        # (Cyl.   3168 -   5648*)
 d:   8448300         0     unused      0     0        # (Cyl.      0 -   8939)
 e:    423297        63      MSDOS                     # (Cyl.	    0*-    447)
 f:   2570400    423360      MSDOS                     # (Cyl.    448 -   3167)
 g:   2343751   2993760     4.2BSD      0     0     0  # (Cyl.   3168 -   5648*)
 i:    382814   5337574       swap                     # (Cyl.   5648*-   6053*)
 j:   2727849   5720451 Linux Ext2      0     0        # (Cyl.   6053*-   8939)
---------

Seems to be a bug in the config program?

Btw, this is -current from some weeks ago.

regards,
chris