Mac OS X on x86 Hardware 2008–2024 Technical Archive
InfiniteMac OSx86 › OSx86 Core & 10.X › Where can i find the Kernel Panic Logs / Vanila Kernel
4,385 reads · 2009-04-03 – 2009-05-27
Note 10.X Core Voodoo / XNU Kernel

Where can i find the Kernel Panic Logs / Vanila Kernel

i have a few Kernelpancis here and there, but the Vanila Kernel does not show his Debug Infos as Voodoo does. Appel says Logs should store at /Lib/Logs/Paniclog but there is no Dir like this. Where does Apple store the log files about a…

Primary Author
@Bettarg Published 2009-04-03
Collection
OSx86 Core & 10.X
Archival Footprint
4,385 historical reads · 4 curated field notes (from 7 dispatches) · 2009-04-03 – 2009-05-27
Credited Voices (3)
@lanceomni (4)@Bettarg (2)@rcfa

i have a few Kernelpancis here and there, but the Vanila Kernel does not show his Debug Infos as Voodoo does.
Appel says Logs should store at /Lib/Logs/Paniclog but there is no Dir like this.

Where does Apple store the log files about a panic ?

Synthesized Community Field Notes

4 technical responses curated from 7 original dispatches

Field Note #1 @lanceomni 2009-04-03

Try /Library/Logs/panic.log or open Console click logs and find /Library/Logs/panic.log

I am currently on my Tiger machine but i am fairly certain it is stored in the same place on Leopard.

Field Note #2 @lanceomni 2009-04-03

Now that I think about it I believe that versions somewhere around 10.5.3 and later display a screen telling you to reboot your computer. I also believe that KPs are stored in the mac's NVRAM or PRAM and then added to the log file on the next boot. Im not certain but I dont think there is an equivalent for us hack users.

You may be able to force the Vanilla Kernel to display the KP at the time it occurred, like with Voodoo, by using this flag on startup:

debug=0x144

If this works out for you then you can add it to your com.apple.boot.plist so that it is used on every boot.

[EDIT] If anyone knows what the difference between 0x144 & 0x100 id surely like to know

Field Note #3 @rcfa 2009-05-27 ↳ Re: @lanceomni

See Apple's documentation...

@lanceomni[EDIT] If anyone knows what the difference between 0x144 & 0x100 id surely like to know

developer.apple.com/documentation/Darwin/Conceptual/KernelProgramming/build/build.html#//apple_ref/doc/uid/TP30000905-CH221-CIHIAFFJ

Field Note #4 @lanceomni 2009-05-27

Thanks for the link

So it would seem that the following would be true as 0x144 looks like a combination of several.

0xABC
0x144

0x04 DB_NMI
Drop into debugger on NMI (Command–Power, Command-Option-Control-Shift-Escape, or interrupt switch).

0x40 DB_ARP
Allow debugger to ARP and route (allows debugging across routers and removes the need for a permanent ARP entry, but is a potential security hole)—not available in all kernels.

0x100 DB_LOG_PI_SCRN
Disable graphical panic dialog.

Corroborated & Participated: @lanceomni
Sources & Contributor Provenance (3 credited usernames · Thread #2507)
UsernameDossier ContributionDispatchesActive Window
@lanceomniCore Contributor42009-04-03 → 2009-05-27
@BettargPrimary Author22009-04-03
@rcfaContributor12009-05-27