From owner-freebsd-acpi@FreeBSD.ORG Mon Aug 18 14:46:41 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0425C1065671 for ; Mon, 18 Aug 2008 14:46:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 794B88FC18 for ; Mon, 18 Aug 2008 14:46:40 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [IPv6:2001:470:1f11:75:2a0:d2ff:fe18:8b38]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m7IEkWkN052949; Mon, 18 Aug 2008 10:46:33 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Zbigniew Baniewski Date: Mon, 18 Aug 2008 09:27:09 -0400 User-Agent: KMail/1.9.7 References: <20080420134236.GA6019@sarge.my.own.domain.no-net> <20080424171712.GA5180@sarge.my.own.domain.no-net> <20080424234921.GR92261@server.vk2pj.dyndns.org> In-Reply-To: <20080424234921.GR92261@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808180927.09229.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:2001:470:1f11:75::1]); Mon, 18 Aug 2008 10:46:34 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8053/Mon Aug 18 08:42:12 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Peter Jeremy , freebsd-acpi@freebsd.org Subject: Re: Problem with ACPI using Abit BE6-II V2.0 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: Mon, 18 Aug 2008 14:46:41 -0000 On Thursday 24 April 2008 07:49:21 pm Peter Jeremy wrote: > On Sun, Apr 20, 2008 at 03:42:36PM +0200, Zbigniew Baniewski wrote: > >3. When booted with "verbose", there are steadily error messages printed > > on first console: > > > > acpi: bad write to port 0x070 (8), val 0x4c > > acpi: bad read from port 0x071 (8) > > To quote sys/dev/acpica/Osd/OsdHardware.c: > * Some BIOS vendors use AML to read/write directly to IO space. This > * can cause a problem if such accesses interfere with the OS's access to > * the same ports. Windows XP and newer systems block accesses to certain > * IO ports. We print a message or block accesses based on a tunable. > ports 0x070 and 0x071 refer to the RTC & CMOS RAM and are blocked but > it seems your AML wants to access location 0x4c. FreeBSD prints out a > warning when in verbose mode. Note that futzing with the RTC might break the periodic clock interrupts which would explain the breakage you are seeing with top not working, etc. I would try setting 'debug.acpi.block_bad_io=1' to disable access to these registers altogether. We should probably consider changing this to block by default like other OS's (by default we still allow access to "sensitive" I/O ports and just emit a warning). -- John Baldwin