Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2007 13:14:27 -0600
From:      Billy Newsom <billy@nlcc.us>
To:        stable@freebsd.org
Subject:   Re: The code for rebooting an SMP machine doesn't always work	(still)
Message-ID:  <45DC9A13.2050202@nlcc.us>
In-Reply-To: <20070221005540.GA81821@xor.obsecurity.org>
References:  <45DB90A0.4070906@nlcc.us> <20070221005540.GA81821@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45DC9A13.2050202>