Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 1998 09:44:57 -0700 (PDT)
From:      Paul Traina <pst@Shockwave.COM>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/6664: dumpon fails with DEVFS and SLICE
Message-ID:  <199805171644.JAA00332@precipice.shockwave.com>

next in thread | raw e-mail | index | archive | help

>Number:         6664
>Category:       kern
>Synopsis:       dumpon fails with DEVFS and SLICE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 17 09:50:00 PDT 1998
>Last-Modified:
>Originator:     Paul Traina
>Organization:
Shockwave Engineering
>Release:        FreeBSD 3.0-CURRENT i386
>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:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805171644.JAA00332>