From dgilbert@trooper.velocet.ca Sun Sep 19 11:58:59 1999
Return-Path: <dgilbert@trooper.velocet.ca>
Received: from trooper.velocet.ca (trooper.velocet.net [216.126.82.226])
	by hub.freebsd.org (Postfix) with ESMTP id 918E314E63
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 19 Sep 1999 11:58:53 -0700 (PDT)
	(envelope-from dgilbert@trooper.velocet.ca)
Received: (from dgilbert@localhost)
	by trooper.velocet.ca (8.9.3/8.9.3) id OAA20996;
	Sun, 19 Sep 1999 14:58:53 -0400 (EDT)
	(envelope-from dgilbert)
Message-Id: <199909191858.OAA20996@trooper.velocet.ca>
Date: Sun, 19 Sep 1999 14:58:53 -0400 (EDT)
From: David Gilbert <dgilbert@velocet.ca>
Sender: dgilbert@trooper.velocet.ca
Reply-To: dgilbert@velocet.ca
To: FreeBSD-gnats-submit@freebsd.org
Subject: config root on da0 dumps on da1 gives false warning.
X-Send-Pr-Version: 3.2

>Number:         13831
>Category:       bin
>Synopsis:       config root on da0 dumps on da1 gives false warning
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 19 12:00:01 PDT 1999
>Closed-Date:    Thu Sep 23 02:00:03 PDT 1999
>Last-Modified:  Thu Sep 23 02:01:52 PDT 1999
>Originator:     David Gilbert
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
Velocet Communications
>Environment:

[1:13:313]root@sabre:/u/dgilbert/apache> uname -a
FreeBSD sabre.velocet.net 3.3-RELEASE FreeBSD 3.3-RELEASE #4: Sun Sep 19 01:49:27 EDT 1999     root@sabre.velocet.net:/usr/src/sys/compile/SABER  i386
[1:14:314]root@sabre:/u/dgilbert/apache> disklabel da1
# /dev/rda1c:

...

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  b:  1179640        8      swap                        # (Cyl.    0*- 73*)
  c: 17767827        0    unused        0     0         # (Cyl.    0 - 1105*)
  e:   131072        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 8*)
  f: 16588179  1179648    4.2BSD     1024  8192    16   # (Cyl.   73*- 1105*)

>Description:

When I 'config SABER' on this machine, it complains:

[1:16:316]root@sabre:/sys/i386/conf> config -g SABER
config: line 52: Warning: dump device is not a swap partition

... which is obviously not the case.

[1:18:318]root@sabre:/sys/i386/conf> pstat -s
Device      1K-blocks     Used    Avail Capacity  Type
/dev/da0s1b    524288      640   523520     0%    Interleaved
/dev/da1s1b    589820      520   589172     0%    Interleaved
Total         1113852     1160  1112692     0%

>How-To-Repeat:

Line 52 reads:

config          kernel  root on da0 dumps on da1s1b

I have tried 'da1' and 'da1b' in place of 'da1s1b'

>Fix:
	
Ignoring this warning seems to produce the correct behaviour... although
I have not yet caused the dump to prove that it works.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Thu Sep 23 02:00:03 PDT 1999 
State-Changed-Why:  
The correct `config' line in your case should look like: 

config          kernel  root on da0 swap on da0 and da1 dumps on da1 

See /usr/share/doc/smm/02.config, section 4.2, for more information. 
>Unformatted:
