From owner-freebsd-stable@FreeBSD.ORG Wed Feb 21 19:14:52 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6118516A93B for ; Wed, 21 Feb 2007 19:14:52 +0000 (UTC) (envelope-from billy@nlcc.us) Received: from mail.wildblue.net (mail.wildblue.net [216.126.204.45]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9F213C428 for ; Wed, 21 Feb 2007 19:14:52 +0000 (UTC) (envelope-from billy@nlcc.us) Received: from ibm.nlcc.us (67-54-202-48.cust.wildblue.net [67.54.202.48]) by mail.wildblue.net (Postfix) with ESMTP id 8BCD436D45E for ; Wed, 21 Feb 2007 12:14:41 -0700 (MST) Received: (qmail 36597 invoked by uid 89); 21 Feb 2007 19:14:33 -0000 Received: from unknown (HELO ?192.168.0.40?) (billy@192.168.0.40) by ibm.nlcc.us with ESMTPA; 21 Feb 2007 19:14:33 -0000 Message-ID: <45DC9A13.2050202@nlcc.us> Date: Wed, 21 Feb 2007 13:14:27 -0600 From: Billy Newsom User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: stable@freebsd.org References: <45DB90A0.4070906@nlcc.us> <20070221005540.GA81821@xor.obsecurity.org> In-Reply-To: <20070221005540.GA81821@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: The code for rebooting an SMP machine doesn't always work (still) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2007 19:14:52 -0000 Kris Kennaway wrote: > On Tue, Feb 20, 2007 at 06:21:52PM -0600, Billy Newsom wrote: >> When a SMP machine does not have an AT keyboard controller, there needs >> to be a way to reboot the machine under FreeBSD! > > Like the sysctl that was added in 6.2? > > hw.acpi.handle_reboot=1 > > Kris Well, what do you know? That works for this machine! I will probably blog this information sometime. That is excellent. Finally, the ACPI code has come up to standard in FreeBSD. It seems like it was lacking for a number of years. As for the old reboot code, I still think it could use some help. I happen to think that the code which tries to reboot the machine using the triple fault should work if it was adjusted somehow. But since we are fully ACPI compliant, this hack works great. In any case, the Mac Pro needs that sysctl variable under FreeBSD 6.2 or we get that awful trap 12 doing a reboot. With this change, I think we have an acceptable server platform, made by Apple, run by free software. Pretty slick system. Maybe I will post my dmesg now. Thanks community! Billy