Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2013 13:06:31 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Alexander <vsityz@gmail.com>, =?iso-8859-15?q?Jean-S=E9bastien?= =?iso-8859-15?q?_P=E9dron?= <dumbbell@freebsd.org>
Subject:   Re: i915kms.ko not loading
Message-ID:  <201308291306.31552.jhb@freebsd.org>
In-Reply-To: <521F6B41.4030704@FreeBSD.org>
References:  <521E52A6.6040205@gmail.com> <521F6A52.2060206@gmail.com> <521F6B41.4030704@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, August 29, 2013 11:39:45 am Jean-S=E9bastien P=E9dron wrote:
> On 29.08.2013 17:35, Alexander wrote:
> > in sysctl:
> > kern.coredump: 1
> > kern.corefile: /var/coredumps/%U.%N.%P.core
> >=20
> > but coredump files not created.

These control user process core dumps, not kernel crash dumps.

> > How to set for creating core files?
>=20
> You must add the following line to your /etc/rc.conf:
> dumpdev=3D"AUTO"
>=20
> Also add this line to your /etc/sysctl.conf:
> debug.debugger_on_panic=3D0
>=20
> 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.

=2D-=20
John Baldwin



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