Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2013 20:51:49 +0300
From:      Alexander <vsityz@gmail.com>
To:        =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= <dumbbell@FreeBSD.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: i915kms.ko not loading
Message-ID:  <521F8A35.3080801@gmail.com>
In-Reply-To: <521F6B41.4030704@FreeBSD.org>
References:  <521E52A6.6040205@gmail.com> <521F1367.8090002@FreeBSD.org> <521F6A52.2060206@gmail.com> <521F6B41.4030704@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
29.08.2013 18:39, Jean-Sébastien Pédron пишет:
> 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.
>>
>> 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.
>

I have swapinfo on zfs partition

swapinfo -h
Device                        512-blocks     Used    Avail Capacity
/dev/zvol/zroot/swap   16777216       0B     8.0G     0%

ls -la /dev/zvol/zroot/swap
crw-r-----  1 root  operator  0x8b 29 авг 23:27 /dev/zvol/zroot/swap

in /etc/rc.conf
dumpdev="AUTO"
dumpon_enable="YES"

in /etc/sysctl.conf
# CoreDump
kern.coredump=1
kern.corefile=/var/coredumps/%U.%N.%P.core
kern.sugid_coredump=1

When system booting, on console
No suitable dump device was found.

During the next boot, coredump not created.  :(




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