From pst@Shockwave.COM  Sun May 17 09:45:02 1998
Received: from precipice.shockwave.com (ppp-206-170-6-179.rdcy01.pacbell.net [206.170.6.179])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA09208
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 17 May 1998 09:44:58 -0700 (PDT)
          (envelope-from pst@Shockwave.COM)
Received: (from pst@localhost)
	by precipice.shockwave.com (8.8.8/8.8.8) id JAA00332;
	Sun, 17 May 1998 09:44:57 -0700 (PDT)
	(envelope-from pst)
Message-Id: <199805171644.JAA00332@precipice.shockwave.com>
Date: Sun, 17 May 1998 09:44:57 -0700 (PDT)
From: Paul Traina <pst@Shockwave.COM>
Reply-To: pst@Shockwave.COM
To: FreeBSD-gnats-submit@freebsd.org
Subject: dumpon fails with DEVFS and SLICE
X-Send-Pr-Version: 3.2

>Number:         6664
>Category:       kern
>Synopsis:       dumpon fails with DEVFS and SLICE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    julian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 17 09:50:00 PDT 1998
>Closed-Date:    Mon May 18 10:53:15 PDT 1998
>Last-Modified:  Mon May 18 10:54:39 PDT 1998
>Originator:     Paul Traina
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
Shockwave Engineering
>Environment:

uname -a:

FreeBSD precipice.shockwave.com 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Sat May 16 15:31:10 PDT 1998     pst@precipice.shockwave.com:/a/src/sys/compile/PRECIPICE  i386

-current kernel sources as of May 16th, 1998.

Kernel config:

machine		"i386"
cpu		"I586_CPU"
ident		PRECIPICE
maxusers	60

options		SOFTUPDATES

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		MFS			#memory filesystem

options		DEVFS			#Device filesystem
options		SLICE

options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		UCONSOLE		#Allow users to grab the console
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
options		INCLUDE_CONFIG_FILE

options		KTRACE
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		DDB
options		DDB_UNATTENDED
options		"VM86"
options		"USER_LDT"

config		kernel	root on sd0

controller	isa0
controller	pci0
controller	pnp0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0

controller	ahc0
options		AHC_TAGENABLE
options		AHC_ALLOW_MEMIO
options		AHC_SCBPAGING_ENABLE

controller	scbus0
device		sd0
device		st0
device		cd0

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
device		sio0	at isa? port "IO_COM1" tty flags 0x10 irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
#device		sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr
device		lpt0	at isa? port? tty irq 7 vector lptintr
device		psm0	at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr

device		ed0	at isa? port 0x280 net irq ? iomem 0xd8000 vector edintr
device          apm0    at isa?
device		pcm0	at isa? port ? tty irq 11 drq 1 flags 0x13 vector pcmintr
device		bktr0

pseudo-device	ether
pseudo-device	loop
pseudo-device	bpfilter 4
pseudo-device	pty	32
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	vn


ls -l /dev/sd0*

brw-------  1 root  operator   14,   8 May 17 02:37 /dev/sd0
brw-------  1 root  operator   14,  18 May 17 02:37 /dev/sd0s1
brw-------  1 root  operator   14,  19 May 17 02:37 /dev/sd0s2
brw-------  1 root  operator   14,  20 May 17 02:37 /dev/sd0s2a
brw-------  1 root  operator   14,  21 May 17 02:37 /dev/sd0s2b
brw-------  1 root  operator   14,  22 May 17 02:37 /dev/sd0s2e
brw-------  1 root  operator   14,  23 May 17 02:37 /dev/sd0s2f
brw-------  1 root  operator   14,  24 May 17 02:37 /dev/sd0s2g


>Description:

On a system with DEVFS and SLICE configured, I'm not able to set the dump
device to my primary swap partition.

>How-To-Repeat:

root@precipice$ dumpon /dev/sd0s2b
dumpon: sysctl: kern.dumpdev: Operation not supported by device
root@precipice$ dumpon /dev/rsd0s2b
dumpon: /dev/rsd0s2b: must specify a block device

>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->julian 
Responsible-Changed-By: phk 
Responsible-Changed-When: Sun May 17 22:50:24 PDT 1998 
Responsible-Changed-Why:  
Julians baby 
State-Changed-From-To: open->closed 
State-Changed-By: julian 
State-Changed-When: Mon May 18 10:53:15 PDT 1998 
State-Changed-Why:  
dump support was added to SLICE a couple of weeks ago 
>Unformatted:
