From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 07:44:24 2004 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 E0AE316A4CE for ; Fri, 4 Jun 2004 07:44:24 -0700 (PDT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1ED043D3F for ; Fri, 4 Jun 2004 07:44:24 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 28193 invoked from network); 4 Jun 2004 14:44:08 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 4 Jun 2004 14:44:07 -0000 Received: from 10.50.41.233 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i54Ei4Oc081331; Fri, 4 Jun 2004 10:44:04 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Fri, 4 Jun 2004 10:44:51 -0400 User-Agent: KMail/1.6 References: <714DBA6C-B565-11D8-B32B-000393AB07D8@verizon.net> <20040603150403.GE80605@dan.emsphone.com> In-Reply-To: <20040603150403.GE80605@dan.emsphone.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406041044.51779.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Dan Nelson cc: David Gurvich Subject: Re: reboot or shutdown not working with -current 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: Fri, 04 Jun 2004 14:44:25 -0000 On Thursday 03 June 2004 11:04 am, Dan Nelson wrote: > In the last episode (Jun 03), David Gurvich said: > > Recent cvsup has caused system to hang on reboot or shutdown, > > occasionally hangs on startup with detection of optical drive on 2nd > > ide. Anyone know how to get system logs in this situation? > > Motherboard is ASUS A7N266-VM. System worked reasonably with APIC > > turned off 5/26/2004. > > Back out sys/i386/i386/intr_machdep.c rev 1.6. Or for the real fix, try this: Index: acpi_cpu.c =================================================================== RCS file: /usr/cvs/src/sys/dev/acpica/acpi_cpu.c,v retrieving revision 1.36 diff -u -r1.36 acpi_cpu.c --- acpi_cpu.c 7 May 2004 05:22:37 -0000 1.36 +++ acpi_cpu.c 4 Jun 2004 14:44:33 -0000 @@ -376,8 +376,7 @@ /* Wait for all processors to exit acpi_cpu_idle(). */ smp_rendezvous(NULL, NULL, NULL, NULL); - while (cpu_idle_busy > 0) - DELAY(1); + DELAY(1); return_VALUE (0); } -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org