From owner-freebsd-current@FreeBSD.ORG Wed Dec 31 06:12:33 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83EB616A4CE for ; Wed, 31 Dec 2003 06:12:33 -0800 (PST) Received: from mailhub2.midco.net (mailhub2.midco.net [24.220.0.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3699A43D45 for ; Wed, 31 Dec 2003 06:12:31 -0800 (PST) (envelope-from pmes@bis.midco.net) Received: (qmail 11356 invoked by uid 0); 31 Dec 2003 14:12:30 -0000 Received: from host-195-219-220-24.midco.net (HELO bis.midco.net) ([24.220.219.195]) (envelope-sender ) by lvs-pop.midco.net (qmail-ldap-1.03) with SMTP for ; 31 Dec 2003 14:12:30 -0000 Message-ID: <3FF2D94D.90903@bis.midco.net> Date: Wed, 31 Dec 2003 08:12:29 -0600 From: Peter Schultz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20031215 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Hulme References: <20031229131959.Q14501@root.org> <3FF2A5F7.9070606@diefree.com> In-Reply-To: <3FF2A5F7.9070606@diefree.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: trhodes@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: ACPI causes page fault/panic upon reboot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 14:12:33 -0000 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.