Re: Problem while trying to Debug Kernel Panic with GDB using Two Mac's
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O8xlf2mwt2yF11TvPw33RfmqpGhCSxamlUkZSkARSN3V3kuTYFmHLyeSZMPWSoisU/PxYpDazAJr+lTAFglVgtmXbhn8WWPrjV2QJZugIkCr7DPRPTN8em/ZUhrrwaZI2MsiBGzuRYTNQzPigqAL66IrJVEHDsB6cYmyWIX8gBo= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dsY1eHyzoG2Z4H7+cDCwJ4ctMRhi+gQUGSXi9KjSjSaYenzD++85leKIrqlQG3vFoX7MALQ4jcbGf5iTamuoik0UFyRblc75BA+CN45L/ifQj+Yn2Q+tRHkiSE445zpWoGRBLndgUkXiSENAF/uzPmpOEBuLfOEtSfsobqYhNP0= 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/KEXTC...). 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On 7/5/07, Jani P <johnyatforums@gmail.com> wrote: This email sent to site_archiver@lists.apple.com
participants (1)
-
Justin Ko