Subject: Re: hang during autoconfig
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Michael Lorenz <macallan@netbsd.org>
List: port-sgimips
Date: 07/19/2007 12:52:43
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jul 19, 2007, at 12:35, Izumi Tsutsui wrote:

> macallan@NetBSD.org wrote:
>
>> my O2 occasionally hangs right before the 'scsibus*: waiting two
>> seconds...' message, right after 'biomask 0x...' - I tracked it down 
>> to
>> _splnone() in arch/mips/mips/locore.S
>> Now my MIPS-fu is weak but I can't see anything in there that would
>> cause a hang.
>> In case it matters the CPU is a 200MHz R5k with 1MB cache.
>
> Maybe it's a known problem, caused by interrupt storm from mec,
> and powercycle may fix it.
>
> IMO, interrupt dispatchers of sgimips should be rewritten
> to check return values whether interrupts is actually handled
> or not.

Yeah, the interrupt code looks kind of messy.
About power cycling - I can 'fix' the problem by just pushing the reset 
button, usually the machine will boot Just Fine(tm) after that.
But I get a bunch of other problems - apparently register writes 
occasionally don't make it through to the hardware or get mangled on 
the way or something like that. Symptoms are crmfb randomly 
misinitializing the video hardware ( happens in about 1 out of 5 boots 
) and outgoing mec traffic seems to cause a hardware reset sometimes ( 
looks a bit like a watchdog reset but the crime watchdog is supposedly 
disabled ) - I thought these problems might be related. Everything else 
seems to work fine.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRp+W3MpnzkX8Yg2nAQJsqwgArjMM01v4l9YhNwRjt++PiCO4CxfVf9nL
ltkmBiLBA8CvEjd5eN2zbt2rq4lDZr/hNOAFHYrq4wQoxXSnSqcAlmvdhDWz5S7Q
ByMcMB+eEbd3bgSpjnrNmeKSNpTk30h0Jz7JTNIgfPaBvmKmOOkgv3bXwpkMJQae
vp3D0fb75NoXX0OnZXIv0iiKp5Swiuwz6OG1uurtZhXCvdJEXDiOBnBAx6/9gUbK
aFI2ECGQR9/SPgRouwAQ4ivuI8mZeB0+CFnSyShNchxKbZ81zFSzREr9uxNey93j
2kDsX0P+9MAgmbCwdSov/4wAmH2R3yVXU9KIuifbRH1sSsXjDx7ROg==
=S6q3
-----END PGP SIGNATURE-----