From owner-freebsd-arm@freebsd.org Sun Jan 31 14:27:37 2016 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 EBC28A7465E for ; Sun, 31 Jan 2016 14:27:37 +0000 (UTC) (envelope-from tvijlbrief@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (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 87759892 for ; Sun, 31 Jan 2016 14:27:37 +0000 (UTC) (envelope-from tvijlbrief@gmail.com) Received: by mail-wm0-x235.google.com with SMTP id l66so38066991wml.0 for ; Sun, 31 Jan 2016 06:27:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=L3G4ZkFZBsvYgGJJdM/7yCe8rxlGw7cZwuqIoY2qFuk=; b=N37sut8rC1apZGkOaccWqEeLnFtIJqiAS5BF3Qpicyv++xahlkoTLMbD3zt30KVeLA sl3Mpupl4awWBbBUk8bKQSA+nTiIuT87LKevQqQfTuqKIbUuNNwzWYiZek7oYrCmrKcF gMJdcY0Y+lACKGa576zeDjliSvGQgrbf7Ecn40LPXS4OgalDaoS0ruzB5goNgHdpk84Y LSkqK1VqdYInkAdUOBNHd8SXjuVpqsBjMUAr4U2B4lwWEx419o3ynqUCrHugcrOWYDTS ha2TOWvuZsg+s4py60wSaqg9H/165W4IQiG9EtRlwR3yafT5k6cnQhD6xlcq9uS4uQhv Y7ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=L3G4ZkFZBsvYgGJJdM/7yCe8rxlGw7cZwuqIoY2qFuk=; b=IK7nNR0wzsShUrPcPiAnyK0FIi8jNzzwc7cdfeXkVn9Zf3Kzm50kUTU8u0ESJX5va4 RRfzMRdfij+ZtTEVKABXNdeUDQ7cvBSnW4AGkw15Bh6Aqe7pKmkhkaMUfVpfOZMHZHsg zsrowAYAlfIT4BeqETMr18z//aVHi7dHNCKOYEgBqDqfs/gQxmHKC0KS6QMnL39CMhM0 SsTWCtb7Aq4a+IBJGWdO5/5gV6anJDD9Lu6AmgUJQdhJ9ROG4GMoY+CZif2X2FyDIhjO tNcUrDW4TVtOkIHft2Ez48NT5OjqgiLm20LIkZy2XikPGDJQi5aGpbS8Ch/EceSehDX6 0w7Q== X-Gm-Message-State: AG10YOTI92ZqAHvQ2HRPbt2Cvj4zfXDwf+7VE4ThBb6s0XZo7Tj8LxOWh1DreLVrLq/V5SyhaGzb6HHFSXE+ng== X-Received: by 10.194.115.164 with SMTP id jp4mr18229021wjb.26.1454250456049; Sun, 31 Jan 2016 06:27:36 -0800 (PST) MIME-Version: 1.0 References: <20160131012448.GB75928@www.zefox.net> In-Reply-To: <20160131012448.GB75928@www.zefox.net> From: Tom Vijlbrief Date: Sun, 31 Jan 2016 14:27:26 +0000 Message-ID: Subject: Re: Files needed to analyze kernel panic To: bob prohaska , freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Sun, 31 Jan 2016 14:27:38 -0000 Op zo 31 jan. 2016 om 02:27 schreef bob prohaska : > Hi all, > > It's possible to reliably crash an RPI2 running 11-CURRENT using stress2. > In most cases the crash occurs during the syscall tests and then usually > the opening > line is of the form "translation fault L2" [sometimes L1]. > > What information is useful to collect for purposes of debugging by others > off-host? > So far I'm aware of backtrace, kernel and modules, vmcore, core.txt and > recently > kernel.debug (three places). One update/build/test/crash cycle per day is > possible. > > I can indeed reproduce the crash on my RPI2 without too much trouble with just the syscall tests. Steps to reproduce: download http://people.freebsd.org/~pho/stress/src/stress2.tgz and extract it. do a "make -i" do build the binary tests. Create a scall.cfg file with the following contents: ################ . ./default.cfg export RUNTIME=15s export TESTPROGS="testcases/syscall/syscall" export syscallKILL=1 export syscallNODELAY=1 export syscallLOAD=100 ################ run: ./run.sh scall.cfg and it will crash after 5 to 15 minutes with a translation fault panic.