Re: IOPanic ans assert not working ?
Re: IOPanic ans assert not working ?
- Subject: Re: IOPanic ans assert not working ?
- From: "Justin C. Walker" <email@hidden>
- Date: Tue, 5 Feb 2002 14:25:42 -0800
On Tuesday, February 5, 2002, at 09:49 AM, Francis Bouchard wrote:
I had no response from darwin driver list s olet's try here...
I'm at the point in my driver that I want to make sure I get proper
assertions and IOPanic. I tried both in my code and defined MACH_ASSERT
(to
enable assert(false);).
When I load my kernel, it just freeze my computer. No messages, nothing
in
the log no panic... Just a plain system freeze. I also tried IOPanic
with a
string message and it does the same freeze. No message, no stack trace.
Do I
have to do something special to get a message. Debugging is gonna be
hard if
I can't assert!
If I understand you correctly, your computer freezes during boot. Is
that correct? If so, have you tried booting 'verbosely' (CMD-v)?
If not, what do you mean by "when I load my kernel..."?
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | If you're not confused,
| You're not paying attention
*--------------------------------------*-------------------------------*