From owner-freebsd-arm@freebsd.org Mon Nov 30 02:11:31 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43A17A339A6 for ; Mon, 30 Nov 2015 02:11:31 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 189CB1E85 for ; Mon, 30 Nov 2015 02:11:30 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.14.9/8.14.5) with ESMTP id tAU1gQfJ012727; Sun, 29 Nov 2015 17:42:26 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.14.9/8.14.5/Submit) id tAU1gQJC012726; Sun, 29 Nov 2015 17:42:26 -0800 (PST) (envelope-from fbsd) Date: Sun, 29 Nov 2015 17:42:25 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Saving a core dump on rpi2 Message-ID: <20151130014225.GA7689@www.zefox.net> References: <1534600885.267.1448835461262.JavaMail.jenkins@jenkins-9.freebsd.org> <33148744.271.1448844815583.JavaMail.jenkins@jenkins-9.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33148744.271.1448844815583.JavaMail.jenkins@jenkins-9.freebsd.org> User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2015 02:11:31 -0000 Hi all, Since Peter Holm's stress2 suite seems to very reliably crash an rpi2 running -CURRENT it seemed worthwhile to try collecting a core dump in the hope it might shed some light visible to others (certainly not me!) on the cause. The intent is to add it to the collection at www.zefox.net/~fbsd/rpi2/crashes. For some reason crash dumps aren't being recovered..... /etc/defaults/rc.conf contains: dumpdev="AUTO" # Device to crashdump to (device name, AUTO, or NO). dumpdir="/var/crash" # Directory where crash dumps are to be stored savecore_flags="-m 10" # Used if dumpdev is enabled above, and present. # By default, only the 10 most recent kernel dumps # are saved. crashinfo_enable="YES" # Automatically generate crash dump summary. crashinfo_program="/usr/sbin/crashinfo" # Script to generate crash dump summary. There are no overriding directives in /etc/rc.conf, but the only thing found in /var/crash is: root@www:/usr/src # ls -l /var/crash total 4 -rw-r--r-- 1 root wheel 5 Jun 11 08:27 minfree root@www:/usr/src # more /var/crash/minfree 2048 Permissions on /var/crash are: drwxr-x--- 2 root wheel 512 Jun 11 08:27 crash which seem acceptable if a little insecure. There is a physical swap partition in /etc/fstab, thus: /dev/da0p2 none swap sw 0 0 with a size of 8388648 6291456 2 freebsd-swap (3.0G) It looks as if all the pieces are in place, but core dumps aren't being recovered....what am I doing wrong? Thanks for reading, bob prohaska