From owner-freebsd-bugs@FreeBSD.ORG Sat Aug 15 16:10:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 526E21065726 for ; Sat, 15 Aug 2009 16:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 11DBC8FC62 for ; Sat, 15 Aug 2009 16:10:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7FGA1Ck007924 for ; Sat, 15 Aug 2009 16:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7FGA1P5007923; Sat, 15 Aug 2009 16:10:01 GMT (envelope-from gnats) Resent-Date: Sat, 15 Aug 2009 16:10:01 GMT Resent-Message-Id: <200908151610.n7FGA1P5007923@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nathaniel Filardo Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81BD51065692 for ; Sat, 15 Aug 2009 16:08:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7028E8FC43 for ; Sat, 15 Aug 2009 16:08:00 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7FG80Bk016407 for ; Sat, 15 Aug 2009 16:08:00 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7FG80Rg016406; Sat, 15 Aug 2009 16:08:00 GMT (envelope-from nobody) Message-Id: <200908151608.n7FG80Rg016406@www.freebsd.org> Date: Sat, 15 Aug 2009 16:08:00 GMT From: Nathaniel Filardo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/137800: -CURRENT on sparc64 immediate "panic: mtx_init: mtx_lock not aligned for turnstile chain: 0xc06489f8" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Aug 2009 16:10:02 -0000 >Number: 137800 >Category: kern >Synopsis: -CURRENT on sparc64 immediate "panic: mtx_init: mtx_lock not aligned for turnstile chain: 0xc06489f8" >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 15 16:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Nathaniel Filardo >Release: -CURRENT >Organization: >Environment: FreeBSD hydra.priv.oc.ietfng.org 8.0-CURRENT-200906 FreeBSD 8.0-CURRENT-200906 #0: Thu Jun 11 15:23:43 UTC 2009 root@araz.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64 >Description: SVN r196226 added ASSERT_ATOMIC_LOAD to check that values could be atomically loaded. On sparc64, _ALIGN() masks off 0xF but the compiler seems to think that the alignment requirement is only 0x7 as printing "&( ((struct foo *)(NULL))->...)" for each of a,b,c,d,e,f in "struct foo { long a; char b; long c; void *d; char e; void *f; };" seems to produces "0 8 16 24 32 40" I don't know what the right fix is or even which one is in error. Thoughts? >How-To-Repeat: Build a kernel on sparc64 later than r196226. It is unclear to me if other details of kernel configuration matter. >Fix: >Release-Note: >Audit-Trail: >Unformatted: