From owner-freebsd-arch@freebsd.org Fri May 18 13:14:58 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 0D155EF4C3B for ; Fri, 18 May 2018 13:14:58 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic311-21.consmr.mail.gq1.yahoo.com (sonic311-21.consmr.mail.gq1.yahoo.com [98.137.65.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6A9C775372 for ; Fri, 18 May 2018 13:14:56 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: IZDxD5MVM1kEqN7oRScH8dHlbWym4Or4dg6eRlIMX98ui6r35nefzBlwv4b4XoV OdDij4y7ZQBV5emzFLimWb1aqRl9h4LM.5GfEqUbqGwIOFIkEG8M5wW3l0CKRqGf3KLwFqUbZGRE jJpA68IJl1gkceWp.MjhN5fMNCFYNI1mZFebaO.lxDgY7W9O0GbXmAETHVBCO5y.hlaUOKQsKbSt 9BGthI_vg5TBpaQE.G2MfBAOuaPlVYqyUHEG5rKN12wyhkjwTU74XOm6FYNDC_hk5Nfu2nAqvfY2 9NOs8QSLE1v6_LDKKzocVXCEj9jtwizCBL5zhpjfG77cx1iWuHX.xZ6AhQgcvt8RyYoHjFT_aN6K vXzU301rwNjRz0BZM5Oh0n8bXJl_svaQvG9rLcinCqplJUfx2xCZdwA6a8w0ag2UXPhd7cKoV1Hz 19H0XK1_Bo5zbbPz_FfrL3hqnCvqNPZNhHBX2w8PYpsuataBHGb70IKNtJTWqZhoLPv4jSWWMq5J cSOx8lcoE9hZxzXz7iANxyOGlXgqpXkQflJ5ixheV7Va2UR4ZQOv_Pht.n6I1nBYSioAkwamifpi XK1o4XUHo1SKIwZ24HC5R.X.r_.TESWOXGvZnZtVCWBeLwn2kcvdls5CC9cxMHp4DYM7SJevy4vX 0kWtlrC89 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Fri, 18 May 2018 13:14:55 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp422.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3842a887bad1402a8d7eac6d60f0749f; Fri, 18 May 2018 13:14:51 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: enabling kernel dump options in GENERIC From: Mark Millard In-Reply-To: <20180518061739.GC5515@raichu> Date: Fri, 18 May 2018 06:14:50 -0700 Cc: freebsd-arch@freebsd.org, FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: References: <20180518061739.GC5515@raichu> To: Mark Johnston X-Mailer: Apple Mail (2.3445.6.18) 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 13:14:58 -0000 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 : >>=20 >>> 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. >>>=20 >>> . . . >>> 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. >>> . . . >>=20 >> Bugzilla 214598 (from late 2016) was about >> dump for TARGET_ARCH=3Dpowerpc64 builds getting >> failures like: >>=20 >> 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 >>=20 >> (A 32-bit powerpc build on the same machine worked >> fine for dumping.) >>=20 >> 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.) >=20 > 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. Also: in about a week I'll lose access to the PowerMacs for an unknown period of time (weeks? months?). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)