InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 04-03-2009, 06:43 PM
Bettarg Bettarg is offline
Jaguar
 
Join Date: Oct 2008
Posts: 58
Where can i find the Kernel Panic Logs / Vanila Kernel

Hello,

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 ?

Thanks a lot!
Reply With Quote
  #2  
Old 04-03-2009, 08:27 PM
lanceomni's Avatar
lanceomni lanceomni is offline
 
Join Date: Nov 2008
Location: Florida, US
Posts: 521
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.

MOBO: Z77MX-QUO-AOS CPU: Core i7 3770K GPU: MSI N760 TF 2GD5/OC Case: Modded MacPro2,1
Memory: 32GB Corsair Vengeance (CMY32GX3M4A1600C9) Wifi: Airport Extreme bcm94321MCA BIOS: HermitCrab Labs H3A.816M
Monitor: AOC Q2963Pm 29" WFHD 2560x1080 21:9
Interests: KDE on Apple Darwin, Keeping it real with the command line, Helping those that help themselves
Reply With Quote
  #3  
Old 04-03-2009, 09:47 PM
lanceomni's Avatar
lanceomni lanceomni is offline
 
Join Date: Nov 2008
Location: Florida, US
Posts: 521
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:
Code:
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

MOBO: Z77MX-QUO-AOS CPU: Core i7 3770K GPU: MSI N760 TF 2GD5/OC Case: Modded MacPro2,1
Memory: 32GB Corsair Vengeance (CMY32GX3M4A1600C9) Wifi: Airport Extreme bcm94321MCA BIOS: HermitCrab Labs H3A.816M
Monitor: AOC Q2963Pm 29" WFHD 2560x1080 21:9
Interests: KDE on Apple Darwin, Keeping it real with the command line, Helping those that help themselves

Last edited by lanceomni; 04-03-2009 at 10:12 PM.
Reply With Quote
  #4  
Old 04-03-2009, 09:57 PM
Bettarg Bettarg is offline
Jaguar
 
Join Date: Oct 2008
Posts: 58
Ah this is most usefull. Thanks !
Reply With Quote
  #5  
Old 04-03-2009, 10:11 PM
lanceomni's Avatar
lanceomni lanceomni is offline
 
Join Date: Nov 2008
Location: Florida, US
Posts: 521
No problem

MOBO: Z77MX-QUO-AOS CPU: Core i7 3770K GPU: MSI N760 TF 2GD5/OC Case: Modded MacPro2,1
Memory: 32GB Corsair Vengeance (CMY32GX3M4A1600C9) Wifi: Airport Extreme bcm94321MCA BIOS: HermitCrab Labs H3A.816M
Monitor: AOC Q2963Pm 29" WFHD 2560x1080 21:9
Interests: KDE on Apple Darwin, Keeping it real with the command line, Helping those that help themselves
Reply With Quote
  #6  
Old 05-27-2009, 04:24 AM
rcfa rcfa is offline
Cheetah
 
Join Date: May 2009
Posts: 1
See Apple's documentation...

Quote:
Originally Posted by lanceomni View Post
[EDIT] If anyone knows what the difference between 0x144 & 0x100 id surely like to know
http://developer.apple.com/documenta...CH221-CIHIAFFJ
Reply With Quote
  #7  
Old 05-27-2009, 01:09 PM
lanceomni's Avatar
lanceomni lanceomni is offline
 
Join Date: Nov 2008
Location: Florida, US
Posts: 521
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.



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.


MOBO: Z77MX-QUO-AOS CPU: Core i7 3770K GPU: MSI N760 TF 2GD5/OC Case: Modded MacPro2,1
Memory: 32GB Corsair Vengeance (CMY32GX3M4A1600C9) Wifi: Airport Extreme bcm94321MCA BIOS: HermitCrab Labs H3A.816M
Monitor: AOC Q2963Pm 29" WFHD 2560x1080 21:9
Interests: KDE on Apple Darwin, Keeping it real with the command line, Helping those that help themselves
Reply With Quote
Reply