Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Generating kernel crash dumps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generating kernel crash dumps



The nearest I managed is to enable coredumps in /etc/hostconfig - there's a line there that says 'COREDUMPS=-NO-' which can be changed to YES :o)

The core files are dumped into /cores/

Regards,
Jose.


On 2 Jun 2004, at 6:00 am, Gerald Heinig wrote:


Hi everyone,

I'd like to know whether it's possible to generate kernel crash dumps on
panic() that can later be analysed.
What I mean is a process similar to that on FreeBSD or Solaris, where
you set the dump device plus a kernel variable to tell the kernel to
dump on panic and have the system call the savecore utility when it
comes back up.
You then have a vmcore file in the directory of your choice (given as a
parameter to savecore) which you can then debug with gdb -k.

For my purposes, the recommended two-machine debugging utility described
in the Kernel Programming document is very cumbersome. I've read
Technical Note TN 2063 "Understanding and debugging kernel panics" which
is more along the lines of what I want, but is there any way of actually
creating and then analysing a vmcore?

Thanks very much for your help

Cheers,
Gerald
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.