From owner-freebsd-doc@FreeBSD.ORG Thu Mar 21 11:40:02 2013 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id ED1DC968 for ; Thu, 21 Mar 2013 11:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BC5C7F7F for ; Thu, 21 Mar 2013 11:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2LBe2hT059920 for ; Thu, 21 Mar 2013 11:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2LBe2hZ059919; Thu, 21 Mar 2013 11:40:02 GMT (envelope-from gnats) Resent-Date: Thu, 21 Mar 2013 11:40:02 GMT Resent-Message-Id: <201303211140.r2LBe2hZ059919@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Fabian Keil Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CF76F88A for ; Thu, 21 Mar 2013 11:33:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C1002F39 for ; Thu, 21 Mar 2013 11:33:20 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2LBXKO9003113 for ; Thu, 21 Mar 2013 11:33:20 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2LBXKJP003112; Thu, 21 Mar 2013 11:33:20 GMT (envelope-from nobody) Message-Id: <201303211133.r2LBXKJP003112@red.freebsd.org> Date: Thu, 21 Mar 2013 11:33:20 GMT From: Fabian Keil To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: docs/177188: dumpon(8) unaware of mini crash dumps X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2013 11:40:03 -0000 >Number: 177188 >Category: docs >Synopsis: dumpon(8) unaware of mini crash dumps >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 21 11:40:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Fabian Keil >Release: HEAD >Organization: >Environment: FreeBSD r500.local 10.0-CURRENT FreeBSD 10.0-CURRENT #555 r+5b01145: Wed Mar 20 22:01:58 CET 2013 fk@r500.local:/usr/obj/usr/src/sys/ZOEY amd64 >Description: dumpon(8) currently states: | The dumpon utility will refuse to enable a dump device which is smaller | than the total amount of physical memory as reported by the hw.physmem | sysctl(8) variable. If mini crash dumps are enabled smaller dump devices are actually accepted. It might also be worth mentioning that with mini crash dumps disabled no error message is printed unless -v is used. >How-To-Repeat: fk@r500 ~ $sysctl debug.minidump debug.minidump: 1 fk@r500 ~ $sysctl kern.shutdown.dumpdevname kern.shutdown.dumpdevname: fk@r500 ~ $sysctl hw.physmem hw.physmem: 2070306816 fk@r500 ~ $diskinfo -v /dev/da0 | grep bytes 750780416 # mediasize in bytes (716M) fk@r500 ~ $sudo dumpon /dev/da0 fk@r500 ~ $echo $? 0 fk@r500 ~ $sysctl kern.shutdown.dumpdevname kern.shutdown.dumpdevname: da0 fk@r500 ~ $sudo dumpon off fk@r500 ~ $sudo sysctl debug.minidump=0 debug.minidump: 1 -> 0 fk@r500 ~ $sudo dumpon /dev/da0 fk@r500 ~ $echo $? 74 fk@r500 ~ $sudo dumpon -v /dev/da0 /dev/da0 is smaller than physical memory >Fix: Update the man page. >Release-Note: >Audit-Trail: >Unformatted: