Re: How to debug kernel panic in boot
You can also get (non-synch) log output if your boot verbosely. sudo nvram boot-args=-'-v debug=0x146' This will set your system to boot verbosely and you can get system log messages directly on the screen. Godfrey At 9:10 -0400 02-7-26, Francis bouchard wrote: There are two different methods depending if your running 10.1.x or 10.2(prerelease) In both cases you will have to generate your symbols as "relocatable". 10.1.x kmodsyms or 10.2: kextload. Then you have to load(in the debugger) your symbol at the specific address you see in the panic. See in the Darwin dev list for a subject: How to read a backtrace/kernel panic It will give you a pretty good start. If your kext is not required at boot, you can load it manually after boot to see if your crash is a boot-time problem. Hope to help Francis On 26/07/02 08:17, "Tsuyoshi Tanaka" <tanaka@pixela.co.jp> wrote: Hello, When I put the original kernel extension in /System/Library/Extensions/, I 'm faced with the problem that Kernel panic happens in boot time. So, I 'd like to debug boot, but in the case of boot, I don't know how to create the symbol file for remote debug. And, in the case of Kernel panic, I can't get the system.log.
Does the method of debugging kernel panic in boot exist ?
darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Godfrey van der Linden