Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2020 02:12:27 +0000
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"
Message-ID:  <bug-237590-227-CBmOIAeb4a@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237590-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237590-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237590

--- Comment #8 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237590-227-CBmOIAeb4a>