From owner-cvs-all@FreeBSD.ORG Fri May 4 16:06:10 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8318116A500; Fri, 4 May 2007 16:06:10 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id E8E3413C4BA; Fri, 4 May 2007 16:06:09 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id 635126904C4; Fri, 4 May 2007 17:06:39 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 24A086904CE; Fri, 4 May 2007 17:06:39 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=AWL, BAYES_00, FORGED_RCVD_HELO, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.7 Received: from epsilon.local.fnop.net (87-196-157-79.net.novis.pt [87.196.157.79]) by core.fnop.net (Postfix) with ESMTP id 9C1396904C4; Fri, 4 May 2007 17:06:38 +0100 (WEST) Date: Fri, 04 May 2007 17:06:07 +0100 Message-ID: <86k5vozi8g.wl%rpaulo@fnop.net> From: Rui Paulo To: John Baldwin , Pyun YongHyeon In-Reply-To: <86hcqs612o.wl%rpaulo@fnop.net> References: <200705021750.l42HoaMj067787@repoman.freebsd.org> <86hcqs612o.wl%rpaulo@fnop.net> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: ClamAV using ClamSMTP Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/amd64 mptable_pci.c msi.c nexus.c src/sys/amd64/include intr_machdep.h src/sys/amd64/pci pci_bus.c src/sys/dev/acpica acpi_pcib_acpi.c acpi_pcib_pci.c src/sys/dev/pci pci.c pci_if.m pci_pci.c pci_private.h pcib_if.m ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 16:06:10 -0000 At Fri, 04 May 2007 16:49:35 +0100, Rui Paulo wrote: > With this change, I think, I get a WITNESS panic when booting the > second core on my MacBook > > After SMP: AP #1 Launched, I get this panic: > panic: blockable sleep lock (sx) msi @ i386/i386/msi.c:374 > > The backtrace is: > witness_checkorder() > _sx_lock() > msi_map() > nexus_map_msi() > acpi_pcib_map_msi() > pcib_map_msi() > pci_remap_msi_irq() > msi_assign_cpu() BTW the source of the problem is related to msk(4). If I disable MSI only on the msk device (via hw.msk.msi_disable=1 tunable), everything works fine.