From owner-freebsd-bugs@freebsd.org Fri May 29 02:12:28 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 35E0132C771 for ; Fri, 29 May 2020 02:12:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49Y7PS0lYlz3S7S for ; Fri, 29 May 2020 02:12:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 19B6B32C770; Fri, 29 May 2020 02:12:28 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1980432C76F for ; Fri, 29 May 2020 02:12:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Y7PR738yz3S1T for ; Fri, 29 May 2020 02:12:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ED54110496 for ; Fri, 29 May 2020 02:12:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 04T2CRYK095738 for ; Fri, 29 May 2020 02:12:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04T2CR3J095732 for bugs@FreeBSD.org; Fri, 29 May 2020 02:12:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 237590] powerpc64 PowerMac11,2 and 7,2 context, -r330614 and later (including -r345758): "ofwdump -ap" crashes the system; probable -r330610 "cause" Date: Fri, 29 May 2020 02:12:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2020 02:12:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237590 --- Comment #8 from Mark Millard --- (In reply to Justin Hibbits from comment #7) Quick summary: look at my attachments in . . . https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 I put a fair amount of notes in the code with more details. Those are probably essential. Some of my bugzilla comments have notes about the patches, starting in comment #7 from what I see. If needed I could go through and list the comment numbers tied to the patches. There is a history structure, as I progressed in what I was learning and doing, unfortunately. More overall context: Why the patches are there: I could not boot and use the workarounds indicated for that defect at the time. The patches were from my effort to be able to get enough working to use the workarounds for that other defect, or at least that is how they started. I also tied to make the patches okay to use on all the powerpc hardware I had a chance to boot with FreeBSD. Even the iMac G3 contributed to what worked vs did not work in general, so I avoided bad assumptions by testing in contexts where some assumptions were demonstrated to not always hold. I ended up with more covered than what I started out to try to do. (That is a good thing.) But the patches do not cover the cross-cpu time problem. At the time I used a much more hackish workaround for that issue, not a workaround that I ever submitted anyplace. After getting things working that are covered by the attachments, I then worked on the cross-cpu time problem (again) and produced what I eventually separately put out the review for. Back then I had weeks of dedicated time that I applied to these issues, learning unfamiliar things as I went. It has been a long time since I've dealt with any of the code in any detail but I keep the patches in my environment (head -r360311 currently). The patches in the old defect report were last synchronized to -r346132 from what I see in the comments. If needed I could probably produce svndiff's for a more modern /usr/src snapshot than I currently run. But I'm waiting for the fixes to the powerpc crashes exposed by the jemalloc update before I progress my environments (lacking vm_page_dirty in pmap_protect and whatever for moea64_protect). I do not remember if there were any source files common between these patches and the cross-cpu time material. If there were, I may have to deal with keeping them separate. (My running environment has all the patches applied.) --=20 You are receiving this mail because: You are the assignee for the bug.=