From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 7 05:44:30 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F9B316A4F2 for ; Wed, 7 Jun 2006 05:44:30 +0000 (UTC) (envelope-from abuse@akavia.ru) Received: from smtp.spaceweb.ru (smtp.spaceweb.ru [217.170.76.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4A9E43D4C for ; Wed, 7 Jun 2006 05:44:29 +0000 (GMT) (envelope-from abuse@akavia.ru) Received: from [62.33.174.250] (helo=admin.blg.akavia.ru) by smtp.spaceweb.ru with esmtp (Exim 4.60) (envelope-from ) id 1FnqqC-0006N5-6d for freebsd-acpi@freebsd.org; Wed, 07 Jun 2006 09:44:28 +0400 Date: Wed, 7 Jun 2006 15:44:24 +1000 From: Alexander Logvinov X-Mailer: The Bat! (v3.80.03) Professional Organization: AKA X-Priority: 3 (Normal) Message-ID: <121000959.20060607154424@akavia.ru> To: freebsd-acpi@freebsd.org In-Reply-To: <200606062022.59336.jkim@FreeBSD.org> References: <1182686709.20060605133201@akavia.ru> <44844D7E.50909@root.org> <200606061941.06244.jkim@FreeBSD.org> <200606062022.59336.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re[2]: Machine did not reboot X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Logvinov List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2006 05:44:40 -0000 Hello. >> > > I had FreeBSD 5.4. After entering 'shutdown -r now' the system >> > > hanged on: 'Shutting down ACPI' >> > > 'Rebooting' >> > > but did not reboot. >> > > Upgraded to 6.1, it didn't help. >> > > hw.acpi.disable_on_poweroff="1" has no effect. What should I >> > > do? >> > > Motherboard: Chaintech 7VJL with latest BIOS. >> > Try the reset_register method. I have MFC'd the patch to >> > RELENG_6 so you can cvsup, recompile your acpi.ko, and test. It doesn't help. Because acpi_shutdown_final in function goes to else if (panicstr == NULL) { printf("Shutting down ACPI\n"); AcpiTerminate(); } and hangs up. >> RB_AUTOBOOT is defined as 0 in sys/reboot.h. I don't think this >> test will ever work: >> if ((howto & RB_AUTOBOOT) != 0 && AcpiGbl_FADT->ResetRegSup) { > It's little radical but what do you think about the attached patch? I > don't think we have to call AcpiTerminate() to reboot at all. In > fact, I have a box which does not reboot. Writing ACPI_DISABLE to > SMI_CMD hangs the system and it does not support RESET_REG. :-( If I > don't call AcpiTerminate(), everything's fine. I'll try this patch soon, thanks. -- WBR