From owner-freebsd-stable@freebsd.org Mon Jan 2 12:36:36 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 50353C9A9A1 for ; Mon, 2 Jan 2017 12:36:36 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (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 CB771180C for ; Mon, 2 Jan 2017 12:36:35 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-wm0-x241.google.com with SMTP id c85so43641477wmi.1 for ; Mon, 02 Jan 2017 04:36:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=liHduDiYvVV/z0FvKFEW0iqAs5pwGGoDnyWKGZrFStU=; b=lVfeMS/wj4xwfxakbRwFhlnEfgH16LaXm+9bYwBx8Ech17UYTRzZ1dTL+xe6wAGUxx vKLsrZpbvHsMx0qpMRsQbYyW/3BW34xZ/tYH9UCJGsr7BQ7Ky8DKUl0MVrHuQuY/7VPa qroHAE+FtcqJOT1aa9480Igi85FWTakgEbJID6cHoBipqdxGWNvQnULC/8gzcRSKwegm /fA6iTGsuqoDjqnRik0/KRhJaMaYVv3M0TEKu4mqDRyo+ddTThjim3mQoY1YEiV89n3D walqNN+hy8KatliS+KTU5a8eB5j/IEIBCetmcEdTFnZe44PZPNiCp0cP9MlrETHnJu+S gSEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=liHduDiYvVV/z0FvKFEW0iqAs5pwGGoDnyWKGZrFStU=; b=L6CyaA2uMhE9zl3WTJ8TP4EcncZ8YbDFhIybVbsxxaWeGNmqQ4r1gN9g1uonSWdiHC USUnlhcwsTCozh4FHi7fJiYrxvGUSl1rogmQgQEA+WxaYgxe9R6E4uuH1ARkS0/XxfrJ GQigf10w/5OVwoNGvRbCaGPHJL7TQ2xoCkl66fpF5nrrnaiXsAdGPzZGtyrULamxRLj3 zvDgbAONxMNyWvYlu5fm3QVnUK9VDzZBtbtS48/eEsgDimBzhcPa0Hp83RKIcZ2tILPP IHu9yrS16xUMCqWAg8fX+WmSTwmb5IPU1iZItE2qKR2spyVGFHZ5vQRbmI5CpeTjuQWl yrXg== X-Gm-Message-State: AIkVDXKQu/pJvbqSjVwLQq+ZrfKaguNXhRXggojnmaA6ZLlC+gBluWy9WQMvpgZNCvW5wg== X-Received: by 10.28.12.84 with SMTP id 81mr51325856wmm.51.1483360594087; Mon, 02 Jan 2017 04:36:34 -0800 (PST) Received: from dft-labs.eu (n1x0n-1-pt.tunnel.tserv5.lon1.ipv6.he.net. [2001:470:1f08:1f7::2]) by smtp.gmail.com with ESMTPSA id ei2sm87635706wjd.47.2017.01.02.04.36.33 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 02 Jan 2017 04:36:33 -0800 (PST) Date: Mon, 2 Jan 2017 13:36:31 +0100 From: Mateusz Guzik To: Aryeh Friedman Cc: FreeBSD Stable List Subject: Re: make kernel ctfmerge freeze on 11-STABLE Message-ID: <20170102123630.GA6912@dft-labs.eu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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: Mon, 02 Jan 2017 12:36:36 -0000 On Mon, Jan 02, 2017 at 06:57:48AM -0500, Aryeh Friedman wrote: > FreeBSD lilith 11.0-STABLE FreeBSD 11.0-STABLE #7 r311003: Sun Jan 1 > 02:45:34 EST 2017 root@lilith:/usr/obj/usr/src/sys/GENERIC amd64 > > > -------------------------------------------------------------- > >>> stage 3.1: building everything > -------------------------------------------------------------- > cd /usr/obj/usr/src/sys/GENERIC; COMPILER_VERSION=30901 > COMPILER_TYPE=clang COMPILER_FREEBSD_VERSION=1100503 > MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= > GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac CC="cc -target > x86_64-unknown-freebsd11.0 --sysroot=/usr/obj/usr/src/tmp > -B/usr/obj/usr/src/tmp/usr/bin" CXX="c++ -target > x86_64-unknown-freebsd11.0 --sysroot=/usr/obj/usr/src/tmp > -B/usr/obj/usr/src/tmp/usr/bin" CPP="cpp -target > x86_64-unknown-freebsd11.0 --sysroot=/usr/obj/usr/src/tmp > -B/usr/obj/usr/src/tmp/usr/bin" AS="as" AR="ar" LD="ld" NM=nm > OBJDUMP=objdump OBJCOPY="objcopy" RANLIB=ranlib STRINGS= SIZE="size" > INSTALL="sh /usr/src/tools/install.sh" > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin > make -m /usr/src/share/mk KERNEL=kernel all -DNO_MODULES_OBJ > linking kernel.full > ctfmerge -L VERSION -g -o kernel.full ... > How reproducible is the crash? What previous kernel was known to work? Can you narrow it down to a particular revision, preferably with kernel debugging enabled? (see the end of the mail) There was one invasive change merged - fine-grained namecache in r310959 and that can be treated as the likely culprit. That said, I would start the search with verifying there are no issues with r310953 first. Debug opts: options KDB # Enable kernel debugger support. options KDB_TRACE # Print a stack trace for a panic. # For full debugger support use (turn off in stable branch): options DDB # Support DDB. options GDB # Support remote GDB. options INVARIANTS # Enable calls of extra sanity checking options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS options WITNESS # Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones options DEBUG_VFS_LOCKS -- Mateusz Guzik