From owner-freebsd-current@FreeBSD.ORG Thu Aug 29 17:52:16 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E10B8649; Thu, 29 Aug 2013 17:52:16 +0000 (UTC) (envelope-from iskander@advancedhosters.com) Received: from int.advancedhosters.com (int.advancedhosters.com [213.174.132.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B60602C67; Thu, 29 Aug 2013 17:52:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=advancedhosters.com; s=mail; h=Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=X1H7V/kkdbi615yZp3TvMDIQzSIAQUpit8TRdATo+cE=; b=DyluyDlQB9J/4rac6fjwM17bWLvXP1v3nWcWD6kXYW1UoBRY0gxY5elFJCj8SJGimmCyo0l6ABpsuofrgT/viIWVVQJ7o/M27OY5MP44tAoP966Izo4n7iB8UWOQTTnTFLAi0vOzDEAL9nG5Trdh+EM+WTxHLpazCnmTgd7jKxM=; Received: from client186-7.emplot.net.ua ([193.110.107.186] helo=iskander.advancedhosters.com) by int.advancedhosters.com with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VF6O9-0004f1-G8; Thu, 29 Aug 2013 17:52:09 +0000 Message-ID: <521F8A35.3080801@gmail.com> Date: Thu, 29 Aug 2013 20:51:49 +0300 From: Alexander User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130827 Thunderbird/17.0.8 MIME-Version: 1.0 To: =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= Subject: Re: i915kms.ko not loading References: <521E52A6.6040205@gmail.com> <521F1367.8090002@FreeBSD.org> <521F6A52.2060206@gmail.com> <521F6B41.4030704@FreeBSD.org> In-Reply-To: <521F6B41.4030704@FreeBSD.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: iskander@advancedhosters.com Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 17:52:16 -0000 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. :(