From owner-freebsd-stable@freebsd.org Mon Jan 2 19:15:02 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 6FCEFC9B92C for ; Mon, 2 Jan 2017 19:15:02 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-it0-x241.google.com (mail-it0-x241.google.com [IPv6:2607:f8b0:4001:c0b::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 3779B158B for ; Mon, 2 Jan 2017 19:15:02 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-it0-x241.google.com with SMTP id 75so48692735ite.1 for ; Mon, 02 Jan 2017 11:15:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=y4OVPaAYbmbL3dTwri8nwFMSui6j3Oguutc6eVSBX+s=; b=HXJlz+k9cMuytAGQtLNtt4wfdO/hwTxRekRAhM8y/rOO7H1GGxdpadlx8Xe1zT1J8e fqsVJ/95PjOR64vSj9EfGgiZ+H5x4QuXjTJN3R7bW8IyPfu3fko4Si2m8XR7dyfF/luB DSyM0xmURmtbFdDFPD+76PNxIQ7ke0Nh9UdyawkvQ2HBFNy+zDf5No4z+BnWcSK7ZXFY B/rPIGCPKfJTcmQipJLKV4KoDJc2McOygFi/v50N+5SGbYMGXp2hdbJy1ADuFp15A5kp 1pEWuDTCLxBblQLL26WH1/sJ0i8C0hkrv7oEivr40a+j6nYHq9zqwPGAdqK25u7Zwl2E FTBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=y4OVPaAYbmbL3dTwri8nwFMSui6j3Oguutc6eVSBX+s=; b=MBSr3zXbF+x9dS22Tps3j5ZskD9MQAOpb5P9ldnf85aX/3+B1nThuYk+54F3bD2N+W WdcWGLe/6sjw3+cQy9SuBmGdAeQGLRhWqKdTW1NGxFv2Qux/nRzZmyobphs2hcwhNy1Y 8Gd8laurbp89T351BZcnz+DfI+NQenC+ZzKfkEgu0BrdvS7nVDaj4+134M3UuBepsV8p 41VNSjrH6E0AcYzVQs9Ne0z2WSGGAhmLo2YMFXtMN8erDeVIQFq5gLyql/7EXQR/dEp1 G0SWK6QhD9PA8aa6XTT6fBF8fkJ7UIxVs3gS1SGtyXUjJSH5zR1CzF01bViFvRa31FiY hf4w== X-Gm-Message-State: AIkVDXIagQeoRy4zGfTh7m1rC05E9O0D9bb4brKoAAWxF+ohHt73S3rx4KdguTwGcdvI+/gTKRxzHpY9+bFNEA== X-Received: by 10.36.28.2 with SMTP id c2mr45794064itc.105.1483384501423; Mon, 02 Jan 2017 11:15:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.57.212 with HTTP; Mon, 2 Jan 2017 11:15:01 -0800 (PST) In-Reply-To: References: <20170102123630.GA6912@dft-labs.eu> <20170102125734.GB6912@dft-labs.eu> From: Aryeh Friedman Date: Mon, 2 Jan 2017 14:15:01 -0500 Message-ID: Subject: Re: make kernel ctfmerge freeze on 11-STABLE To: Mateusz Guzik Cc: FreeBSD Stable List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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 19:15:02 -0000 Completely cleaning out /usr/src and /usr/obj fixed it (both current and past revisions) On Mon, Jan 2, 2017 at 8:33 AM, 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. > > > > -- > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org