From owner-freebsd-current@FreeBSD.ORG Mon Nov 24 14:19:57 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76E2516A4CE for ; Mon, 24 Nov 2003 14:19:57 -0800 (PST) Received: from blake.polstra.com (dsl081-189-066.sea1.dsl.speakeasy.net [64.81.189.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D51E43FA3 for ; Mon, 24 Nov 2003 14:19:56 -0800 (PST) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (dsl081-189-067.sea1.dsl.speakeasy.net [64.81.189.67]) by blake.polstra.com (8.12.9p2/8.12.9) with ESMTP id hAOMJt8b024860; Mon, 24 Nov 2003 14:19:55 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20031124135124.G87605@root.org> Date: Mon, 24 Nov 2003 14:19:55 -0800 (PST) From: John Polstra To: Nate Lawson X-Bogosity: No, tests=bogofilter, spamicity=0.477621, version=0.14.5 cc: current@freebsd.org Subject: Re: PII SMP system hangs during boot with ACPI enabled X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 24 Nov 2003 22:19:57 -0000 On 24-Nov-2003 Nate Lawson wrote: > > Trace 1: > wakeup(c2944100,0,c06a7546,140,6c) at wakeup+0x4 > AcpiOsSignalSemaphore(c2944100,1) at AcpiOsSignalSemaphore+0xa8 > AcpiUtReleaseMutex(9,30,c295e8c0,c295e760,cdb64acc) at AcpiUtReleaseMutex+0x8c > AcpiUtReleaseToCache(3,c295e760,cdb64ad8,c045ac17,c295e760) at > AcpiUtReleaseToCache+0x8c > > Trace 2: > _mtx_unlock_flags(c2944100,0,c06a7546,150,6c) at _mtx_unlock_flags+0x96 > AcpiOsSignalSemaphore(c2944100,1) at AcpiOsSignalSemaphore+0xc8 > AcpiUtReleaseMutex(9,8,c045f9cc,c2965940,c12a0c00) at AcpiUtReleaseMutex+0x8c > AcpiUtAcquireFromCache(2,cdb64bf4,c0462229,c12a0c00,cdb64c34) at > AcpiUtAcquireFromCache+0x53 > > Both of these show that acpi_task_thread is calling a task and then > AcpiOsSignalSemaphore is hanging. I'm wondering if your system can't > handle the acpi interrupt being moved to irq 20. Please try this > (untested) patch that should disable moving the SCI to irq 20. As I mentioned a minute ago, the patch didn't help. But I grabbed another stack trace while I was at it. This one is quite different from the others. I don't think it's different because of your patch, though. I saw one like this earlier, but thought it might have been an anomaly caused by my own mucking around in DDB. siointr1(c298d000,0,c06c9b97,6a0,cdb5ec70) at siointr1+0xec siointr(c298d000,c053a016,c06d88a0,c06e7ae0,4) at siointr+0x35 intr_execute_handlers(c129f88c,cdb5ec88,cdb5eccc,c065ca43,34) at intr_execute_handlers+0xc8 lapic_handle_intr(34) at lapic_handle_intr+0x3a Xapic_isr1() at Xapic_isr1+0x33 --- interrupt, eip = 0xc053a4ea, esp = 0xcdb5eccc, ebp = 0xcdb5eccc --- critical_exit(c070af20,1,c06b8c37,14b,0) at critical_exit+0x2a _mtx_unlock_spin_flags(c070af20,0,c06b74f7,23a,c294954c) at _mtx_unlock_spin_flags+0x9d ithread_loop(c12a6800,cdb5ed48,c06b7365,311,0) at ithread_loop+0x26e fork_exit(c0520150,c12a6800,cdb5ed48) at fork_exit+0xb4 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xcdb5ed7c, ebp = 0 --- John