Date: Sun, 29 Nov 2015 17:42:25 -0800 From: bob prohaska <fbsd@www.zefox.net> To: freebsd-arm@freebsd.org Subject: Saving a core dump on rpi2 Message-ID: <20151130014225.GA7689@www.zefox.net> In-Reply-To: <33148744.271.1448844815583.JavaMail.jenkins@jenkins-9.freebsd.org> References: <1534600885.267.1448835461262.JavaMail.jenkins@jenkins-9.freebsd.org> <33148744.271.1448844815583.JavaMail.jenkins@jenkins-9.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151130014225.GA7689>