On Thursday, August 29, 2013 11:39:45 am Jean-Sébastien Pédron wrote: > On 29.08.2013 17:35, Alexander wrote: > > in sysctl: > > kern.coredump: 1 > > kern.corefile: /var/coredumps/%U.%N.%P.core > > > > but coredump files not created.
These control user process core dumps, not kernel crash dumps. > > How to set for creating core files? > > You must add the following line to your /etc/rc.conf: > dumpdev="AUTO" > > Also add this line to your /etc/sysctl.conf: > debug.debugger_on_panic=0 > > The core dump is written to the swap device when the crash occurs. > During the next boot, it's written to the specified kern.corefile path. This is mostly correct, but the cash dump is written to /var/crash, not the contents of kern.corefile. -- John Baldwin _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"