Re: Reset register flag versus the actual register

From: Alexander Sack <pisymbol_at_gmail.com>
Date: Sun, 25 Jan 2009 21:23:43 -0500
Whoops!!!  I had a brain fart...

On Sun, Jan 25, 2009 at 8:35 PM, Alexander Sack <pisymbol_at_gmail.com> wrote:
> Hi Everybody:
>
> I've ran into the quintessential "it works on Linux but does not work
> on FreeBSD" vendor comment regarding the boxes ability to reboot
> successfully.  I'm running FreeBSD-6.1 but this also applies the
> FreeBSD-CURRENT as well.  The problem boils down to the fact that the
> BIOS does set the ResetRegister bit in the FADT feature flags.
> However, I've noticed that latest stable Linux kernel has the
> following logic with respect to the reset register:
>
> acpi_reboot():
>
>  18        /* Is the reset register supported? */
>  19        if (!(acpi_gbl_FADT.flags & ACPI_FADT_RESET_REGISTER) ||
>  20            rr->bit_width != 8 || rr->bit_offset != 0)
>  21                return;

This checks the flag.  I didn't see the NOT for some odd reason.
Uggh, weird, I got to go back and now find out why on Linux uses the
hook and FreeBSD does not.

-aps
Received on Mon Jan 26 2009 - 01:23:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:41 UTC