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 BaldwinReceived on Thu Aug 29 2013 - 15:46:18 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:40 UTC