From owner-freebsd-stable@freebsd.org Fri Aug 31 19:27:42 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7ACDFD5F4E for ; Fri, 31 Aug 2018 19:27:42 +0000 (UTC) (envelope-from cyschow@shaw.ca) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 40DDA81BA8 for ; Fri, 31 Aug 2018 19:27:42 +0000 (UTC) (envelope-from cyschow@shaw.ca) Received: by mailman.ysv.freebsd.org (Postfix) id 03B51FD5F4D; Fri, 31 Aug 2018 19:27:42 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD68EFD5F4C for ; Fri, 31 Aug 2018 19:27:41 +0000 (UTC) (envelope-from cyschow@shaw.ca) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E35381BA7 for ; Fri, 31 Aug 2018 19:27:41 +0000 (UTC) (envelope-from cyschow@shaw.ca) Received: from mail.intranet.peyto.ca ([24.64.227.31]) by shaw.ca with ESMTP id vp4tfNSOa5Hxqvp4uf32fj; Fri, 31 Aug 2018 13:27:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaw.ca; s=s20180605; t=1535743653; bh=3sB/Mh/k1VNkkq04oZQ+YPcB3illTm1yUBwfrcjeg0g=; h=Subject:To:References:From:Date:In-Reply-To; b=QxljqnE7U4qMnq/H3N2tQwRa1OiwFoSXNWiDLfaDRkt7B16a0T0W+QW205xDvqJIQ M4HRKNbJobn83pzYhP2cWEcNFy730JHs8VfcfVEhoxGM0EVrvwhWhfjvQcRCPFdEh7 xzp81vlPVFa8ij4O948A//gdNHdoZz/kz1M44T6GkVeQx/28UQjhjhobM5wa81PW60 AbeJ9W2dMfZH+dNsGr10puLL9MznnxKpSrgR7FkZeY2ZB+/OYJdYGNrDSFSpinX55u K8mjqp4p1f/4FKjKMC1lHF0XmI44NXbAsjy/duoy8yjosX1i/QX1OZXIwemXMfGmTd jguchmlaG2WrQ== X-Authority-Analysis: v=2.3 cv=BMcHU2YG c=1 sm=1 tr=0 a=EzZWVta4pqxsgR2mpKnCwA==:117 a=EzZWVta4pqxsgR2mpKnCwA==:17 a=IkcTkHD0fZMA:10 a=O76VCmqbo-wA:10 a=x7bEGLp0ZPQA:10 a=dapMudl6Dx4A:10 a=7EE6V-E_1K-UHgQHroEA:9 a=QEXdDO2ut3YA:10 a=Bl1bqend9reKY-4Nh7dc:22 a=HH7FIXwXL_sUf1zzYxQd:22 Received: from [192.168.4.6] (unknown [192.168.4.6]) by mail.intranet.peyto.ca (Postfix) with ESMTPSA id AE97B131802; Fri, 31 Aug 2018 13:25:04 -0600 (MDT) Subject: Re: Cannot setup dumpdev on glabel disk To: Eugene Grosbein , stable@freebsd.org References: <19f80f48-5fea-e105-18b2-1a64e06acc79@shaw.ca> <6f6685d0-08c6-dbe2-62b5-3628f91917d9@grosbein.net> From: Samuel Chow Message-ID: Date: Fri, 31 Aug 2018 13:25:02 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <6f6685d0-08c6-dbe2-62b5-3628f91917d9@grosbein.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Peyto-MailScanner-Information: Please contact the ISP for more information X-Peyto-MailScanner-ID: AE97B131802.AEFBA X-Peyto-MailScanner: Found to be clean X-Peyto-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1, required 6, autolearn=disabled, ALL_TRUSTED -1.00) X-Peyto-MailScanner-From: cyschow@shaw.ca X-Spam-Status: No X-CMAE-Envelope: MS4wfAgYHUNV/ygRJyisHUIbiHkXeG6oaW2IWc1mxUT2E/rZFJwWheIuWtqlMq3c8rzeCYGMLInWghZPZJAHNM+6RlD2tQsma90aQg5uglgbz/mxnxOEzg1s nVPGkFnL41/GU672KpnJNN5ICuQ8m2Y+UOtflKGAuF4M28pRlY7dQ2RkFjUY//t/7/K/wk+jL4SAFtMbv+tdkNqSYXmpmt3f8wo= X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2018 19:27:42 -0000 On 8/31/2018 1:09 PM, Eugene Grosbein wrote: > 31.08.2018 23:08, Samuel Chow wrote: > >> I am running 11-STABLE, and I am experiencing kernel panics when I am destroying a VIMAGE-based jail. Naturally, I flipped to the chapter about 'Kernel Debugging' to learn about 'Obtaining a Kernel Crash Dump'. >> >> However, I am finding that my permanently glabel'ed disk partition cannot be used as dumpdev. Is that true, and why not? I mean, swap can use it just fine. I am unable to find this restriction in the documentation. >> >> >> # grep swap /etc/fstab >> /dev/label/boot01b none swap sw 0 0 >> # swapinfo >> Device 1K-blocks Used Avail Capacity >> /dev/label/boot01b 41943040 0 41943040 0% >> # glabel status | grep boot >> label/boot01 N/A ada4s1 >> label/boot02 N/A ada5s1 >> # dumpon /dev/label/boot01b >> dumpon: ioctl(DIOCSKERNELDUMP): Operation not supported by device > That's not about label but underlying device that seems to be GEOM_PART_MBR > and it allows kernel dumps only if slice (MBR partition) type is 0xa5 for "freebsd" > or 0x82 ("linux swap"). Please show output of the command "gpart show ada4". > > I do have "freebsd" (0xa5) type configured on the MBR partition. # gpart show ada4 =>       63  937703025  ada4  MBR  (447G)          63  937703025     1  freebsd  [active]  (447G) # gpart show -r ada4 =>       63  937703025  ada4  MBR  (447G)          63  937703025     1  165  [active]  (447G)