Panic.log -- when is it updated?

Discussion in 'macOS' started by IJ Reilly, Jan 23, 2007.

  1. IJ Reilly macrumors P6

    IJ Reilly

    Joined:
    Jul 16, 2002
    Location:
    Palookaville
    #1
    This afternoon, my 12" PowerBook kernel panicked for the first time in over three years, so naturally I was interested to know the cause. After running fsck in Single User Mode and rebooting, I opened panic.log and found only references to the last series of kernel panics I'd experienced on this Mac, in late 2003, when I was having problems with RAM. To my surprise, I found no reference to today's panic in the log.

    Is this unusual? Shouldn't the panic.log record all kernel panics?

    Thanks!
     
  2. WildCowboy Administrator/Editor

    WildCowboy

    Staff Member

    Joined:
    Jan 20, 2005
    #2
    My understanding is that the KP data gets stored in NVRAM and then is written to panic.log upon reboot. But the single-user mode/fsck routine prevents this from being written to the log.
     
  3. IJ Reilly thread starter macrumors P6

    IJ Reilly

    Joined:
    Jul 16, 2002
    Location:
    Palookaville
    #3
    Interesting! My first instinct after any kind of improper shut down is to look for disk damage in Single User Mode. Not such a good idea, perhaps?
     
  4. WildCowboy Administrator/Editor

    WildCowboy

    Staff Member

    Joined:
    Jan 20, 2005
    #4
    You may still be able to pull out the info by looking at the contents of NVRAM.

    Linkety
     
  5. IJ Reilly thread starter macrumors P6

    IJ Reilly

    Joined:
    Jul 16, 2002
    Location:
    Palookaville
    #5
    I didn't find anything that looked like panic.log data in nvram, but it's a nice tip anyway. :)
     

Share This Page