Subject: Re: Hanging
To: Jonathan Hunt <csuwg@csv.warwick.ac.uk>
From: Mark Brinicombe <amb@physig.ph.kcl.ac.uk>
List: port-arm32
Date: 01/29/1997 01:43:46
On Tue, 28 Jan 1997, Jonathan Hunt wrote:
> I've noticed that now my machine sometimes locks up on a halt.
> After you've pressed control-D and it says running shutdown hooks
> 5 . . 4 . . 3 . . 2 . . 1 . . it then stops instead of rebooting
> the machine. I'm using a SA kernel but NOT one of the new RapIDE
> ones. (It's the latest one BEFORE the RapIDE introduction -
> not sure of the number atm)
>
> Anyone else had this problem/know what causes it?
Yep appears to be an interrupt problem when restarting RISCOS. This has
been around for a while but does not always occur on reboot.
The problems appears to be that interrupts can be asserted after the halt
and after interrupts have bene disabled in preparation for reboot. At this
point the IRQ's are disabled in the IOMD but a podule for example may have
an interrupt asserted.
What appears to happen is that RiscOS starts, turns on interrupts and
suddenly finds interrupts occuring from hardware not yet known/probed.
The solution I think is that the kernel shutdown must makesure that all
controllers on podules etc. disable the interrupts at a card level rather
than just in the IOMD.
Cheers,
Mark