From owner-freebsd-arch@freebsd.org Fri May 18 15:11:26 2018 Return-Path: Delivered-To: freebsd-arch@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 DD363EAB174; Fri, 18 May 2018 15:11:25 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-pl0-x242.google.com (mail-pl0-x242.google.com [IPv6:2607:f8b0:400e:c01::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 614E97A13A; Fri, 18 May 2018 15:11:25 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-pl0-x242.google.com with SMTP id w19-v6so4756521plq.4; Fri, 18 May 2018 08:11:25 -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:in-reply-to:user-agent; bh=8wCpiNzu9sm6HYU41FTNvfeU6u5ocXmr9sw74+ewt4M=; b=kc6ln7mKra6aQUCd4QfOSUEhPYYj2dqVIdr8XnbTi+KOgAeVzBrV03hAX6j7SvOUr5 pgeBrVb/DXp0SEGTah1rdiM9wj81TaGJ4xbCzKYQVI5q1kSFJy4pNj6O8KDeptCJp05H 5KeBZ7whTTtZCGKwnFEYjpNU3R5xoGxqC5BtG79HUsG9qBbXfmJiX6trZk+Ka3MLHIeb eSd5yFf4Zbp8EaxPWkGs7s/Lg7ePgu70MnE3ZMSkbcUDwIy98McNBDlAY+ns0KN3Dy+J 7KzS6UIfYopkPvNgv4F6uRklrzl/Ht6ir6B/BGbUx0FRc4vWHABcI8Zs89dUrnJyM6Ji dWTw== 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:in-reply-to:user-agent; bh=8wCpiNzu9sm6HYU41FTNvfeU6u5ocXmr9sw74+ewt4M=; b=lcN7Bd5pnhqvGKj8exrprGpFkDNIqeCYYRCzBCyf2331MZqRnzrt1ZU/Pt/CsVOooM QXWLQuXnNv5rkp2bhbKzM2E25i7FZ5vqnBf0eQ1e1eKOh6P9hojUOTC8sctlmKf6fZEu avBuyXfKFkA6lCrrzFxfNfzO+sGce1gHT5LQ4LIZXhqPGD1DRcrdN4OKP8d8zhsjUrcZ rfkZE9s0dg9k1U8Xt6/IyKmYm7/BbccsytPMD6MtQ0SuAnqCBaRn+PBWznwfO+1XGKDN wKFoSBzbjOD+KH3rV1qAqwqwUOu2zev1xsUuKEFjeTQIzCVIwEdQyjvlHD8ERYIwDmG4 Tx1w== X-Gm-Message-State: ALKqPwerrm5GYPEXvDnOqnZZCqdHMEjbtW1AJZlaDTwKcE8booVY+OcX Im7dbronp+G0LN5cVE6t7fM= X-Google-Smtp-Source: AB8JxZo4B90wHlVx2cF569A3dyOti72O5dKLTNt5MPWL1BJ2tXWwdZCVybT3w2v5LQ8X9LFDFCOL+Q== X-Received: by 2002:a17:902:7e05:: with SMTP id b5-v6mr9717775plm.230.1526656284478; Fri, 18 May 2018 08:11:24 -0700 (PDT) Received: from raichu (toroon0560w-lp140-02-70-49-169-130.dsl.bell.ca. [70.49.169.130]) by smtp.gmail.com with ESMTPSA id u6-v6sm10181530pgo.46.2018.05.18.08.11.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 08:11:23 -0700 (PDT) Sender: Mark Johnston Date: Fri, 18 May 2018 11:11:20 -0400 From: Mark Johnston To: Mark Millard Cc: freebsd-arch@freebsd.org, FreeBSD PowerPC ML Subject: Re: enabling kernel dump options in GENERIC Message-ID: <20180518151120.GE5515@raichu> References: <20180518061739.GC5515@raichu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2018 15:11:26 -0000 On Fri, May 18, 2018 at 06:14:50AM -0700, Mark Millard wrote: > On 2018-May-17, at 11:17 PM, Mark Johnston wrote: > > > On Thu, May 17, 2018 at 08:58:16PM -0700, Mark Millard wrote: > >> Mark Johnston markj at FreeBSD.org wrote on > >> Thu May 17 17:24:19 UTC 2018 : > >> > >>> Over the past couple of years, a number of kernel dump features have > >>> been added: encryption, compression and dumping to a remote host > >>> (netdump). These features are currently all omitted from GENERIC. > >>> > >>> . . . > >>> Therefore, I'd like to propose enabling these features by default > >>> on i386, amd64, arm64, powerpc(64) and sparc64 so that they're available > >>> out of the box in 12.0. > >>> . . . > >> > >> Bugzilla 214598 (from late 2016) was about > >> dump for TARGET_ARCH=powerpc64 builds getting > >> failures like: > >> > >> KDB: enter: manual escape to debugger > >> [ thread pid 12 tid 10018 ] > >> Stopped at .kdb_enter+0x70: ori r0, r0, 0x0 > >> db> dump > >> Dumping 9 MB (3 chunks) > >> chunk 0: 10MB (2510 pages) ... ok > >> chunk 1: 1MB (24 pages) ... ok > >> chunk 2: 1MB (2 pages)panic: vm_fault: fault on nofault entry, addr: c000000000022000 > >> > >> (A 32-bit powerpc build on the same machine worked > >> fine for dumping.) > >> > >> I just tried it with head -r333594 and I got something > >> similar. (Old and new mention routines with _bus_dma_map_ > >> in the names near the trap in the call stack. I've not > >> done a detailed comparison.) > > > > What is the call stack? > > I'll have to induce the failure, take a picture of > the screen that results, and hand type in the > material for the fairly modern backtrace (-r333594). > I will not be able to do this until later today. > > The bugzilla report has the old backtrace. I did not > quote all the material from that report in the above. > So there is something to compare against once I > supply a modern one. My apologies, I missed the fact that the backtrace was included in that PR. Since the problem still occurs and apparently manifests with a similar backtrace, it wouldn't be useful to retest. I'm afraid I don't have any suggestions on how to make progress here. Given that the new options give only a small increase in the kernel size, I'm still inclined to enable them on powerpc64 for consistency with other architectures. > Also: in about a week I'll lose access to the PowerMacs > for an unknown period of time (weeks? months?). > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) >