Subject: Re: Restartable Atomic Sequences
To: Simon Burge <simonb@wasabisystems.com>
From: Gregory McGarry <g.mcgarry@ieee.org>
List: tech-kern
Date: 07/08/2002 09:13:51
Simon Burge wrote:

> On Fri, Jul 05, 2002 at 09:45:43AM +1200, Gregory McGarry wrote:
> 
> > You can find some patches and tests at:
> > 
> > ftp://ftp.netbsd.org/pub/NetBSD/misc/gmcgarry/ras.diff
> > ftp://ftp.netbsd.org/pub/NetBSD/misc/gmcgarry/locktest.tar.gz
> 
> It looks like those patches are against the nathanw_sa branch, right?

Yeah.

> On either sbmips or pmax I can't get past starting init - both fail
> with:
> 
> 	trap: TLB miss (load or instr. fetch) in kernel mode
> 	status=0x7f03, cause=0x8, epc=0x0, vaddr=0x0
> 	pid=1 cmd=init usp=0x7fffeca0 ksp=0xd2ad9ec8
> 	Stopped in pid 1.1 (init) at             0

Dunno.  The code won't ever set the PC to zero.  You can test whether
the RAS code has been hit by checking the global variable "ras_hits"
with ddb.
 
> I haven't looked too far into the cause of this yet.
> 
> What mips machine(s) and what vintage nathanw_sa branch are you using?

It was pmax with week-old sources.  Does the nathanw_sa branch work
for you otherwise?

	-- Gregory McGarry <g.mcgarry@ieee.org>