From owner-freebsd-current@FreeBSD.ORG Tue Nov 18 13:58:22 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 B05F216A4CE for ; Tue, 18 Nov 2003 13:58:22 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id AC0BD43FA3 for ; Tue, 18 Nov 2003 13:58:21 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 65268 invoked by uid 1000); 18 Nov 2003 21:58:22 -0000 Date: Tue, 18 Nov 2003 13:58:22 -0800 (PST) From: Nate Lawson To: Robert Watson In-Reply-To: Message-ID: <20031118135415.T64933@root.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: Updated acpi_cpu patch 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: Tue, 18 Nov 2003 21:58:22 -0000 On Tue, 18 Nov 2003, Robert Watson wrote: > On Tue, 18 Nov 2003, Nate Lawson wrote: > > Could you add a printf to the start of acpi_cpu_detach()? I want to see > > if we're being called before or after ACPI is stopped ("Shutting down > > So indeed, it doesn't look like the ACPI detach call has gone out yet. Yes, I'm certain acpi_cpu_detach is not being called before AcpiTerminate(). Can someone with some newbus knowledge explain this? devinfo shows acpi_cpu0 as a child of acpi0 so its detach should be called before acpi0's. Perhaps the fact that there is no DEVMETHOD for acpi_detach means that its children never have their detach methods called? -Nate