NetBSD-Bugs archive

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

Re: port-atari/39965: "lock error" panic on install with Atari TT030



On Sun, Nov 30, 2008 at 09:12:13PM -0800, David Ross wrote:
> c)  Same as b) but with BOOTX kernel.  No networking set up.
> Result: mostly the same as b)...  Different panic but consistent with the 
> "lock error" panic in terms of when it occurred.
>
> Screenshots:
> http://i33.tinypic.com/2enx6zb.jpg
> http://i37.tinypic.com/okwraw.jpg
> http://i37.tinypic.com/281vpyg.jpg

Ok, I think I've found the problem.

biodone() relies on cpu_intr_p() to determine whether to shunt to a
softint or plow straight ahead.

The atari cpu_intr_p() tests the "idepth" variable managed by
intr_dispatch() in atari/atari/intr.c. However, several of the
interrupts, including the 5380 one, are hardwired and don't go
anywhere near intr_dispatch().

One then ends up in biodone2() in an interrupt handler, which is not
supposed to happen, and everything goes downhill from there.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index