From owner-freebsd-arch@freebsd.org Fri May 18 06:17:44 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 5F6FAEEBA29; Fri, 18 May 2018 06:17:44 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) (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 B9D0068B12; Fri, 18 May 2018 06:17:43 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-pf0-x244.google.com with SMTP id x9-v6so3252306pfm.2; Thu, 17 May 2018 23:17:43 -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=cZFzvAHCZ9ZyqGrlvJc7qbfcstDWs/5KBZPvVr4aeJ4=; b=iDIWSJEq69TJocFJbkxpPr7ihhHFyv0iwecZr0HUCASHSoRDFr8nCxNsj6+EdYEEqn o4D42ZBzIb7y9ryEFhKBYg7LMe8OxsUpDtL/2nsQfFvChxsLcK5RyZxqPJrGVe78IEp1 /uBvb1q2ktVkSyDvehxh2ZbfqD2Pgh19Y0fs+PoO/LLMHY9FP0rmbDBOGEfW0c/8XBw8 xp3k9lZJ2L+3a42S0xoBo/hgo9eY1HcOpqi3oOuM2py0m6+H5kRkzKw4T3vqO8pfyVLu 0/v7wCUnlkvN9OS5zq+k0kvqBWfpVFfWjfiu0qeesBP0ZxSVEwCNGQyWSHRf56MC8yyp NAbg== 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=cZFzvAHCZ9ZyqGrlvJc7qbfcstDWs/5KBZPvVr4aeJ4=; b=YzzlI6hPCJeFN6o0a0T0R5B3UwEX7zUC1R3ov+ABfvxwYbkSBPTG7s103hO5E6Lwjc ri10HWMxonguTRkH/A7LOog2np6qu4jMZaBNeXOXdM2IDUg9R2M2BE2Iag6jSY0Tnvnc NxiarOCiJ6YJ687DOODBXqy5YbAYKdEAOz37GqbiqQ4tNMl/3fu948wYT+MPJnNQ/ZrT oSsUWe7gj6Ta2U/zXVl0y95r7DmuX0UieYlgnwUEXXFtRklinWNTp4RimYEpXozE2nFs +ApmOaQbEC8of7df4I0MxX2hgYXcS8jsSMTUsiBLgIOycdtpbF3FHdVSW7a6gcoHInUb Mc5Q== X-Gm-Message-State: ALKqPwe0cRaMHdpNRV/9hP7/cIETlYFZMRao4SihpW4+fILPgX/KNSkS OE1xi3uIvSX+m/pppYtIwfc= X-Google-Smtp-Source: AB8JxZo1xk4EFCa/yNo+mhjaqiAoNWrci9l+Wh5GwHvcjveTv2UPVyiSjFzE2s9NzibUZSsrHqGxeA== X-Received: by 2002:a62:a391:: with SMTP id q17-v6mr8124835pfl.87.1526624262727; Thu, 17 May 2018 23:17:42 -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 g207-v6sm12556422pfb.18.2018.05.17.23.17.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 May 2018 23:17:41 -0700 (PDT) Sender: Mark Johnston Date: Fri, 18 May 2018 02:17:39 -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: <20180518061739.GC5515@raichu> References: 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 06:17:44 -0000 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?