Re: ACPI causes page fault/panic upon reboot

From: Peter Schultz (pmes_at_bis.midco.net)
Date: 12/31/03

  • Next message: Stefan Farfeleder: "Re: kern.osreldate and EAI_NODATA deprecation"
    Date: Wed, 31 Dec 2003 08:12:29 -0600
    To: Dan Hulme <d@diefree.com>
    
    

    Dan Hulme wrote:
    > Disabling ACPI fixes the problem. The problem appears to be in dc0,
    > however. See my other reply for details.
    >

    You might be able to use ACPI, run this command:

    `acpidump -t -d > your.asl'

    In your.asl, change if statements that compare the value of _OS from
    "Windows" to "FreeBSD". For example*:

    If (MCTH (\_OS, "Microsoft Windows NT"))
    {
         Return (PIC1)
    }
    Else
    {
         Return (PIC0)
    }

    Overridden for use with FreeBSD:
    If (MCTH (\_OS, "FreeBSD"))
    {
         Return (PIC1)
    }
    Else
    {
         Return (PIC0)
    }

    After you customize your.asl, you'll want to compile** it, run:

    `iasl -f your.asl'

    DSDT.aml is the default output filename for the above command. It's
    machine code you can offer to ACPI instead of using the DSDT provided
    with your motherboard. You do this by editing /boot/loader.conf, add:

    acpi_dsdt_load="YES"
    acpi_dsdt_name="/boot/DSDT.aml"

    Remember to move DSDT.aml to the /boot directory. That's what I've done
    to get ACPI working back to how it was in the past.

    HTH,
    Pete...

    * From my OEM ASL, a partnership with Microsoft?

    ** We're forcing compilation because it seems most OEM ASLs are buggy.
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Stefan Farfeleder: "Re: kern.osreldate and EAI_NODATA deprecation"

    Relevant Pages

    • Re: powerdown after shutdown part2
      ... > He already wrote which command he used... ... > But i have the same problem on my Laptop too. ... Do you have ACPI enabled? ... I also think that some newer laptops support ACPI instead of APM. ...
      (Fedora)
    • acpi not accepting command
      ... chvt $oldvt ... It takes the command in very quicky and doesn't send any ... It seems like I'm missing the proper ACPI support in the kernel, ...
      (Fedora)
    • Re: Standby in Linux
      ... I have an ACPI ... What does that command do and where do I download it? ... But until that kernel it was a little touchy. ... I went there and they only had patches that said 2.4.22 and above. ...
      (comp.os.linux.hardware)
    • Re: WIN XP Pro -> no Stand by? + CnQ problems
      ... The properties of Computer should mention "ACPI". ... There is also an option with dumppo, ... use command line FTP and issue the "passive" command before ... AC = AC Power Settings ...
      (alt.comp.periphs.mainboard.asus)
    • Re: [SLE] enable Laptop power management
      ... > You can use acpi or apm, to be enabled at boot time. ... modprobe battery" as root. ... I added them to start up by placing that command ...
      (SuSE)