From owner-freebsd-current@freebsd.org Mon Jun 26 13:03:40 2017 Return-Path: Delivered-To: freebsd-current@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 DA036D8662A for ; Mon, 26 Jun 2017 13:03:40 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id B9740785F0 for ; Mon, 26 Jun 2017 13:03:40 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: by mailman.ysv.freebsd.org (Postfix) id B8AAED86629; Mon, 26 Jun 2017 13:03:40 +0000 (UTC) Delivered-To: current@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 B7BE5D86627 for ; Mon, 26 Jun 2017 13:03:40 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36B56785EF for ; Mon, 26 Jun 2017 13:03:39 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from freyja.zeit4.iv.bundesimmobilien.de ([87.138.105.249]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MC4R6-1dYJNV230a-008sfd; Mon, 26 Jun 2017 15:03:25 +0200 Date: Mon, 26 Jun 2017 15:03:22 +0200 From: "O. Hartmann" To: Gary Jennejohn Cc: "O. Hartmann" , current@freebsd.org, David Wolfskill , Boris Samorodov , Konstantin Belousov Subject: Re: r319971 -> r320351: Fatal error 'Cannot allocate red zone for initial thread' Message-ID: <20170626150322.52e3f4ed@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: <20170626144858.1b799130@ernst.home> References: <20170625120731.GE1241@albert.catwhisker.org> <20170626102942.274b42e6@freyja.zeit4.iv.bundesimmobilien.de> <20170626132608.03eab0cf@ernst.home> <20170626140048.6d033c7e@freyja.zeit4.iv.bundesimmobilien.de> <20170626144858.1b799130@ernst.home> Organization: Walstatt MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:VtOmmYJjAFQuokpWtUINZpG5PnDSB5jlGr5JV7QnmnT7VXhYdaR LFsHFCxKx7XaYSYBL/rTSijdm9bOeZg6/LX+Z5xAvwp4WvqK99iOeWZCMARSDFLNdYoGsvs iII8G/P77KCuZ6EQoRSh2FlWcGH2fA1G/LbDMUh0bMxpNcQk559WbfOBL5u6cYefBwNE6Cz 7xqz6BURgp7ey0Rtmt0AA== X-UI-Out-Filterresults: notjunk:1;V01:K0:a1oL1LEkUOw=:XczbZVIUAkEjnutIsQ8OPJ yUJE6yZvfA5iDR0TTYxmpF84tulre/xNCrfwD9ZzytunGBsug2RKtWy1rq2sbFq9dBejDAjjX KNYxTpPI8mvYixv0WlwNVmnzFmUkJYCP4HWKK+Zijou+gTDY75eWts7rfBK4M1+xELUaLD98R waA1Jww3x2BvH1qsCsagUxMGgyhVT+01RavzKfHqiARLeUFsI0pBPAt3+B1ulRlxhsU6atWYX 1YmtFE4mJuQxjDloSbLfq40mOL42zAU/p9XJoHwkHG4TrKecXf0MZA1FL/y1Nj7r8AgiL68tC 93zkVcJDQJUNI7cVgAxmFcHYWoNVq3Apir8e5HyjAx+VglHF+C45g84jgsNvHgW5I5XrTljIE F8ajuYUxNTuGLX2VyKHScZdAHDty2BSMYsNrxMd8udXEhRryi7qQUXKiKbe0VRx3opIcasfDS thQ0Lhv0Szi/4sR46mMabXtaFwXMzM9Pqe14g6leHoVfUXy9Y4wj5QZN3pGpWTPa4YkgFDT1/ LhRMHC42ciFOhU3AgYdWfQ1KsSZCOy4/r02AmJkd87D6sDpRNVa8+WEqgG8L0NWGw79vWsYBQ LHDMkc+FFyLX6ojgCPtcQguuZoP9EP1aaGaY+Utg9MNf7BIA7Lz97uolI5L2R3bsXoItdrsAn jdOf/MeIt5NMiz50cWtRAFx7ImE+y3FqTdFxOFf9Fc3Fi9CHywiV0EwowYJIx8brN4JcJaGFT cIa1FDRRTK8VfTtgExS5ZLEN+uQ5KcI0Ad+69aPAfkyj67lEME76kEyl3Hq7MqtjORs/C9247 daQdkke X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2017 13:03:40 -0000 On Mon, 26 Jun 2017 14:48:58 +0200 Gary Jennejohn wrote: > On Mon, 26 Jun 2017 14:00:48 +0200 > "O. Hartmann" wrote: > > > On Mon, 26 Jun 2017 13:26:08 +0200 > > Gary Jennejohn wrote: > > > > > On Mon, 26 Jun 2017 10:29:47 +0200 > > > "O. Hartmann" wrote: > > > > > > > Over the past week we did not update several 12-CURRENT running > > > > development hosts, so today is the first day of performing this task. > > > > > > > > First I hit the very same problem David Wolfskill reported earlier, a > > > > fatal trap 12, but fowllowing the thread, I did as advised: > > > > removing /usr/obj completely (we use filemon/WITH_META_MODE=YES all > > > > over the place) and recompiling world and kernel. > > > > > > > > Since tag 20170617 in /usr/src/UPDATING referred to the INO64 update > > > > and the INO64 update hasn't performed so far starting from r319971, I > > > > installed the kernel, rebooted the box in single user mode (this time > > > > smoothly), did a mergemaster and tried to do "make installworld" - but > > > > the box instantanously bails out: > > > > > > > > [...] > > > > Fatal error 'Cannot allocate red zone for initial thread' at line 392 in > > > > file /usr/src/lib/libthread/thr_init.c > > > > pid 60 (cc) uid0: exited on signal 6 ... > > > > > > > > [...] > > > > > > > > That way, I obviously can not install a world :-( > > > > > > > > What is wrong here? Is the problem resovable? > > > > > > > > > > How recent was your last update? Some changes were made just a few > > > hours ago to fix a stack growth problem in threads. > > > > Well, what do you mean by "... source is not up to date ..."? > > Performing an svn update of /usr/src should suffice, shouldn't > > it? If not, then ... please correct me. I think the sources > > are up to date as of the moment the bug occured. > > > > I consider the sources up to date, it is on the latest updated > > box r320355. > > > > You did not explicitly state in the orignal post at which SVN > revison your code was. Seems to me that my question was > reasonable. > > Now it's clear that your source should have been up to date. > > Just for the record, I just booted a kernel from SVN r320357 which > immediately resulted in a kernel panic. I had to delete everything > under /usr/obj/usr/src/sys to get a working kernel. That has been made clear earlier in the thread, telling us that NO_CLEAN and/or META_MODE leaves the object tree in a somehow unusable state. Id did so twice this morning. I have to build a kernel with KTRACE capabilities as requested herein, but can perform this not before tomorrow morning. Some people seem to report positive updates, but starting from a later svn revision. So the problem seems to be transitional ...