Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Regarding kernel panic in kernel driver



Hi,

I am facing a kernel panic.Tried using gdb to find out
the problem.Followed the steps given in the apple doc
"understanding and debugging kernel panics".I am
unable to find the exact place(function )in which  it
is crashing.Can anyone help me out to know thw place
where it is crashing .I mean the gdb commands?

Regards,
Sanjay

Following is the snippet.
pavan:~ root# gdb
/Volumes/localdisk2/KDK-104.6/mach_kernel 
GNU gdb 6.1-20040303 (Apple version gdb-437) (Sun Dec
25 08:31:29 GMT 2005)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
Public License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show
warranty" for details.
This GDB was configured as "powerpc-apple-darwin"...
(gdb) add-symbol-file
/Volumes/localdisk2/SYMS/com.addvalue.driver.vsp.sym 
add symbol table from file
"/Volumes/localdisk2/SYMS/com.addvalue.driver.vsp.sym"?
(y or n) y
Reading symbols from
/Volumes/localdisk2/SYMS/com.addvalue.driver.vsp.sym...done.
(gdb) set print asm-demangle on
(gdb) x/i 0x000A4638
0xa4638 <mlStatSkip>:   lwz     r2,540(r10)
(gdb) x/i 0x0159001C
0x159001c <mhp.1758+18187888>:  rlwimi 
r25,r27,13,21,17
(gdb) x/i 0x00160134
0x160134 <tcp_slowtimo+132>:    mr      r3,r31
(gdb) x/i 0x0028AE34
0x28ae34 <pfslowtimo+80>:       lwz     r0,3472(r29)
(gdb) x/i 0x0003C744
0x3c744 <_call_thread_continue+284>:    lwz    
r3,76(r26)
(gdb) x/i 0x000A9894
0xa9894 <Call_continuation+20>: mfsprg  r3,1
 




		
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.