Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

From: Mark Millard <marklmi_at_yahoo.com>
Date: Thu, 11 Jun 2020 20:47:06 -0700
[Just a better panic backtrace text copy.]

On 2020-Jun-11, at 20:29, Mark Millard <marklmi at yahoo.com> wrote:

> On 2020-Jun-11, at 19:25, Justin Hibbits <chmeeedalf at gmail.com> wrote:
> 
>> On Thu, 11 Jun 2020 17:30:24 -0700
>> Mark Millard <marklmi_at_yahoo.com> wrote:
>> 
>>> On 2020-Jun-11, at 16:49, Mark Millard <marklmi at yahoo.com> wrote:
>>> 
>>>> On 2020-Jun-11, at 14:42, Justin Hibbits <chmeeedalf at gmail.com>
>>>> wrote:
>>>> . . .
>> 
>> Can you try moving the assignment to 'm' to right below the
>> moea_pte_change() call?
> 
> Panics during boot. svnlite diff shown later.
> 
> That change got me a panic just after the lines about ada0
> and cd0 details. (Unknown what internal stage.) Hand
> translated from a picture of the screen:
> 
> panic: . . .

I forgot that 32-bit powerpc dump does partially work
for PowerMacs (or at least my context). After booting
with a non-debug kernel I've kept around, looking at
/var/crash/vmcore.3 shows:

panic: vm_page_free_prep: mapping flags set in page 0xd032a078
cpuid = 1
time = 1591931757
KDB: stack backtrace:
0xd2dc4340: at kdb_backtrace+0x64
0xd2dc43a0: at vpanic+0x208
0xd2dc4410: at panic+0x64
0xd2dc4450: at vm_page_free_prep+0x348
0xd2dc4470: at vm_page_free_toq+0x3c
0xd2dc4490: at vm_page_free+0x20
0xd2dc44a0: at vm_object_collapse+0x4ac
0xd2dc4510: at vm_object_deallocate+0x430
0xd2dc4550: at vm_map_process_deferred+0xec
0xd2dc4570: at vm_map_remove+0x12c
0xd2dc4590: at exec_new_vmspace+0x20c
0xd2dc45f0: at exec_elf32_imgact+0xa70
0xd2dc46a0: at kern_execve+0x600
0xd2dc4910: at sys_execve+0x84
0xd2dc4970: at trap+0x748
0xd2dc4a10: at powerpc_interrupt+0x178
0xd2dc4a40: user SC trap by 0x100d71f8: srr1=0xf032
            r1=0xffffd810 cr=0x82000280 xer=0 ctr=0x10173810 frame=0xd2dc4a48
KDB: enter: panic

/wrkdirs/usr/ports/devel/gdb/work-py37/gdb-9.1/gdb/inferior.c:283: internal-error: struct inferior *find_inferior_pid(int): Assertion `pid != 0' failed.





===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
Received on Fri Jun 12 2020 - 01:47:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC