Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Sep 2015 20:40:43 +0200
From:      Niklaas Baudet von Gersdorff <niklaas@kulturflatrate.net>
To:        Kozlov Sergey <kozlov.sergey.404@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Jail causes host to reboot
Message-ID:  <55EF2BAB.3030202@kulturflatrate.net>
In-Reply-To: <55EF2A12.1080405@kulturflatrate.net>
References:  <55E6E26A.1040706@kulturflatrate.net> <CA%2BtpaK1UVW5in1JUfoKwZuO=_ACTHx_xCPy0zWO1_NL1s9Wzmw@mail.gmail.com> <55E704D4.2050607@kulturflatrate.net> <CA%2BtpaK0Yh3KEcOtTXx0Aco1dGiGWCw=t0LYOnGVyrMo33BLzMw@mail.gmail.com> <55E74EC9.1060803@gmail.com> <55EDCACC.5080101@kulturflatrate.net> <55EF24B9.3070202@gmail.com> <55EF2A12.1080405@kulturflatrate.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Answering my own question:

On 08/09/15 20:33, Niklaas Baudet von Gersdorff wrote:
> $ ls -la /var/crash
> total 4
> drwxr-x---   2 root  wheel   3 Jul 11  2014 .
> drwxr-xr-x  24 root  wheel  24 Sep  2 12:23 ..
> -rw-r--r--   1 root  wheel   5 Jan 16  2014 minfree
> 
> $ cat /var/crash/minfree
> 2048
> 
> Does this mean that it wasn't a kernel panic at all? Or isn't there
> something worth noticing because I don't have dumpdev configured?

As rc.conf(5) says

>      dumpdev	 (str) Indicates the device (usually a swap partition) to
> 		 which a crash dump should be written in the event of a	system
> 		 crash.	 If the	value of this variable is ``AUTO'', the	first
> 		 suitable swap device listed in	/etc/fstab will	be used	as
> 		 dump device.  Otherwise, the value of this variable is	passed
> 		 as the	argument to dumpon(8).	To disable crash dumps,	set
> 		 this variable to ``NO''.
> 
>      dumpdir	 (str) When the	system reboots after a crash and a crash dump
> 		 is found on the device	specified by the dumpdev variable,
> 		 savecore(8) will save that crash dump and a copy of the ker-
> 		 nel to	the directory specified	by the dumpdir variable.  The
> 		 default value is /var/crash.  Set to ``NO'' to	not run
> 		 savecore(8) at	boot time when dumpdir is set.

So there's nothing because I haven't configured dumpdev yet.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55EF2BAB.3030202>