Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 11:41:22 +0100
From:      Svatopluk Kraus <onwahe@gmail.com>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Saving a core dump on rpi2
Message-ID:  <CAFHCsPVJx1aJ2Co1sS-ZjeAOu9mb=zV9X=Gb0OjX5pnTB4G-Ew@mail.gmail.com>
In-Reply-To: <20151130014225.GA7689@www.zefox.net>
References:  <1534600885.267.1448835461262.JavaMail.jenkins@jenkins-9.freebsd.org> <33148744.271.1448844815583.JavaMail.jenkins@jenkins-9.freebsd.org> <20151130014225.GA7689@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Well, kernel MD bit of the dump is not implemented yet for
ARM_NEW_PMAP. However, it's getting to the top of my TODO list, but I
still have some unfinished things which I want to finish before. I'm
sorry for that.

On Mon, Nov 30, 2015 at 2:42 AM, bob prohaska <fbsd@www.zefox.net> wrote:
> 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
>
>
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFHCsPVJx1aJ2Co1sS-ZjeAOu9mb=zV9X=Gb0OjX5pnTB4G-Ew>