From owner-freebsd-stable@freebsd.org Tue Apr 18 12:22:19 2017 Return-Path: Delivered-To: freebsd-stable@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 A610CD42C6C; Tue, 18 Apr 2017 12:22:19 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 41467C22; Tue, 18 Apr 2017 12:22:18 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v3IC5gG7060669 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Apr 2017 14:05:43 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: tech-lists@zyxst.net Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id v3IC5Ypb098055; Tue, 18 Apr 2017 19:05:34 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: 10.3-stable random server reboots - finding the reason To: tech-lists , freebsd-stable@freebsd.org References: Cc: freebsd-questions@freebsd.org From: Eugene Grosbein Message-ID: <58F6010E.6090301@grosbein.net> Date: Tue, 18 Apr 2017 19:05:34 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=3.6 required=5.0 tests=BAYES_00, DATE_IN_FUTURE_96_Q, LOCAL_FROM autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * 3.3 DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: date * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-Spam-Level: *** X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Apr 2017 12:22:19 -0000 On 18.04.2017 18:59, tech-lists wrote: > Hello stable@ > > I have an up-to-date 10.3 server that is randomly rebooting, after being > up for days. Previously it had been up for many months. The problem is, > nothing seems to be left in the logs to indicate why it's doing this. I > have all.log and console.log enabled. > > So, what I'm asking is, how can I capture its last gasp? Start with reading the Handbook on kernel debugging procedure. You will need to enable crashdump generation and perhaps rebuild kernel with debugging options enabled (INVARIANTS, WITNESS etc.)