Subject: Re: System hangs after BIOSCALL
To: Brian Clough <>
From: Frank van der Linden <>
List: tech-kern
Date: 10/16/2001 17:33:15
On Tue, Oct 16, 2001 at 11:31:30AM -0400, Brian Clough wrote:
> Actually, after the call, the system continues for a short time then stops dead,
> no error messages or anything.  I can output characters to the console so that's
> how I know it's returning after the set mode call.  I do the actual BIOSCALL
> inside an IOCTL in the video driver, then call the driver from an app.  I get back
> to the app, but when I do get back I don't have long to live.
> I've got an ICE connected to the system, and I can see where execution is hitting
> a HLT, but how can I find the corresponding location in the source code?

The hlt is likely the idle CPU loop.. which means that you might not
be getting any interrupts anymore at that point.

Can you check if the call in question perhaps disables interrupts and
not enables them again?

- Frank

Frank van der Linden                 
Quality NetBSD CDs, Support & Service.