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 16:13:59 -0800
On Tuesday, February 5, 2002, at 03:43 PM, Sean McBride wrote:
Justin C. Walker (email@hidden) wrote:
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..."?
He means (I work with him, but he's gone home for the night...) that
IOPanic is not behaving how he expects. We are expecting (maybe
incorrectly) that when one calls IOPanic it will hose the kernel and
spit
out all that lovely text over whatever is on the screen. Itstead when
calling IOPanic the machine just freezes.
"when I load my kernel..." means using kextload on our kernel driver.
(All the Windows people at our company have got us talking like them
now... :( they say 'kernel' when they mean 'kernel driver')
Thanks for clarifying that. It's a good thing Microsoft is continually
reinventing the jargon we all use; otherwise, we'd all get sedentary and
slothful. This is probably better for our long-term mental health than
crossword puzzles. At least they haven't started writing it 'kernal'.
IOPanic is just a wrapper around panic, for the benefit of those who
don't feel comfortable with names that are all lower-case.
Given that, the call, per se, does not 'hose the kernel'; it just stops
processing. It should print the character string you pass it, and then
grind ot a halt. The fact that it doesn't is a bit odd. Maybe you (he)
mentioned this, but I've lost it: is this call in a kext? Is it just
supposed to call IOPanic()?
What version of Mac OS X (if any) are you using? And what version of
the kernel (are you just using whatever came with it)?
Next, can you set up and use the 2-machine debugger environment? If so,
plant a breakpoint on IOPanic() and see if you actually get there.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | Men are from Earth.
| Women are from Earth.
| Deal with it.
*--------------------------------------*-------------------------------*