Subject: Re: cannot configure wd0i as dump device
To: Christian Groessler <cpg@aladdin.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 10/10/2006 22:53:57
On Tue, Oct 10, 2006 at 09:15:41PM +0200, Christian Groessler wrote:
> 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.
> $ 
> ---------

Maybe the config program isn't up to date for 16 partitions

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

A workaround is to add
/dev/wd0i none dump dp

in /etc/fstab

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--