Re: Detecting Kernel Panics
Re: Detecting Kernel Panics
- Subject: Re: Detecting Kernel Panics
- From: Peter Lovell <email@hidden>
- Date: Thu, 6 Sep 2007 06:29:45 -0400
It's been a long while since I looked at this, but the stuff is
written into nvram as part of processing the panic(). It is most
definitely not written to disk (very dangerous). Even writing to
nvram doesn't always work but it's the best shot. Getting the details
is handled fairly early in the boot code but offhand I don't remember
where.
Cheers.....Peter
On Sep 5, 2007, at 12:07 AM, Matt Burnett wrote:
Yes im trying to catch them after the reboot.
On Sep 4, 2007, at 11:03 PM, William Kucharski wrote:
Matt Burnett wrote:
How do you detect a kernel panic has occured after the fact?
Ideally from kernel space, but a user space solution would be
acceptable as well. I am looking for a method similar to how
Finder presents the 'Report This Bug To Apple'. Thanks.
I assume you mean after the user has rebooted the system?
You're not going to be able to catch the system on the way down
unless you're registered as a kernel debugger, and even if you did
the system is in an unstable state or panic() wouldn't have been
called in the first place.
What are you trying to do?
William Kucharski
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden