From owner-freebsd-stable@freebsd.org Fri Aug 31 19:04:54 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 59DCEFD5363 for ; Fri, 31 Aug 2018 19:04:54 +0000 (UTC) (envelope-from markjdb@gmail.com) 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 D48EE80DFC for ; Fri, 31 Aug 2018 19:04:53 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 9624CFD5362; Fri, 31 Aug 2018 19:04:53 +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 74407FD5361 for ; Fri, 31 Aug 2018 19:04:53 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D2D2B80DFB for ; Fri, 31 Aug 2018 19:04:52 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-pl1-x62e.google.com with SMTP id j8-v6so5850702pll.12 for ; Fri, 31 Aug 2018 12:04:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=GxdtAv4wqZhONVvz+ofR2iFSWm55DLuVEo5tijHRmjw=; b=IpAl1ehc2tRr8aVd+RH795GcOaG/CYh9Np45aQlbKLld2M0k4G2OhjrNGwvUheEcYy RzN+jSQ2dLZ4WzSbpLSQm8tzgiJAv4Hz53fWl+8mQ5MbaxRSUEQYn/+ieSiY73F0aX6x pgvgLuRndF/PlaWDqd79ykdEnrlx8ECiLvh6/Zbta3ENqXzt/MwkbyPfM3c5g3sS7v35 flhjrbIKVRcib3YQyxcO5cWQ9WbQv0ERMoHnXBbsmRZri83iLMRarPeB494zkvfIKrfN cjfJioUQQx80/KXg7lm7joohRAFUXn5MomUI4dr4FpSH9yyEamZHI0BXur4bUV0lYTu2 cL5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=GxdtAv4wqZhONVvz+ofR2iFSWm55DLuVEo5tijHRmjw=; b=AoFgx1Yl2qV7SKSaNVAl7JmSxNmUz68o6ASKRL2EZ0gQWR2vSnwzmgE+NjV2lOibeV LZjU+hL2Elu/W3SQJvN5oUCVXnpcj1govfuWziMU8Pal8Z4jpiUD0bV3jmleaP5LdmRs Iof1mIBkxIpIhfqvzm3+Oy+Eh2PQHAhsxM2CoH7HNOjHcsQZQLlUM7UWisRXTgctO1F0 Txp9hiK03XDa09c+7mVfPOrPB7U1EiLAwUBLoOCWuxEm7VVYMEtVISEkjHYrh0UQi+wG qt6wfRsVmh4kDpHniKwwUcVDrnPniMPsftN2NWd38TJFmHrGVxtMIKyNWCywgjE1Pgb0 IfOg== X-Gm-Message-State: APzg51C5/kKSoALZDwYh5136dAGnkTxcGZnYYYbaU9+ACmeDCp1mpef5 wCiCZ6lEfTaMSJ9xq4+0I3w= X-Google-Smtp-Source: ANB0VdbyBJELvBpWGARuIZGh1fWRJlw//ycM1HGsB3QmqUoTf9/BXpn5tyxUAtMyDo/uLyn/4aM3hA== X-Received: by 2002:a17:902:d917:: with SMTP id c23-v6mr16755352plz.65.1535742291735; Fri, 31 Aug 2018 12:04:51 -0700 (PDT) Received: from raichu (toroon0560w-lp130-09-70-52-224-239.dsl.bell.ca. [70.52.224.239]) by smtp.gmail.com with ESMTPSA id l79-v6sm17428235pfi.172.2018.08.31.12.04.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Aug 2018 12:04:50 -0700 (PDT) Sender: Mark Johnston Date: Fri, 31 Aug 2018 15:04:48 -0400 From: Mark Johnston To: Samuel Chow Cc: stable@freebsd.org Subject: Re: Cannot setup dumpdev on glabel disk Message-ID: <20180831190448.GB54904@raichu> References: <19f80f48-5fea-e105-18b2-1a64e06acc79@shaw.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <19f80f48-5fea-e105-18b2-1a64e06acc79@shaw.ca> User-Agent: Mutt/1.10.1 (2018-07-13) 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:04:54 -0000 On Fri, Aug 31, 2018 at 10:08:20AM -0600, 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. I don't think that there is a real reason for this restriction; the glabel GEOM class simply doesn't implement the required support. Do you mind submitting a PR for this at https://bugs.freebsd.org/bugzilla/ ? I will try and get that fixed soon if no one else beats me to it. > # 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 > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"