NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-sparc/54734 (sparc panics running ATF tests)

The following reply was made to PR port-sparc/54734; it has been noted by GNATS.

From: Kamil Rytarowski <>
To: Martin Husemann <>,
 "" <>
Subject: Re: port-sparc/54734 (sparc panics running ATF tests)
Date: Sat, 25 Jan 2020 18:40:33 +0100

 On 25.01.2020 10:36, Martin Husemann wrote:
 > On Fri, Jan 24, 2020 at 10:05:01PM +0000, Kamil Rytarowski wrote:
 > That change is fine, is it enough to fix that panic?
 It should be everything.
 > Two notes:
 >  - we need the same in sparc64/sparc64/process_machdep.c (not sure why
 >    that didn't show up in test runs so far)
 In theory every alignment sensitive port is endangered.
 In theory just using PTRACE_REG_SET_PC() might not be enough to trigger
 a panic on a certain port.
 >  - in process_write_regs() we should also verify that npc !=3D pc
 >    (or force npc to be pc + 4 if it isn't)
 If there is just triggered a crash signal that kills the child process
 but not the kernel, we could ignore it in the kernel.
 > Martin

Home | Main Index | Thread Index | Old Index