Re: Questions about debugging kernel panics
Re: Questions about debugging kernel panics
- Subject: Re: Questions about debugging kernel panics
- From: James Reynolds <email@hidden>
- Date: Tue, 17 Jan 2006 14:37:55 -0700
Hi James,
On Jan 17, 2006, at 12:21 PM, James Reynolds wrote:
I have several questions on debugging kernel panics.
You may find Technical Note TN2063 "Understanding and Debugging
Kernel Panics" to be helpful:
<<http://developer.apple.com/technotes/tn2002/tn2063.html>http://developer.apple.com/technotes/tn2002/tn2063.html>.
The technote hasn't yet been updated to reflect the Intel-based
Macs, but the overall approach is still the same.
HTH,
--gc
So it has been a few months since I read that. Rereading it after
having read a lot of other stuf helps a little more. But in reality,
it raises more questions and answers only the one I had about what PC
means.
But only slightly, as I'm still not sure exactly what it means, but I
think I have found another bug. In examining 4 different machine
panic logs within the last month, they are very similar. Anyway,
2 machines have a near exact logs. The DAR value, R1 value, and
Exception states (sv) are the only things different, but the PC and
backtraces are the same:
Thu Dec 15 20:03:23 2005
Unresolved kernel trap(cpu 0): 0x600 - Alignment
DAR=0x0000000001BCBEAE PC=0x00000000000A4F20
Latest crash info for cpu 0:
Exception state (sv=0x23E24500)
PC=0x000A4F20; MSR=0x00009030; DAR=0x01BCBEAE;
DSISR=0x0A000000; LR=0x000750C0; R1=0x0CF13D00; XCP=0x00000018 (0x600
- Alignment)
Backtrace:
0x0002A138 0x00037960 0x00265D14 0x00265F50 0x00265E30 0x002A8494
0x000ABBB0 0xFFFFFFFF
backtrace terminated - frame not mapped or invalid: 0xBFFFF210
Proceeding back via exception chain:
Exception state (sv=0x23E24500)
previously dumped as "Latest" state. skipping...
Exception state (sv=0x3C1AE500)
PC=0x90031624; MSR=0x0200F030; DAR=0x0031A044;
DSISR=0x0A000000; LR=0x90031618; R1=0xBFFFF210; XCP=0x00000030 (0xC00
- System call)
Kernel version:
Darwin Kernel Version 8.3.0: Fri Nov 4 15:42:57 PST 2005;
root:xnu-792.6.22.obj/RELEASE_PPC
panic(cpu 0 caller 0xFFFF0006): 0x600 - Alignment
Latest stack backtrace for cpu 0:
Backtrace:
0x000955C8 0x00095AE0 0x0002683C 0x000A8084 0x000ABA00
Proceeding back via exception chain:
Exception state (sv=0x23E24500)
PC=0x000A4F20; MSR=0x00009030; DAR=0x01BCBEAE;
DSISR=0x0A000000; LR=0x000750C0; R1=0x0CF13D00; XCP=0x00000018 (0x600
- Alignment)
Backtrace:
0x0002A138 0x00037960 0x00265D14 0x00265F50 0x00265E30 0x002A8494
0x000ABBB0 0xFFFFFFFF
backtrace terminated - frame not mapped or invalid: 0xBFFFF210
Exception state (sv=0x3C1AE500)
PC=0x90031624; MSR=0x0200F030; DAR=0x0031A044;
DSISR=0x0A000000; LR=0x90031618; R1=0xBFFFF210; XCP=0x00000030 (0xC00
- System call)
Kernel version:
Darwin Kernel Version 8.3.0: Fri Nov 4 15:42:57 PST 2005;
root:xnu-792.6.22.obj/RELEASE_PPC
*********
I have another 2 panic logs from different machines that have
different backtraces, but are similar to the first pair in that
everything else is the same except the DAR value, R1 value, and
Exception states (sv).
James
_______________________________________________
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