Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2009 21:23:43 -0500
From:      Alexander Sack <pisymbol@gmail.com>
To:        freebsd-acpi@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: Reset register flag versus the actual register
Message-ID:  <3c0b01820901251823p5c4536fcy3924d7a1209bfe71@mail.gmail.com>
In-Reply-To: <3c0b01820901251735m4c6a1abfu37a1634818e1724a@mail.gmail.com>
References:  <3c0b01820901251735m4c6a1abfu37a1634818e1724a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Whoops!!!  I had a brain fart...

On Sun, Jan 25, 2009 at 8:35 PM, Alexander Sack <pisymbol@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



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