From owner-freebsd-ia64@FreeBSD.ORG Mon Jul 21 17:22:05 2008 Return-Path: Delivered-To: freebsd-ia64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3605D106566C; Mon, 21 Jul 2008 17:22:05 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout014.mac.com (asmtpout014.mac.com [17.148.16.89]) by mx1.freebsd.org (Postfix) with ESMTP id 109E08FC21; Mon, 21 Jul 2008 17:22:04 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K4D008JE9KR6500@asmtp014.mac.com>; Mon, 21 Jul 2008 10:22:04 -0700 (PDT) Sender: xcllnt@mac.com Message-id: <98D324EF-328F-4C23-97FE-83B16EC28B04@mac.com> From: Marcel Moolenaar To: Hiroki Sato In-reply-to: <20080721.014513.25214113.hrs@allbsd.org> Date: Mon, 21 Jul 2008 10:22:03 -0700 References: <20080720.210503.01730835.hrs@allbsd.org> <20080721.003831.44053407.hrs@allbsd.org> <20080721.014513.25214113.hrs@allbsd.org> X-Mailer: Apple Mail (2.928.1) Cc: freebsd-ia64@FreeBSD.org Subject: Re: panic on HP rx1600 X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2008 17:22:05 -0000 On Jul 20, 2008, at 9:45 AM, Hiroki Sato wrote: > Hiroki Sato wrote > in <20080721.003831.44053407.hrs@allbsd.org>: > > hr> Marcel Moolenaar wrote > hr> in : > hr> > hr> xc> If you don't have INVARIANTS, could you add it to your kernel > hr> xc> configuration. I've seen kernel panics without INVARIANTS > hr> xc> after GCC 4 was imported. Also, if you're using ULE, then > hr> xc> please switch to 4BSD. > hr> > hr> Okay, thanks. I will do and report what is changed. The > kernel was > hr> the same configuration as GENERIC. > > I confirmed that adding INVARIANTS prevents it from triggering a > panic. Hmm, do you know exactly which part of the tree is the cause, > or should we narrow down this issue? I haven't had the time to go to the bottom of this. This is not to say that I think we should narrow it down. Looking at the context (unlocking, turnstiles), it could be related to atomic operations and I already fixed a GCC bug in that respect: src/sys/ia64/include/atomic.h, rev 1.14 It would be extreme luck if that would also fix the panic, but we might as well try.... Hmmm, I'd better MFC it... -- Marcel Moolenaar xcllnt@mac.com