From owner-freebsd-stable@freebsd.org Tue Aug 11 00:25:39 2015 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 2704899840A for ; Tue, 11 Aug 2015 00:25:39 +0000 (UTC) (envelope-from parv@bitter-almonds.com) Received: from nisba.pair.com (nisba.pair.com [209.68.5.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 05130D37; Tue, 11 Aug 2015 00:25:38 +0000 (UTC) (envelope-from parv@bitter-almonds.com) Received: from [192.168.11.4] (cpe-66-91-233-235.hawaii.res.rr.com [66.91.233.235]) by nisba.pair.com (Postfix) with ESMTPSA id 60E9B114227; Mon, 10 Aug 2015 20:25:30 -0400 (EDT) In-Reply-To: <1438783814.70393.138.camel@freebsd.org> References: <1438783814.70393.138.camel@freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: 8-stable crashing recently in ufsdirhash From: parv Date: Mon, 10 Aug 2015 14:25:08 -1000 To: Ian Lepore CC: freebsd-stable@freebsd.org Message-ID: X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 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, 11 Aug 2015 00:25:39 -0000 On August 5, 2015 4:10:14 AM HST, Ian wrote: >On Tue, 2015-08-04 at 23:54 -1000, parv wrote: >> Please CC me as I cannot properly use my laptop, Thinkpad X200 >(i386). >> >> 8-stable has been crashing a lot since source update of Jul 2015[0]. >>After building debug kernel, kgdb shows lock reversal order & in >>ufsdirhash. File systems (/, var, misc) are all UFS, with var & misc >having soft updates enabled. >> >> Crash had happened just after boot (during mktemp); when I tried to >delete a directory (/misc/obj); when I tried to edit (vi /etc/fstab) so >that / would be mounted readonly. Most recent crash ... >> >> http://imagebin.ca/v/2B50NARvIHs ... >> [0] crash also happened while svn was trying to update source of 8. >>Now "svn log" wants to connect to the remote repo instead of showing >>the current revision. > >When you say you built a debug kernel, does that include option >WITNESS_KDB? Yes; other things wrt "debug kernel" ... options DDB options GDB options KDB options KDB_TRACE #options KDB_UNATTENDED options INVARIANT options INVARIANT_SUPPORT options WITNESS #options WITNESS_KDB options WITNESS_SKIPSPIN > If so, remove that so you can find the real error. Above is the current state (of kernel configuration). >LORs >related to ufs_dirhash have been reported for years, and nobody with >the >appropriate skills seems to be interested in fixing them; they just get >declared to be harmless. Aye. After installing kernel with W*KDB option missing, FreeBSD 8 now runs meaningfully long enough before crash-reboot. Thanks Ian. I will now do binary search which is causing seemingly random crashes. Crashes seem to coincide with network traffic on wlan device (ath). Between Jun 2015 & Jul 23 2015, only changes relevant are apparently related to TCP & openssh. > (IMO the spewage related to this makes >witness >essentially useless.) Is there any point then in keeping even plain WITNESS option? --