From owner-freebsd-current@freebsd.org Thu Aug 6 21:44:26 2015 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 05E279B5DB2 for ; Thu, 6 Aug 2015 21:44:26 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (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 8C4D211CE; Thu, 6 Aug 2015 21:44:25 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by wicgj17 with SMTP id gj17so38929068wic.1; Thu, 06 Aug 2015 14:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=XAco5W4V008cia56bVCr17GBtxP/Cgo5vToPZldGyQs=; b=fvYCgd+7qPWABVa5K5XFpP0Mm/+EZcgBuFWAq6kWQAsehEwLzkX86ToghrlqZbddCf vEfzY2lWvPemr3bUDr2aMNcDFHjO5vwArUTfVN+dYNS5MBY5x1rXw6j35Nd1+gaMrQuZ GLtWFiKwkLZ4gCe01xg9ks3AQh8iRp7WaRRNq1f0SjPhCaDFdQhjGogPA28uK4Seppih 1uCLV2i0QSXPtIaLZ5yjVrxycj10ATMQbZTv8nqbvYAI0ARSkxfUh3nZAM/OdfzDPwMN h8m4Jg/tsz2pI1bFiK55XS1LQOk2wRL2K6zse2WcVseLDcM+TsXW/cHPqDq+nNzdSxhE 5vYQ== X-Received: by 10.194.190.79 with SMTP id go15mr7285128wjc.80.1438897463920; Thu, 06 Aug 2015 14:44:23 -0700 (PDT) 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 pu6sm11432887wjc.34.2015.08.06.14.44.21 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 06 Aug 2015 14:44:22 -0700 (PDT) Date: Thu, 6 Aug 2015 23:44:19 +0200 From: Mateusz Guzik To: Pawel Pekala Cc: "K. Macy" , John-Mark Gurney , FreeBSD Current Subject: Re: Instant panic while trying run ports-mgmt/poudriere Message-ID: <20150806214419.GA20809@dft-labs.eu> Mail-Followup-To: Mateusz Guzik , Pawel Pekala , "K. Macy" , John-Mark Gurney , FreeBSD Current References: <20150713231205.627bab36@FreeBSD.org> <20150714223829.GY8523@funkthat.com> <20150715174616.652d0aea@FreeBSD.org> <20150715180526.GM8523@funkthat.com> <20150715223703.78b9197c@FreeBSD.org> <20150806233328.47a02594@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150806233328.47a02594@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 06 Aug 2015 21:44:26 -0000 On Thu, Aug 06, 2015 at 11:33:28PM +0200, Pawel Pekala wrote: > Hi K., > > On 2015-08-06 12:33 -0700, "K. Macy" wrote: > >Is this still happening? > > Still crashes: > > Thu Aug 6 23:22:05 CEST 2015 > > FreeBSD blaviken.slowicza.org 11.0-CURRENT FreeBSD 11.0-CURRENT #50 r286370: Thu Aug 6 19:55:29 CEST 2015 root@blaviken.slowicza.org:/usr/obj/hdd/src/sys/GENERIC amd64 > > panic: > > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "amd64-marcel-freebsd"... > > Unread portion of the kernel message buffer: > > > Fatal trap 9: general protection fault while in kernel mode > cpuid = 2; apic id = 02 > instruction pointer = 0x20:0xffffffff809d6b80 > stack pointer = 0x28:0xfffffe046cc68a00 > frame pointer = 0x28:0xfffffe046cc68a50 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 2147 (sh) > > #8 0xffffffff80e44652 in calltrap () > at /hdd/src/sys/amd64/amd64/exception.S:235 > #9 0xffffffff809d6b80 in knote (list=0xfffff801dbebfea0, hint=2147483648, > lockflags=) at /hdd/src/sys/kern/kern_event.c:1920 > #10 0xffffffff809dc424 in exit1 (td=0xfffff802bd0559a0, > rval=, signo=0) at /hdd/src/sys/kern/kern_exit.c:564 > #11 0xffffffff809db8cd in sys_sys_exit (td=0x0, uap=) > at /hdd/src/sys/kern/kern_exit.c:178 > #12 0xffffffff80e64c22 in amd64_syscall (td=0xfffff802bd0559a0, traced=0) > at subr_syscall.c:133 > #13 0xffffffff80e4493b in Xfast_syscall () > at /hdd/src/sys/amd64/amd64/exception.S:395 > #14 0x0000000800922eea in ?? () > Previous frame inner to this frame (corrupt stack?) > Current language: auto; currently minimal > (kgdb) > Sorry, I completely forgot about this. Can you please modify debug flags in your kernel config file to be "-O0 -g3" and reproduce with that? This should allow kgdb to obtain full info (along with exact rash site for inspection) without further tinkering or guessing. -- Mateusz Guzik