Re: Problem while trying to Debug Kernel Panic with GDB using Two Mac's
Re: Problem while trying to Debug Kernel Panic with GDB using Two Mac's
- Subject: Re: Problem while trying to Debug Kernel Panic with GDB using Two Mac's
- From: "Justin Ko" <email@hidden>
- Date: Thu, 5 Jul 2007 23:28:27 -0700
On 7/5/07, Jani P <email@hidden> wrote:
Hi ALL,
I've a kernel extensions which does some vnode operations ,
which is crashing in the middle . So googled it and found a nice
article on debugging kext @ apple developer site
(http://developer.apple.com/documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptDebugger/hello_debugger.html#//apple_ref/doc/uid/20002367-CHDIHFDI).
I've setup the two mac machines and facing an issue whil
following the step --
On Target Machine, Break into Kernel Debugging Mode.
I've tried to press the Power button for 3 secs and tried various
alternatives specified, even then my Target Machine is not breaking
into Kernel Debug Mode.
Are you sure you set the boot-args correctly? It only takes a
momentary touch of the power button to get the machine into debug
mode.
If "nvram -p | grep boot-args" doesn't show it, then it wasn't set.
The command you want is:
sudo nvram boot-args="debug=0x144 -v"
This will also enable verbose mode when you boot. If you're building
a kext you probably want verbose mode enabled.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden