From owner-freebsd-stable@freebsd.org Mon Jan 2 16:54:29 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 6BF07C9CF95 for ; Mon, 2 Jan 2017 16:54:29 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 F2C681C8F for ; Mon, 2 Jan 2017 16:54:28 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id l2so57423806wml.2 for ; Mon, 02 Jan 2017 08:54:28 -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=MDwFWIWO1XrbQTM/RdG3MA0P9RbABgcNIrOCV1HmJOc=; b=eeFRx2FkMq+bzXxh944CAU+1aHqiQTMZBhTZ0iHbsV6CKjzifW8P9vgnaclwlXIpeX iVS5pm4Qne1LiJf3tcSBfxJYF5ovDA1BRgjNmMWLjjyltdRMhzT9gSSjt228PDDwcNNW olxgzTDlepNDyZHPXnb2OXrmwO91So09bcH0UPPjnyhBMR/OdbMTauqNI2wIhEXwrvgT nM/xWNlzE/qX67IFa5lJ9/pHp1aVx3QWbN6CaMB/hiKSnd2ZAhQT2pTlBE/brAbogFvP sBOxvRRrQBMUcKHqEHGeBnhvI3GF6+Fj8i2DKsx+IYAs5WGuTP+cLbpEbMWgzkrXzWbS vabQ== 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=MDwFWIWO1XrbQTM/RdG3MA0P9RbABgcNIrOCV1HmJOc=; b=e1fsibrfT2Mk/7lGcXGzSeCSHkZRQt6z9ij84LxYwWyDWp+I8peGoMWyIltyPGJp/t spHgllpwmBA/YA/s/PHidMWODcU9+Xgi5J3UkrigCeaMCmISDEl483Yn0D3PmBOC8YyG ABnOqcJ8sArwFk89JJXJSukh/BFKD7fzj/Nw0VHXdK6Vh83f8h2Glqz6+/5gpnOfeRQk T04Xw0v5924xXD8Da6W2iqDbUDZePlhLVhQYaqf7IC1AsoPJYdTR8B8og5y1Qv9GXtTq oZKwto1Ri2MPdcnEnF06ij30jreCuisOTcGsfJYVr7GmOf+LTOZRCr9xGO+Lw/JPsrzO USqw== X-Gm-Message-State: AIkVDXKio1J5o1e2fVOmXy+tsUVpdxbY7dtzH7ZfksL5Q5iLDe4veR0ckGG6lBx9hLdNTw== X-Received: by 10.28.127.20 with SMTP id a20mr53054087wmd.15.1483376066598; Mon, 02 Jan 2017 08:54:26 -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 204sm85259310wmj.7.2017.01.02.08.54.25 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 02 Jan 2017 08:54:26 -0800 (PST) Date: Mon, 2 Jan 2017 17:54:23 +0100 From: Mateusz Guzik To: Aryeh Friedman Cc: FreeBSD Stable List Subject: Re: make kernel ctfmerge freeze on 11-STABLE Message-ID: <20170102165423.GC6912@dft-labs.eu> References: <20170102123630.GA6912@dft-labs.eu> <20170102125734.GB6912@dft-labs.eu> 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 16:54:29 -0000 On Mon, Jan 02, 2017 at 08:33:29AM -0500, Aryeh Friedman wrote: > On Mon, Jan 2, 2017 at 7:57 AM, Mateusz Guzik wrote: > > > On Mon, Jan 02, 2017 at 07:48:22AM -0500, Aryeh Friedman wrote: > > > On Mon, Jan 2, 2017 at 7:36 AM, Mateusz Guzik wrote: > > > > > > > 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) > > > > > > > > > > It first appeared a few days ago (forget what revision) then disappeared > > > the day after and reappeared yesterday. It is 100% reproducible (i.e. > > > clearing out /usr/obj and doing a make kernel in either single or > > multiuser > > > mode both cause it). Turing on debugging would be hard but perhaps I > > > should slightly qualify "freeze": make freezes but the rest of the system > > > is responsive and killing make leaves a zombie ctfmerge. If I still need > > > kernel debugging based on the above I will do it but looking for an > > easier > > > explanation first. > > > > > > > I definitely don't run into anything of the sort and the problem > > statement is quote vague. > > > > However, if the problem is indeed reproducible, the minimum you can do > > is find the first revision where it started appearing and that would > > definitely help with an investigation. > > > > > Any advice on how to do that since I update daily I can tell you when it > started (the day) but not the actual revision ID. > Just get the source, e.g.: svn checkout https://svn.freebsd.org/base/stable/11 /usr/src You can then switch to a particular revision you can svn up -r, e.g.: svn update -r r310953 to switch to the revision prior to cache merge. Preferably though you would use git as it allows easy bisection. https://github.com/freebsd/freebsd, the branch is origin/stable/11. -- Mateusz Guzik