Subject: Re: Recent macppc kernels hang under load
To: Ian Fry <Ian.Fry@sophos.com>
From: Matt Thomas <matt@3am-software.com>
List: port-macppc
Date: 10/17/2003 23:54:47
On Wednesday, October 15, 2003, at 01:37 AM, Ian Fry wrote:
>
> I finally managed to reproduce this without X running (by using 
> window(1)
> from the console and doing a Mozilla build in one sub-window, and a 
> kernel
> build in the other). What's more, it's reproducable with a
> DIAGNOSTIC/DEBUG enabled kernel, and I got a panic last night - here 
> are
> the details (copied by hand, unfortunately, as the machine wedged after
> printing the backtrace):
>
> diagnostic assert "pcb->pcb_kmapsr == 0" failed
> .../sys/arch/powerpc/powerpc/trap.c" line 490
>
> Traceback:
> 0xd59addb0: at __assert+28
> 0xd59addc0: at copyout+134
> 0xd59ade50: at sys___fstat13+d4
> 0xd59adee0: at syscall_plain+e0
> 0xd59adf40: user SC trap #279 by 0x41c3db20: srrl=0xd032
>    rl=0xffffdc80 cr=0x44000048 xer=0 ctr=0x41c3db18

The changes to locore_subr.S I did today might fix that panic.
Could you please try them?  (I also added another KASSERT() to
trap.c as well).
-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this 
message.