From owner-freebsd-acpi@FreeBSD.ORG Thu Jul 20 20:43:21 2006 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B091516A4DD for ; Thu, 20 Jul 2006 20:43:21 +0000 (UTC) (envelope-from nate@root.org) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5463443D46 for ; Thu, 20 Jul 2006 20:43:20 +0000 (GMT) (envelope-from nate@root.org) X-ORBL: [67.119.74.222] Received: from [10.0.0.53] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by ylpvm01.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id k6KKgxNW026572; Thu, 20 Jul 2006 16:42:59 -0400 Message-ID: <44BFEADA.8070802@root.org> Date: Thu, 20 Jul 2006 13:43:06 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: Kevin Oberman References: <20060630160642.D8DC245043@ptavv.es.net> In-Reply-To: <20060630160642.D8DC245043@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: acpi@freebsd.org Subject: Re: New errors when booting current X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 20:43:21 -0000 Kevin Oberman wrote: > I am seeing large numbers of "bad write" and "bad read" errors from acpi > since my last update of the OS. I'm getting these from both desktops with > minimal ACPI capability and my laptop. > > I don't see any problems, so I suspect they are cosmetic, but I am > curious as to what changed to trigger them and whether they might be > eliminated. > > Let me know if you want to see my ASL, but it seems to be happening on > all of my current systems. > > Here is an excerpt from my dmesg on the desktop: > acpi: bad write to port 0x070 (8), val 0x26 > acpi: bad read from port 0x071 (8) > acpi: bad write to port 0x070 (8), val 0x26 > acpi: bad read from port 0x071 (8) > acpi: bad write to port 0x070 (8), val 0x26 Your ASL is writing to the RTC hardware directly. This is not allowed by Windows XP and newer systems for obvious reasons. We added the check recently but do not block the accesses yet. I don't think we use the RTC much so we're just lucky there's no collision. I'll try to add a patch soon that only prints the first 5 errors or so but can do more if we want to use it for debugging. http://www.microsoft.com/whdc/system/pnppwr/powermgmt/BIOSAML.mspx -- Nate