From owner-freebsd-current@freebsd.org Sat Apr 22 19:21:10 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B091D4B18D for ; Sat, 22 Apr 2017 19:21:10 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-21.reflexion.net [208.70.210.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D25D1CF6 for ; Sat, 22 Apr 2017 19:21:08 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 26719 invoked from network); 22 Apr 2017 19:22:07 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 22 Apr 2017 19:22:07 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.0) with SMTP; Sat, 22 Apr 2017 15:21:02 -0400 (EDT) Received: (qmail 22148 invoked from network); 22 Apr 2017 19:21:02 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 22 Apr 2017 19:21:02 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 5AE0BEC86D9; Sat, 22 Apr 2017 12:21:01 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Several minor questions (12.0-amd64) Message-Id: Date: Sat, 22 Apr 2017 12:21:00 -0700 To: zaphod@berentweb.com, FreeBSD Current X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Apr 2017 19:21:10 -0000 Beeblebrox zaphod at berentweb.com wrote on Sat Apr 22 06:04:01 UTC 2017 = : > 3. Under one scenario, I'm getting a kernel panic but I cannot dump = because > busybox states "no dumpdev specified" which means rc.conf (where I = have > dumpdev set) has not been read yet. How can I pass dumpdev wile in = busybox > command line so that ">dump" does its job? /boot/loader.conf allows for an earlier time frame for having dumpdev. For example I have: # more /boot/loader.conf geom_label_load=3D"YES" # File system labels (see glabel(8)) kern.cam.boot_delay=3D"10000" dumpdev=3D"/dev/label/BPIM3swap" Supporting documentation is from: = https://www.freebsd.org/cgi/man.cgi?query=3Dloader&sektion=3D8&apropos=3D0= &manpath=3DFreeBSD+11.0-RELEASE+and+Ports and includes the following about dumpdev: LOADER(8) FreeBSD System Manager's Manual = LOADER(8) NAME =20 loader -- kernel bootstrapping final stage . . . BUILTIN ENVIRONMENT VARIABLES The loader has actually two different kinds of `environment' = variables. There are ANS Forth's environmental queries, and a separate space = of environment variables used by builtins, which are not directly = available to Forth words. It is the latter type that this section covers. . . . dumpdev Sets the device for kernel dumps. This can be used to = ensure that a device is configured before the corresponding = dumpdev directive from rc.conf(5) has been processed, allowing = kernel panics that happen during the early stages of boot to be = cap- tured. =3D=3D=3D Mark Millard markmi at dsl-only.net