From owner-freebsd-arm@freebsd.org Mon Nov 30 10:41:23 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 82ED3A2406F for ; Mon, 30 Nov 2015 10:41:23 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FC3D19A2 for ; Mon, 30 Nov 2015 10:41:23 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: by iofh3 with SMTP id h3so169513984iof.3 for ; Mon, 30 Nov 2015 02:41:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DJs7tm6eh8C086fN8Extteu6tWkmrQc9/rm7BSWRiJQ=; b=kg8183573Xra8hKT3UEy0fzJ5YY3Nn964KOMCPJ6s6KHwbeiEMdSQzfvYzMQbywC3L L6MgJBZ05xG9S0U+rxui0fr+ButrOxhUZxDdhaygKjCmmFWOtMx4aJ/3BhVbabHIm3lR ufm4Ev/KCyMRJKiQWn++9FcDmhbit5EPtggukA/TgdkzIeiXzQ6lvLgjrnr87NW3YHc3 sy0x3sORSKlV/Ys/OBwcEsw+5JcRcv1s0YHfrO6x/5lu13y6qNhy9mgv7o45WHGsQLEs W1NizXrY3JRU7rXE1QVkCQjVIOVYuSvGW05iEhmiSEDYMw/wwcuJTONmUO/odhmO8wQs 8A0w== MIME-Version: 1.0 X-Received: by 10.107.11.166 with SMTP id 38mr58450726iol.186.1448880082684; Mon, 30 Nov 2015 02:41:22 -0800 (PST) Received: by 10.64.130.38 with HTTP; Mon, 30 Nov 2015 02:41:22 -0800 (PST) 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> Date: Mon, 30 Nov 2015 11:41:22 +0100 Message-ID: Subject: Re: Saving a core dump on rpi2 From: Svatopluk Kraus To: bob prohaska Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 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 10:41:23 -0000 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 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"