From owner-freebsd-acpi@FreeBSD.ORG Mon Jun 11 11:08:26 2007 Return-Path: X-Original-To: freebsd-acpi@FreeBSD.org Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5979016A468 for ; Mon, 11 Jun 2007 11:08:26 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2C54313C4BA for ; Mon, 11 Jun 2007 11:08:26 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5BB8Pun026511 for ; Mon, 11 Jun 2007 11:08:25 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5BB8OIC026507 for freebsd-acpi@FreeBSD.org; Mon, 11 Jun 2007 11:08:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Jun 2007 11:08:24 GMT Message-Id: <200706111108.l5BB8OIC026507@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 11 Jun 2007 11:08:26 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 o kern/55822 acpi No ACPI power off with SMP kernel o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/64002 acpi acpi problem o i386/67273 acpi [hang] system hangs with acpi and Xfree o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 f kern/73221 acpi acpi suspend ATI mobility 9000 s i386/79080 acpi acpi thermal changes freezes HP nx6110 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker 14 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/67309 acpi zzz reboot computer (ACPI S3) o i386/69750 acpi Boot without ACPI failed on ASUS L5 o i386/72179 acpi [acpi] [patch] Inconsistent apm(8) output regarding th o kern/73823 acpi [feature request] acpi / power-on by timer support f kern/74868 acpi [acpi] ACPI enabled in 5.3 Release make Kernel reboot o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys o kern/89411 acpi [acpi] acpiconf bug f kern/90871 acpi ACPI problems with ASUS A8N-VM-CSM o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI o i386/97468 acpi [acpi] ACPI on ASUS A7V hangs on shutdown -p (power of o kern/98171 acpi [acpi] ACPI 1304 / 0501 errors on Acer 5024WLMi Laptop o kern/103365 acpi [acpi] acpi poweroff doesn't work with geli device att o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108581 acpi [sysctl] sysctl: hw.acpi.cpu.cx_lowest: Invalid argume o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in f kern/109207 acpi ACPI Problem o kern/111591 acpi [acpi] dev.acpi_ibm.0.events returns I/O error (regres o kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f 20 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Jun 11 16:34:17 2007 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F1EE16A400 for ; Mon, 11 Jun 2007 16:34:17 +0000 (UTC) (envelope-from wwh@thomson-tremblay.com) Received: from vz2-vlan1.Networx-BG.com (vz2-vlan1.Networx-BG.com [82.147.153.196]) by mx1.freebsd.org (Postfix) with SMTP id 6DD6B13C448 for ; Mon, 11 Jun 2007 16:34:16 +0000 (UTC) (envelope-from wwh@thomson-tremblay.com) Message-ID: <466D7A25.1050301@lambton.on.ca> Date: Mon, 11 Jun 2007 19:36:53 +0300 From: Holmes User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: You will need a spare USB port for the camera and two audio sockets for the headset one for the microphone and the other for the speaker. 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, 11 Jun 2007 16:34:17 -0000 News Is Out! CAON Launches R&D Program to Further Production! Chan-On International Inc. Symbol: CAON Friday Close: $0.72 UP 4.35% Read the news. This company is pulling no punches. They has engaged one of the countries top R&D facilities to expand their technology. Get on CAON today! As well as a record number. A web browser sends requests to a web-server and displays the result according to standards. That's to be expected, how many of your gadgets are perfect? If you'd rather jot your notes down informally then write a blog entry - if you'd like to write a full review then articles are what you want. US Robotics Cordless Sky. Watch this space for reviews of various models as they become available. A call to Car Phone Warehouse. I used to be an IT Journalist so am reasonably technically minded, but prefer to write in simple laymens terms. Acer has been rather quiet of late. But, as I was to discover, this lack of news did not mean that the company had been resting on its laurels. He was in no doubt about the better product. Firstly, as I said last time I wrote, we've now turned on weekly site update emails. htmlHomeTopicsReviewsShop for it! Would love to hear your first impressions. Use a text link, or download an imageOur readers said. No doubt when it does arrive there will be sixty pages of bumph to say do not give it childeren to eat and other such nonsence but if you very lucky the manual will be in . This default setting can be changed, as can those for the other three mouse controls, using the supplied MouseWorks software. As a result you should take care to ensure your mouse combines a comfortable fit in your hand with the appropriate functionality to suit your needs. The only problem up until now has been that these transmitters, despite only having a very short range, have actually been illegal in the UK. However it's not finished there as it also has a World Clock, Calculator and two retro games Bricks and Smart Pixie. GadgetSpeak now has a lot of product reviews. To my mind that smacks of strong arm selling tactics. I'm happy with my own external firewall to protect my machines. Still I can well imagine these new notebooks featuring high on users' wish lists. He was in no doubt about the better product. The phones on offer for a free upgrade were singularly uninspiring. Acer has been rather quiet of late. You find the first through searching - what then? At least some of the services only work with Internet Explorer, which personally I take offense at being a dedicated FireFox user. Rest assured that we will not charge your credit card until the product is released and ships. The event was fronted by a member of Acer's marketing team rather than the usual policy of product managers taking the lead. They can use their thumb to activate these buttons. htmlHomeTopicsReviewsShop for it! although,it came with USB cable and it has pc connection switch on it. I then received an e-mail saying that it was not. Walking through the Microsoft 'Quick Tour' shows a flashy interface, tabbed browsing, search, RSS feeds and some form of enhanced security. Details of these new offerings were revealed in what the company described as a "Design Launch". Thomson Directories partnerships with companies such as Nectar, Google and MSN ensure that we continue to give more than any other directory. As well as a record number. uk then select handhelds and Pocket Loox. We would really like to hear your thoughts on the site, member or not. Maybe if I stick with it I will do a full review. The order that was placed is a pre-order for this product. I used to be an IT Journalist so am reasonably technically minded, but prefer to write in simple laymens terms. From owner-freebsd-acpi@FreeBSD.ORG Tue Jun 12 04:56:37 2007 Return-Path: X-Original-To: freebsd-acpi@hub.freebsd.org Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 912BE16A46B; Tue, 12 Jun 2007 04:56:37 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 6A05C13C45D; Tue, 12 Jun 2007 04:56:37 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5C4ub21018613; Tue, 12 Jun 2007 04:56:37 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5C4ub9n018609; Tue, 12 Jun 2007 04:56:37 GMT (envelope-from linimon) Date: Tue, 12 Jun 2007 04:56:37 GMT From: Mark Linimon Message-Id: <200706120456.l5C4ub9n018609@freefall.freebsd.org> To: galanaki@uiuc.edu, linimon@FreeBSD.org, freebsd-acpi@FreeBSD.org Cc: Subject: Re: kern/73221: acpi suspend ATI mobility 9000 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: Tue, 12 Jun 2007 04:56:37 -0000 Synopsis: acpi suspend ATI mobility 9000 State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Tue Jun 12 04:56:20 UTC 2007 State-Changed-Why: Feedback timeout (6 weeks). http://www.freebsd.org/cgi/query-pr.cgi?pr=73221 From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 13 05:41:38 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6842616A41F for ; Wed, 13 Jun 2007 05:41:38 +0000 (UTC) (envelope-from knightbg@yahoo.com) Received: from web32411.mail.mud.yahoo.com (web32411.mail.mud.yahoo.com [68.142.207.204]) by mx1.freebsd.org (Postfix) with SMTP id 2ED0513C483 for ; Wed, 13 Jun 2007 05:41:37 +0000 (UTC) (envelope-from knightbg@yahoo.com) Received: (qmail 69470 invoked by uid 60001); 13 Jun 2007 05:14:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=DQr8OHz/L1kG/ryxUE5QWffbjj6efD3QdIrSuaLZoDmSTxNTgzt0oshCj7risYRy6TRsPsK5O8LkomZdgtb8eRiANi3grr1W6sYrRYscqVm+jL8/dJMwq3/ZGohHGqQIJRba/T+FybmxDSIpM3VW7yxZ1BP0/psr7JYCbbU8w84=; X-YMail-OSG: 5ddtI.oVM1kkPx7kKCppif5hmSPJVP_SFk0K3eLxI7NfIds2O.o9rdp4HPokHK9WGfJXsygsUYQm5QUbJx97L7BgmQImFdz1ZRtrqBkOccLh8kjkYBG2jEkG95Boyw-- Received: from [72.68.200.211] by web32411.mail.mud.yahoo.com via HTTP; Tue, 12 Jun 2007 22:14:56 PDT Date: Tue, 12 Jun 2007 22:14:56 -0700 (PDT) From: Brian Gruber To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <807070.64626.qm@web32411.mail.mud.yahoo.com> Subject: no video coming out of S3 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: Wed, 13 Jun 2007 05:41:38 -0000 Hi, I'm having trouble bringing my computer out of S3 suspend, and am hoping someone may be able to help me. The computer itself successfully comes out of suspend when I press the power button, but the video does not come back. Reading about this i discovered hw.acpi.reset_video, which sounded like exactly what I needed; alas, it did nothing. Reading further mailing lists, I found mention that X's DRI could screw this up. So I set up my computer not to launch X on boot, and rebooted it (since emails seemed to say that once DRI was loaded, there was no undoing its affects without a reboot). Still, the video did not come back. i'm not sure what to do now, or even what details are helpful. I will tell you that I'm using an ATI Radeon QY RV100 7000/VE, and the computer is an IBM NetVista 8307-82U. uname -a: FreeBSD calvin 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Fri Apr 27 16:11:48 EDT 2007 root@calvin:/usr/obj/usr/src/sys/CALVIN i386 Also, I've noted that under windows on this same computer (i have it setup to dual-boot), where S3 works fine, I can bring it out of suspend with both the keyboard and mouse (both PS/2) as well as the power button. Probably just an implementation difference, but perhaps important in a way I don't understand. /brian ____________________________________________________________________________________ The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 13 07:11:32 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E9B816A468 for ; Wed, 13 Jun 2007 07:11:32 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 2353E13C4C2 for ; Wed, 13 Jun 2007 07:11:31 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 96572 invoked from network); 13 Jun 2007 07:11:34 -0000 Received: from ppp-71-139-42-13.dsl.snfc21.pacbell.net (HELO ?10.0.0.15?) (nate-mail@71.139.42.13) by root.org with ESMTPA; 13 Jun 2007 07:11:34 -0000 Message-ID: <466F98A2.3010800@root.org> Date: Wed, 13 Jun 2007 00:11:30 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.0 (X11/20070511) MIME-Version: 1.0 To: Brian Gruber References: <807070.64626.qm@web32411.mail.mud.yahoo.com> In-Reply-To: <807070.64626.qm@web32411.mail.mud.yahoo.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: no video coming out of S3 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: Wed, 13 Jun 2007 07:11:32 -0000 Brian Gruber wrote: > I'm having trouble bringing my computer out of S3 > suspend, and am hoping someone may be able to help me. > > The computer itself successfully comes out of suspend > when I press the power button, but the video does not > come back. Reading about this i discovered > hw.acpi.reset_video, which sounded like exactly what I > needed; alas, it did nothing. > > Reading further mailing lists, I found mention that > X's DRI could screw this up. So I set up my computer > not to launch X on boot, and rebooted it (since emails > seemed to say that once DRI was loaded, there was no > undoing its affects without a reboot). Still, the > video did not come back. > > i'm not sure what to do now, or even what details are > helpful. I will tell you that I'm using an ATI Radeon > QY RV100 7000/VE, and the computer is an IBM NetVista > 8307-82U. uname -a: > FreeBSD calvin 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 > #0: Fri Apr 27 16:11:48 EDT 2007 > root@calvin:/usr/obj/usr/src/sys/CALVIN i386 > > Also, I've noted that under windows on this same > computer (i have it setup to dual-boot), where S3 > works fine, I can bring it out of suspend with both > the keyboard and mouse (both PS/2) as well as the > power button. Probably just an implementation > difference, but perhaps important in a way I don't > understand. Try using the radeontool port. I think you might find some info in the acpi@ archives. I think one solution we should try is to do the various BIOS video reset routines after powering up everything again (D3->D0). At the moment, the code runs kind of early since it runs in real mode. We'd have to do it in VM86 mode after the video hw was powered back up. I thought jhb@ once had a DPMS patch that did something like this but I dunno. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 13 16:35:53 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76FF816A468 for ; Wed, 13 Jun 2007 16:35:53 +0000 (UTC) (envelope-from amistry@am-productions.biz) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.freebsd.org (Postfix) with ESMTP id BD8EE13C4BA for ; Wed, 13 Jun 2007 16:35:51 +0000 (UTC) (envelope-from amistry@am-productions.biz) Received: from [192.168.1.100] (cpe-71-72-80-132.columbus.res.rr.com [71.72.80.132]) (authenticated bits=0) by mail.united-ware.com (8.13.8/8.13.8) with ESMTP id l5DGsAnv018268 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Jun 2007 12:54:17 -0400 (EDT) (envelope-from amistry@am-productions.biz) From: Anish Mistry Organization: AM Productions To: freebsd-acpi@freebsd.org Date: Wed, 13 Jun 2007 12:25:31 -0400 User-Agent: KMail/1.9.6 References: <807070.64626.qm@web32411.mail.mud.yahoo.com> <466F98A2.3010800@root.org> In-Reply-To: <466F98A2.3010800@root.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart7675319.Ahp0FZvVfN"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200706131225.40136.amistry@am-productions.biz> X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,MYFREEBSD2, RCVD_IN_NJABL_DUL,SPF_SOFTFAIL autolearn=no version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.7/3411/Tue Jun 12 10:55:03 2007 on mail.united-ware.com X-Virus-Status: Clean Cc: Brian Gruber Subject: Re: no video coming out of S3 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: Wed, 13 Jun 2007 16:35:53 -0000 --nextPart7675319.Ahp0FZvVfN Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 13 June 2007, Nate Lawson wrote: > Brian Gruber wrote: > > I'm having trouble bringing my computer out of S3 > > suspend, and am hoping someone may be able to help me. > > > > The computer itself successfully comes out of suspend > > when I press the power button, but the video does not > > come back. Reading about this i discovered > > hw.acpi.reset_video, which sounded like exactly what I > > needed; alas, it did nothing. > > > > Reading further mailing lists, I found mention that > > X's DRI could screw this up. So I set up my computer > > not to launch X on boot, and rebooted it (since emails > > seemed to say that once DRI was loaded, there was no > > undoing its affects without a reboot). Still, the > > video did not come back. > > > > i'm not sure what to do now, or even what details are > > helpful. I will tell you that I'm using an ATI Radeon > > QY RV100 7000/VE, and the computer is an IBM NetVista > > 8307-82U. uname -a: > > FreeBSD calvin 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 > > #0: Fri Apr 27 16:11:48 EDT 2007 > > root@calvin:/usr/obj/usr/src/sys/CALVIN i386 > > > > Also, I've noted that under windows on this same > > computer (i have it setup to dual-boot), where S3 > > works fine, I can bring it out of suspend with both > > the keyboard and mouse (both PS/2) as well as the > > power button. Probably just an implementation > > difference, but perhaps important in a way I don't > > understand. > > Try using the radeontool port. I think you might find some info in > the acpi@ archives. > > I think one solution we should try is to do the various BIOS video > reset routines after powering up everything again (D3->D0). At the > moment, the code runs kind of early since it runs in real mode.=20 > We'd have to do it in VM86 mode after the video hw was powered back > up. > > I thought jhb@ once had a DPMS patch that did something like this > but I dunno. Google for acpi_video_dpms =2D-=20 Anish Mistry amistry@am-productions.biz AM Productions http://am-productions.biz/ --nextPart7675319.Ahp0FZvVfN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQBGcBqExqA5ziudZT0RAjzuAKDfIJ9dglmVdHGHuU0W8j0oru9MEACeJKBU lXb0sIvrtgJis53oZ99JLu8= =oiqQ -----END PGP SIGNATURE----- --nextPart7675319.Ahp0FZvVfN-- From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 13 17:44:50 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8464A16A475 for ; Wed, 13 Jun 2007 17:44:50 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 69B2013C44C for ; Wed, 13 Jun 2007 17:44:48 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 68944 invoked from network); 13 Jun 2007 17:33:32 -0000 Received: from ppp-71-139-42-13.dsl.snfc21.pacbell.net (HELO ?10.0.0.15?) (nate-mail@71.139.42.13) by root.org with ESMTPA; 13 Jun 2007 17:33:32 -0000 Message-ID: <46702A69.9070705@root.org> Date: Wed, 13 Jun 2007 10:33:29 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.0 (X11/20070511) MIME-Version: 1.0 To: Anish Mistry References: <807070.64626.qm@web32411.mail.mud.yahoo.com> <466F98A2.3010800@root.org> <200706131225.40136.amistry@am-productions.biz> In-Reply-To: <200706131225.40136.amistry@am-productions.biz> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, Brian Gruber Subject: Re: no video coming out of S3 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: Wed, 13 Jun 2007 17:44:50 -0000 Anish Mistry wrote: > On Wednesday 13 June 2007, Nate Lawson wrote: >> Brian Gruber wrote: >>> I'm having trouble bringing my computer out of S3 >>> suspend, and am hoping someone may be able to help me. >>> >>> The computer itself successfully comes out of suspend >>> when I press the power button, but the video does not >>> come back. Reading about this i discovered >>> hw.acpi.reset_video, which sounded like exactly what I >>> needed; alas, it did nothing. >>> >>> Reading further mailing lists, I found mention that >>> X's DRI could screw this up. So I set up my computer >>> not to launch X on boot, and rebooted it (since emails >>> seemed to say that once DRI was loaded, there was no >>> undoing its affects without a reboot). Still, the >>> video did not come back. >>> >>> i'm not sure what to do now, or even what details are >>> helpful. I will tell you that I'm using an ATI Radeon >>> QY RV100 7000/VE, and the computer is an IBM NetVista >>> 8307-82U. uname -a: >>> FreeBSD calvin 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 >>> #0: Fri Apr 27 16:11:48 EDT 2007 >>> root@calvin:/usr/obj/usr/src/sys/CALVIN i386 >>> >>> Also, I've noted that under windows on this same >>> computer (i have it setup to dual-boot), where S3 >>> works fine, I can bring it out of suspend with both >>> the keyboard and mouse (both PS/2) as well as the >>> power button. Probably just an implementation >>> difference, but perhaps important in a way I don't >>> understand. >> Try using the radeontool port. I think you might find some info in >> the acpi@ archives. >> >> I think one solution we should try is to do the various BIOS video >> reset routines after powering up everything again (D3->D0). At the >> moment, the code runs kind of early since it runs in real mode. >> We'd have to do it in VM86 mode after the video hw was powered back >> up. >> >> I thought jhb@ once had a DPMS patch that did something like this >> but I dunno. > > Google for acpi_video_dpms That's what I was thinking of. This is similar but not quite the same as what I think we should do with the lcall 0xc0000 code. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 13 19:23:52 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CB7716A400 for ; Wed, 13 Jun 2007 19:23:52 +0000 (UTC) (envelope-from mikael.ikivesi@pp.inet.fi) Received: from pne-smtpout4-sn1.fre.skanova.net (pne-smtpout4-sn1.fre.skanova.net [81.228.11.168]) by mx1.freebsd.org (Postfix) with ESMTP id 0B47513C46E for ; Wed, 13 Jun 2007 19:23:51 +0000 (UTC) (envelope-from mikael.ikivesi@pp.inet.fi) Received: from hoasb-ff0ddd00-48.dhcp.inet.fi (80.221.13.48) by pne-smtpout4-sn1.fre.skanova.net (7.2.075) id 45C775BA0067592F for freebsd-acpi@freebsd.org; Wed, 13 Jun 2007 21:20:54 +0200 From: Mikael Ikivesi To: freebsd-acpi@freebsd.org Date: Wed, 13 Jun 2007 22:23:21 +0300 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706132223.21437.mikael.ikivesi@pp.inet.fi> Subject: CURRENT-regression? 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: Wed, 13 Jun 2007 19:23:52 -0000 Just installed CURRENT snapshot from: ftp://ftp.se.freebsd.org/pub/FreeBSD/snapshots/200706 I cannot boot it with acpi turned off. It fails when trying to mount root. When I boot with acpi I get lots of error messages about no hardware response (in ec, thermal and battery). FreeBSD 6.2 can boot when acpi off. acpi on there is errors also. I dont know if this is caused by changes in acpi stuff or in other parts of kernel. So i dont know if this post should be sent to freebsd-current and not here. And even thou acpi warns about thermal being non responsive sysctl shows correctly my system temperature: #sysctl -a|grep thermal hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 40.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 85.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 98.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz1.temperature: 42.0C hw.acpi.thermal.tz1.active: -1 hw.acpi.thermal.tz1.passive_cooling: 0 hw.acpi.thermal.tz1.thermal_flags: 0 hw.acpi.thermal.tz1._PSV: -1 hw.acpi.thermal.tz1._HOT: -1 hw.acpi.thermal.tz1._CRT: 83.0C hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 Does anyone know if my system will fail to cool under load? More on errors and my system information can be seen from dmesg below. It is with unmodified DSDT. I tried also modified after fixing most errors in it. I did not understand what _WED should return so it was only one that remained....(reading acpi specification documents now) Changing ec poll delay did not do anything, but debug.acpi.disabled=ec strips some errors and error will stop to annoy me after system gives up trying to read battery. -mikael ikivesi --------------------------------------dmesg: Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-CURRENT-200706 #0: Thu Jun 7 21:38:42 UTC 2007 root@stiles.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Mobile AMD Athlon(tm) 64 Processor 3700+ (800.01-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x20f42 Stepping = 2 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 usable memory = 925507584 (882 MB) avail memory = 891461632 (850 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21 acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, 1000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 cpu0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x9000-0x90ff mem 0xc8000000-0xcfffffff,0xc0100000-0xc010ffff irq 17 at device 5.0 on pci1 ohci0: mem 0xc0000000-0xc0000fff irq 19 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 4 ports with 4 removable, self powered ohci1: mem 0xc0001000-0xc0001fff irq 19 at device 19.1 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 4 ports with 4 removable, self powered ehci0: mem 0xc0002000-0xc0002fff irq 19 at device 19.2 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 uhub2: 8 ports with 8 removable, self powered pci0: at device 20.0 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f irq 16 at device 20.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] isab0: at device 20.3 on pci0 isa0: on isab0 pcib2: at device 20.4 on pci0 pci2: on pcib2 pci2: at device 5.0 (no driver attached) rl0: port 0xa000-0xa0ff mem 0xc0208000-0xc02080ff irq 23 at device 7.0 on pci2 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:0a:e4:ac:90:fa rl0: [ITHREAD] cbb0: at device 9.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] fwohci0: <1394 Open Host Controller Interface> mem 0xc0208800-0xc0208fff,0xc0200000-0xc0203fff irq 21 at device 9.2 on pci2 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:0a:e4:05:36:10:38:51 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x35e6c000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:0a:e4:10:38:51 fwe0: Ethernet address: 02:0a:e4:10:38:51 fwip0: on firewire0 fwip0: Firewire address: 00:0a:e4:05:36:10:38:51 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode pci2: at device 9.3 (no driver attached) pci0: at device 20.5 (no driver attached) pci0: at device 20.6 (no driver attached) acpi_tz0: on acpi0 acpi_tz1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 battery0: on acpi0 acpi_acad0: on acpi0 orm0: at iomem 0xc0000-0xcffff,0xdc000-0xdffff on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 umass0: on uhub1 Timecounter "TSC" frequency 800009451 Hz quality 800 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) battery0: battery initialization start acpi_acad0: acline initialization start ad0: 76319MB at ata0-master UDMA100 acd0: DVDR at ata1-master UDMA33 GEOM_LABEL: Label for provider ad0s1 is ext2fs/root. GEOM_LABEL: Label for provider ad0s5 is ext2fs/tmp. GEOM_LABEL: Label for provider ad0s7 is reiserfs/home. GEOM_LABEL: Label for provider ad0s8 is ext2fs/taotao. GEOM_LABEL: Label for provider ad0s9 is ext2fs/portage. acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_TZ_.TZS0._TMP] (Node 0xffffff0000dbe720), AE_NO_HARDWARE_RESPONSE acpi_tz0: error fetching current temperature -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._STA] (Node 0xffffff0000e52500), AE_NO_HARDWARE_RESPONSE ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._STA] (Node 0xffffff0000e52500), AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBST] (Node 0xffffff0000e52600), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BST] (Node 0xffffff0000e524c0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery status -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBIF] (Node 0xffffff0000e52620), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BIF] (Node 0xffffff0000e524e0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery info -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_TZ_.TZS0._TMP] (Node 0xffffff0000dbe720), AE_NO_HARDWARE_RESPONSE acpi_tz0: error fetching current temperature -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.ADP1._PSR] (Node 0xffffff0000e52440), AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_TZ_.TZS0._TMP] (Node 0xffffff0000dbe720), AE_NO_HARDWARE_RESPONSE acpi_tz0: error fetching current temperature -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_._Q3A] (Node 0xffffff0000e5e7c0), AE_NO_HARDWARE_RESPONSE acpi_ec0: evaluation of GPE query method _Q3A failed - AE_NO_HARDWARE_RESPONSE da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 31MB (64000 512 byte sectors: 64H 32S/T 31C) Trying to mount root from ufs:/dev/ad0s3a acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBST] (Node 0xffffff0000e52600), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BST] (Node 0xffffff0000e524c0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery status -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBST] (Node 0xffffff0000e52600), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BST] (Node 0xffffff0000e524c0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery status -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBST] (Node 0xffffff0000e52600), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BST] (Node 0xffffff0000e524c0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery status -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_TZ_.TZS0._TMP] (Node 0xffffff0000dbe720), AE_NO_HARDWARE_RESPONSE acpi_tz0: error fetching current temperature -- AE_NO_HARDWARE_RESPONSE acpi_acad0: On Line acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBIF] (Node 0xffffff0000e52620), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BIF] (Node 0xffffff0000e524e0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery info -- AE_NO_HARDWARE_RESPONSE acpi_acad0: acline initialization done, tried 2 times acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBIF] (Node 0xffffff0000e52620), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BIF] (Node 0xffffff0000e524e0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery info -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBIF] (Node 0xffffff0000e52620), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BIF] (Node 0xffffff0000e524e0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery info -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBIF] (Node 0xffffff0000e52620), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BIF] (Node 0xffffff0000e524e0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery info -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBIF] (Node 0xffffff0000e52620), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BIF] (Node 0xffffff0000e524e0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery info -- AE_NO_HARDWARE_RESPONSE battery0: battery initialization failed, giving up acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_TZ_.TZS0._TMP] (Node 0xffffff0000dbe720), AE_NO_HARDWARE_RESPONSE acpi_tz0: error fetching current temperature -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_TZ_.TZS0._TMP] (Node 0xffffff0000dbe720), AE_NO_HARDWARE_RESPONSE acpi_tz0: error fetching current temperature -- AE_NO_HARDWARE_RESPONSE From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 13 19:45:26 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B04D16A46B for ; Wed, 13 Jun 2007 19:45:26 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id DAB1313C4BC for ; Wed, 13 Jun 2007 19:45:25 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 82525 invoked from network); 13 Jun 2007 19:42:16 -0000 Received: from ppp-71-139-42-13.dsl.snfc21.pacbell.net (HELO ?10.0.0.15?) (nate-mail@71.139.42.13) by root.org with ESMTPA; 13 Jun 2007 19:42:16 -0000 Message-ID: <46704896.5060603@root.org> Date: Wed, 13 Jun 2007 12:42:14 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.0 (X11/20070511) MIME-Version: 1.0 To: Mikael Ikivesi References: <200706132223.21437.mikael.ikivesi@pp.inet.fi> In-Reply-To: <200706132223.21437.mikael.ikivesi@pp.inet.fi> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: CURRENT-regression? 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: Wed, 13 Jun 2007 19:45:26 -0000 Mikael Ikivesi wrote: > Just installed CURRENT snapshot from: > ftp://ftp.se.freebsd.org/pub/FreeBSD/snapshots/200706 > > I cannot boot it with acpi turned off. It fails when trying to mount root. > > When I boot with acpi I get lots of error messages about no hardware response > (in ec, thermal and battery). EC is the root cause, and it's not optional. You need it with acpi enabled. I think the actual error is here: > acpi0: reservation of 0, 1000 (3) failed That is type SYS_RES_MEMORY, which seems bogus (should be IO ports). Can you send ASL in private mail? acpidump -dt | gzip -9c > my.asl.gz Also, can you send dmesg from a successful 6.2 boot? You can use a live CD like FreesBIE to avoid installing it. -Nate > acpi0: on motherboard > acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21 > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: reservation of 0, 1000 (3) failed > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 > acpi_ec0: port 0x62,0x66 on acpi0 ... > acpi_ec0: EcRead: Failed waiting for EC to send data. > ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler > for [EmbeddedControl] [20070320] > ACPI Error (psparse-0626): Method parse/execution failed [\\_TZ_.TZS0._TMP] > (Node 0xffffff0000dbe720), AE_NO_HARDWARE_RESPONSE From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 13 20:22:52 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95B6316A400 for ; Wed, 13 Jun 2007 20:22:52 +0000 (UTC) (envelope-from mikael.ikivesi@pp.inet.fi) Received: from pne-smtpout4-sn1.fre.skanova.net (pne-smtpout4-sn1.fre.skanova.net [81.228.11.168]) by mx1.freebsd.org (Postfix) with ESMTP id 23E6E13C448 for ; Wed, 13 Jun 2007 20:22:52 +0000 (UTC) (envelope-from mikael.ikivesi@pp.inet.fi) Received: from hoasb-ff0ddd00-48.dhcp.inet.fi (80.221.13.48) by pne-smtpout4-sn1.fre.skanova.net (7.2.075) id 45C775BA006757ED for freebsd-acpi@freebsd.org; Wed, 13 Jun 2007 21:13:13 +0200 From: Mikael Ikivesi To: freebsd-acpi@freebsd.org Date: Wed, 13 Jun 2007 22:15:39 +0300 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706132215.39902.mikael.ikivesi@pp.inet.fi> Subject: CURRENT-regression? 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: Wed, 13 Jun 2007 20:22:52 -0000 Just installed CURRENT snapshot from: ftp://ftp.se.freebsd.org/pub/FreeBSD/snapshots/200706 I cannot boot it with acpi turned off. It fails when trying to mount root. When I boot with acpi I get lots of error messages about no hardware response (in ec, thermal and battery). FreeBSD 6.2 can boot when acpi off. acpi on there is errors also. I dont know if this is caused by changes in acpi stuff or in other parts of kernel. So i dont know if this post should be sent to freebsd-current and not here. And even thou acpi warns about thermal being non responsive sysctl shows correctly my system temperature: #sysctl -a|grep thermal hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 40.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 85.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 98.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz1.temperature: 42.0C hw.acpi.thermal.tz1.active: -1 hw.acpi.thermal.tz1.passive_cooling: 0 hw.acpi.thermal.tz1.thermal_flags: 0 hw.acpi.thermal.tz1._PSV: -1 hw.acpi.thermal.tz1._HOT: -1 hw.acpi.thermal.tz1._CRT: 83.0C hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 Does anyone know if my system will fail to cool under load? More on errors and my system information can be seen from dmesg below. It is with unmodified DSDT. I tried also modified after fixing most errors in it. I did not understand what _WED should return so it was only one that remained....(reading acpi specification documents now) Changing ec poll delay did not do anything, but debug.acpi.disabled=ec strips some errors and error will stop to annoy me after system gives up trying to read battery. -mikael ikivesi --------------------------------------dmesg----------- Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-CURRENT-200706 #0: Thu Jun 7 21:38:42 UTC 2007 root@stiles.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Mobile AMD Athlon(tm) 64 Processor 3700+ (800.01-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x20f42 Stepping = 2 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 usable memory = 925507584 (882 MB) avail memory = 891461632 (850 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21 acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, 1000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 cpu0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x9000-0x90ff mem 0xc8000000-0xcfffffff,0xc0100000-0xc010ffff irq 17 at device 5.0 on pci1 ohci0: mem 0xc0000000-0xc0000fff irq 19 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 4 ports with 4 removable, self powered ohci1: mem 0xc0001000-0xc0001fff irq 19 at device 19.1 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 4 ports with 4 removable, self powered ehci0: mem 0xc0002000-0xc0002fff irq 19 at device 19.2 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 uhub2: 8 ports with 8 removable, self powered pci0: at device 20.0 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f irq 16 at device 20.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] isab0: at device 20.3 on pci0 isa0: on isab0 pcib2: at device 20.4 on pci0 pci2: on pcib2 pci2: at device 5.0 (no driver attached) rl0: port 0xa000-0xa0ff mem 0xc0208000-0xc02080ff irq 23 at device 7.0 on pci2 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:0a:e4:ac:90:fa rl0: [ITHREAD] cbb0: at device 9.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] fwohci0: <1394 Open Host Controller Interface> mem 0xc0208800-0xc0208fff,0xc0200000-0xc0203fff irq 21 at device 9.2 on pci2 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:0a:e4:05:36:10:38:51 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x35e6c000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:0a:e4:10:38:51 fwe0: Ethernet address: 02:0a:e4:10:38:51 fwip0: on firewire0 fwip0: Firewire address: 00:0a:e4:05:36:10:38:51 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode pci2: at device 9.3 (no driver attached) pci0: at device 20.5 (no driver attached) pci0: at device 20.6 (no driver attached) acpi_tz0: on acpi0 acpi_tz1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 battery0: on acpi0 acpi_acad0: on acpi0 orm0: at iomem 0xc0000-0xcffff,0xdc000-0xdffff on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 umass0: on uhub1 Timecounter "TSC" frequency 800009451 Hz quality 800 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) battery0: battery initialization start acpi_acad0: acline initialization start ad0: 76319MB at ata0-master UDMA100 acd0: DVDR at ata1-master UDMA33 GEOM_LABEL: Label for provider ad0s1 is ext2fs/root. GEOM_LABEL: Label for provider ad0s5 is ext2fs/tmp. GEOM_LABEL: Label for provider ad0s7 is reiserfs/home. GEOM_LABEL: Label for provider ad0s8 is ext2fs/taotao. GEOM_LABEL: Label for provider ad0s9 is ext2fs/portage. acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_TZ_.TZS0._TMP] (Node 0xffffff0000dbe720), AE_NO_HARDWARE_RESPONSE acpi_tz0: error fetching current temperature -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._STA] (Node 0xffffff0000e52500), AE_NO_HARDWARE_RESPONSE ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._STA] (Node 0xffffff0000e52500), AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBST] (Node 0xffffff0000e52600), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BST] (Node 0xffffff0000e524c0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery status -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBIF] (Node 0xffffff0000e52620), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BIF] (Node 0xffffff0000e524e0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery info -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_TZ_.TZS0._TMP] (Node 0xffffff0000dbe720), AE_NO_HARDWARE_RESPONSE acpi_tz0: error fetching current temperature -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.ADP1._PSR] (Node 0xffffff0000e52440), AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_TZ_.TZS0._TMP] (Node 0xffffff0000dbe720), AE_NO_HARDWARE_RESPONSE acpi_tz0: error fetching current temperature -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_._Q3A] (Node 0xffffff0000e5e7c0), AE_NO_HARDWARE_RESPONSE acpi_ec0: evaluation of GPE query method _Q3A failed - AE_NO_HARDWARE_RESPONSE da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 31MB (64000 512 byte sectors: 64H 32S/T 31C) Trying to mount root from ufs:/dev/ad0s3a acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBST] (Node 0xffffff0000e52600), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BST] (Node 0xffffff0000e524c0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery status -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBST] (Node 0xffffff0000e52600), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BST] (Node 0xffffff0000e524c0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery status -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBST] (Node 0xffffff0000e52600), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BST] (Node 0xffffff0000e524c0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery status -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_TZ_.TZS0._TMP] (Node 0xffffff0000dbe720), AE_NO_HARDWARE_RESPONSE acpi_tz0: error fetching current temperature -- AE_NO_HARDWARE_RESPONSE acpi_acad0: On Line acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBIF] (Node 0xffffff0000e52620), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BIF] (Node 0xffffff0000e524e0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery info -- AE_NO_HARDWARE_RESPONSE acpi_acad0: acline initialization done, tried 2 times acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBIF] (Node 0xffffff0000e52620), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BIF] (Node 0xffffff0000e524e0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery info -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBIF] (Node 0xffffff0000e52620), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BIF] (Node 0xffffff0000e524e0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery info -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBIF] (Node 0xffffff0000e52620), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BIF] (Node 0xffffff0000e524e0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery info -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.GBIF] (Node 0xffffff0000e52620), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.EC0_.BAT0._BIF] (Node 0xffffff0000e524e0), AE_NO_HARDWARE_RESPONSE battery0: error fetching current battery info -- AE_NO_HARDWARE_RESPONSE battery0: battery initialization failed, giving up acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_TZ_.TZS0._TMP] (Node 0xffffff0000dbe720), AE_NO_HARDWARE_RESPONSE acpi_tz0: error fetching current temperature -- AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI Exception (evregion-0529): AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_TZ_.TZS0._TMP] (Node 0xffffff0000dbe720), AE_NO_HARDWARE_RESPONSE acpi_tz0: error fetching current temperature -- AE_NO_HARDWARE_RESPONSE From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 13 21:53:29 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E15816A41F for ; Wed, 13 Jun 2007 21:53:29 +0000 (UTC) (envelope-from knightbg@yahoo.com) Received: from web32407.mail.mud.yahoo.com (web32407.mail.mud.yahoo.com [68.142.207.200]) by mx1.freebsd.org (Postfix) with SMTP id 16B0113C44C for ; Wed, 13 Jun 2007 21:53:28 +0000 (UTC) (envelope-from knightbg@yahoo.com) Received: (qmail 17912 invoked by uid 60001); 13 Jun 2007 21:53:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=qEQG3qEXREc/+bpk39GyNOyZDkSGz3g6OSGAuJ4GduJ0SZQBFEIPbemSLqj3sa2lmUbN7P1mdiwXewt7+9CO9Zbpvk6v2blvpUZSHMUtefxpTlJarXwLsYcctdXuhTUcRqJDPqIBw4maYf0BlTf5T28l0gyeP5JUt/W4EPx1kTE=; X-YMail-OSG: jJOQ5aYVM1m26.414UDWEB0qG.IgQQySLTvq5IymkRmQg5V_Xy_yK5PtSE5LCRW8otaKNsAvMJahVK8bz6J6mo1a8McyI3snf_oi0jDvCcxha9jQwMNZ77FWoJdQgA-- Received: from [72.68.200.211] by web32407.mail.mud.yahoo.com via HTTP; Wed, 13 Jun 2007 14:53:28 PDT Date: Wed, 13 Jun 2007 14:53:28 -0700 (PDT) From: Brian Gruber To: Anish Mistry , freebsd-acpi@freebsd.org In-Reply-To: <200706131225.40136.amistry@am-productions.biz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <562170.17245.qm@web32407.mail.mud.yahoo.com> X-Mailman-Approved-At: Wed, 13 Jun 2007 22:17:51 +0000 Cc: Brian Gruber Subject: Re: no video coming out of S3 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: Wed, 13 Jun 2007 21:53:29 -0000 --- Anish Mistry wrote: > On Wednesday 13 June 2007, Nate Lawson wrote: > > Brian Gruber wrote: > > > I'm having trouble bringing my computer out of > S3 > > > suspend, and am hoping someone may be able to > help me. > > > > > > > Try using the radeontool port. I think you might > find some info in > > the acpi@ archives. The radeontool port will successfully turn the video signal on and off (with dac on/dac off), though it doesn't actually get the monitor to go into power-save mode. After coming out of suspend, radeontool does nothing, merely complaining that it is "Not memory mapped" (I can see the error message by ssh'ing in and running radeontool that way). > > > > I think one solution we should try is to do the > various BIOS video > > reset routines after powering up everything again > (D3->D0). At the > > moment, the code runs kind of early since it runs > in real mode. > > We'd have to do it in VM86 mode after the video hw > was powered back > > up. > > > > I thought jhb@ once had a DPMS patch that did > something like this > > but I dunno. > Google for acpi_video_dpms > I tried patching my kernel with this, but it didn't do anything either. I tried it with hw.acpi.reset_video=1 and =0. radeontool still doesn't work w/ this patch either. Also I should note that the tty green saver puts my monitor in and out of power-save with no trouble (yes, i have also tried turning the green saver off, but it hasn't made a difference either). Before I ran any of these tests, I set my computer to not load X on boot and rebooted. Any more suggestions? /brian ____________________________________________________________________________________ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 14 06:24:48 2007 Return-Path: X-Original-To: freebsd-acpi@hub.freebsd.org Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CAD3E16A41F; Thu, 14 Jun 2007 06:24:48 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id A2A4F13C46E; Thu, 14 Jun 2007 06:24:48 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5E6Om44051970; Thu, 14 Jun 2007 06:24:48 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5E6OlQN051966; Thu, 14 Jun 2007 06:24:47 GMT (envelope-from linimon) Date: Thu, 14 Jun 2007 06:24:47 GMT From: Mark Linimon Message-Id: <200706140624.l5E6OlQN051966@freefall.freebsd.org> To: joerg.ruppe-tanner@ch-open.ch, linimon@FreeBSD.org, freebsd-acpi@FreeBSD.org Cc: Subject: Re: kern/74868: [acpi] ACPI enabled in 5.3 Release make Kernel reboot in 5.3.b7 not!! 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, 14 Jun 2007 06:24:48 -0000 Synopsis: [acpi] ACPI enabled in 5.3 Release make Kernel reboot in 5.3.b7 not!! State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Thu Jun 14 06:24:19 UTC 2007 State-Changed-Why: Feedback timeout (1 month). http://www.freebsd.org/cgi/query-pr.cgi?pr=74868 From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 14 06:32:11 2007 Return-Path: X-Original-To: freebsd-acpi@hub.freebsd.org Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BFCFB16A46C; Thu, 14 Jun 2007 06:32:11 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 97E7E13C447; Thu, 14 Jun 2007 06:32:11 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5E6WBvT053894; Thu, 14 Jun 2007 06:32:11 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5E6WBNA053890; Thu, 14 Jun 2007 06:32:11 GMT (envelope-from linimon) Date: Thu, 14 Jun 2007 06:32:11 GMT From: Mark Linimon Message-Id: <200706140632.l5E6WBNA053890@freefall.freebsd.org> To: paul.lkw@mfun.org, linimon@FreeBSD.org, freebsd-acpi@FreeBSD.org Cc: Subject: Re: kern/90871: ACPI problems with ASUS A8N-VM-CSM 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, 14 Jun 2007 06:32:11 -0000 Synopsis: ACPI problems with ASUS A8N-VM-CSM State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Thu Jun 14 06:31:51 UTC 2007 State-Changed-Why: Feedback timeout (> 1 month). http://www.freebsd.org/cgi/query-pr.cgi?pr=90871 From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 15 10:17:22 2007 Return-Path: X-Original-To: freebsd-acpi@hub.freebsd.org Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B22016A468; Fri, 15 Jun 2007 10:17:22 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id D442A13C458; Fri, 15 Jun 2007 10:17:21 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5FAHLnT089821; Fri, 15 Jun 2007 10:17:21 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5FAHLvf089817; Fri, 15 Jun 2007 10:17:21 GMT (envelope-from linimon) Date: Fri, 15 Jun 2007 10:17:21 GMT From: Mark Linimon Message-Id: <200706151017.l5FAHLvf089817@freefall.freebsd.org> To: nhockey@gmail.com, linimon@FreeBSD.org, freebsd-acpi@FreeBSD.org Cc: Subject: Re: kern/109207: ACPI Problem 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: Fri, 15 Jun 2007 10:17:22 -0000 Synopsis: ACPI Problem State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Fri Jun 15 10:16:49 UTC 2007 State-Changed-Why: Submitter notes that the original problem seems to have been solved. http://www.freebsd.org/cgi/query-pr.cgi?pr=109207 From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 16 05:06:36 2007 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 55F0C16A400 for ; Sat, 16 Jun 2007 05:06:36 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 39BD013C468 for ; Sat, 16 Jun 2007 05:06:36 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 24030 invoked from network); 16 Jun 2007 03:00:58 -0000 Received: from ppp-71-139-42-13.dsl.snfc21.pacbell.net (HELO ?10.0.0.15?) (nate-mail@71.139.42.13) by root.org with ESMTPA; 16 Jun 2007 03:00:58 -0000 Message-ID: <46735262.50601@root.org> Date: Fri, 15 Jun 2007 20:00:50 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.0 (X11/20070511) MIME-Version: 1.0 To: current X-Enigmail-Version: 0.95.0 Content-Type: multipart/mixed; boundary="------------050800030600070904060503" Cc: acpi@freebsd.org Subject: smi speedstep patch 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: Sat, 16 Jun 2007 05:06:36 -0000 This is a multi-part message in MIME format. --------------050800030600070904060503 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit If you have a pentium 3 that works for speedstep, please try this patch. It fixes the PAE case. Compile-tested. -- Nate --------------050800030600070904060503 Content-Type: text/x-patch; name="smist.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="smist.diff" Index: sys/i386/cpufreq/smist.c =================================================================== RCS file: /home/ncvs/src/sys/i386/cpufreq/smist.c,v retrieving revision 1.1 diff -d -u -r1.1 smist.c --- sys/i386/cpufreq/smist.c 19 Apr 2005 16:38:24 -0000 1.1 +++ sys/i386/cpufreq/smist.c 16 Jun 2007 02:42:03 -0000 @@ -45,6 +45,7 @@ #include #include +#include #include #include @@ -71,6 +72,8 @@ struct cf_setting sets[2]; /* Only two settings. */ }; +static char smist_magic[] = "Copyright (c) 1999 Intel Corporation"; + static void smist_identify(driver_t *driver, device_t parent); static int smist_probe(device_t dev); static int smist_attach(device_t dev); @@ -150,16 +153,39 @@ static int set_ownership(device_t dev) { - int result; struct smist_softc *sc; - vm_paddr_t pmagic; - static char magic[] = "Copyright (c) 1999 Intel Corporation"; + bus_dma_tag_t tag; + bus_dmamap_t map; + void *magic_buf; + int result; + /* + * Specify the region to store the magic string. Since its address is + * passed to the BIOS in a 32-bit register, we have to make sure it is + * located in a buffer below 4 GB (i.e., for PAE.) + */ sc = device_get_softc(dev); - if (!sc) + if (bus_dma_tag_create(/*parent*/ NULL, + /*alignment*/ PAGE_SIZE, /*no boundary*/ 0, + /*lowaddr*/ 0, /*highaddr*/ (1<<31), NULL, NULL, + /*maxsize*/ PAGE_SIZE, /*segments*/ 1, /*maxsegsize*/ PAGE_SIZE, + 0, busdma_lock_mutex, &Giant, &tag) != 0) { + device_printf(dev, "can't create mem tag\n"); return (ENXIO); - - pmagic = vtophys(magic); + } + if (bus_dmamem_alloc(tag, &magic_buf, BUS_DMA_NOWAIT, &map) != 0) { + bus_dma_tag_destroy(tag); + device_printf(dev, "can't alloc mapped mem\n"); + return (ENXIO); + } + if (bus_dmamap_load(tag, map, magic_buf, PAGE_SIZE, NULL, NULL, + BUS_DMA_NOWAIT) != 0) { + bus_dmamem_free(tag, magic_buf, map); + bus_dma_tag_destroy(tag); + device_printf(dev, "can't load mem\n"); + return (ENXIO); + }; + strlcpy(magic_buf, smist_magic, PAGE_SIZE); __asm __volatile( "movl $-1, %%edi\n\t" @@ -169,11 +195,14 @@ "b" (0), "c" (0), "d" (sc->smi_cmd), - "S" (pmagic) + "S" ((u_int)(uintptr_t)magic_buf) ); DPRINT(dev, "taking ownership over BIOS return %d\n", result); + bus_dmamap_unload(tag, map); + bus_dmamem_free(tag, magic_buf, map); + bus_dma_tag_destroy(tag); return (result ? ENXIO : 0); } --------------050800030600070904060503-- From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 16 07:54:37 2007 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8073416A400 for ; Sat, 16 Jun 2007 07:54:37 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 6AE1F13C45D for ; Sat, 16 Jun 2007 07:54:37 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 37432 invoked from network); 16 Jun 2007 05:35:18 -0000 Received: from ppp-71-139-42-13.dsl.snfc21.pacbell.net (HELO ?10.0.0.15?) (nate-mail@71.139.42.13) by root.org with ESMTPA; 16 Jun 2007 05:35:18 -0000 Message-ID: <4673768D.1050805@root.org> Date: Fri, 15 Jun 2007 22:35:09 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.0 (X11/20070511) MIME-Version: 1.0 To: current References: <46735262.50601@root.org> In-Reply-To: <46735262.50601@root.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: acpi@freebsd.org Subject: Re: smi speedstep patch 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: Sat, 16 Jun 2007 07:54:37 -0000 Nate Lawson wrote: > If you have a pentium 3 that works for speedstep, please try this patch. > It fixes the PAE case. Compile-tested. Hmm, I see it's no longer getting the physical address, just virtual. So need to fix that part. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 16 10:40:11 2007 Return-Path: X-Original-To: freebsd-acpi@hub.freebsd.org Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B758916A41F for ; Sat, 16 Jun 2007 10:40:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 6231013C458 for ; Sat, 16 Jun 2007 10:40:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5GAeB03062095 for ; Sat, 16 Jun 2007 10:40:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5GAeBiJ062088; Sat, 16 Jun 2007 10:40:11 GMT (envelope-from gnats) Date: Sat, 16 Jun 2007 10:40:11 GMT Message-Id: <200706161040.l5GAeBiJ062088@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: "[LoN]Kamikaze" Cc: Subject: Re: kern/111591: [acpi] dev.acpi_ibm.0.events returns I/O error (regression) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "\[LoN\]Kamikaze" List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2007 10:40:11 -0000 The following reply was made to PR kern/111591; it has been noted by GNATS. From: "[LoN]Kamikaze" To: bug-followup@FreeBSD.org, lon_kamikaze@gmx.de Cc: Subject: Re: kern/111591: [acpi] dev.acpi_ibm.0.events returns I/O error (regression) Date: Sat, 16 Jun 2007 12:04:22 +0200 The problem is not present in today's stable, so I think this can be closed. Thanks a lot. FreeBSD mobileKamikaze.norad 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Jun 16 11:16:01 CEST 2007 root@mobileKamikaze.norad:/usr/obj/TPR40-6/i386/usr/src/sys/TPR40-6 i386 From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 16 12:56:57 2007 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0CF9A16A41F for ; Sat, 16 Jun 2007 12:56:57 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id C337D13C48C for ; Sat, 16 Jun 2007 12:56:56 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by py-out-1112.google.com with SMTP id a29so2167098pyi for ; Sat, 16 Jun 2007 05:56:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VcmLwke46dSzj/WW3fl26l2ClZD/QObGchNabND4nJUpTPNJ2GacQ5YH5KB2J5WvU6V36vurtLreWppKX0UEik3EDcmwn32fEEDUxDZvFL0D6TEU+YpQMNctjSDXCZJizEBsOjfk3eAirHiSY/szaBT5o7v4iA52HJUPqBwlBvQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Z+SSLmyfzBBNWpEvMHxx9Glg5H0rUwkVSZci9JimBxotphqF7ZRfpbWLkWs690WmbuFh/VsEsj98VCBUAjjaotSvJ1i9NXueDSrBX+thGNpv4U3EUibQFL6mTa1Y8G1xsk3YIuL48U4iPuEb7avwBsa3ta5FSZd2KFYxLycSswo= Received: by 10.65.219.20 with SMTP id w20mr6598100qbq.1181996880305; Sat, 16 Jun 2007 05:28:00 -0700 (PDT) Received: by 10.64.195.19 with HTTP; Sat, 16 Jun 2007 05:28:00 -0700 (PDT) Message-ID: <6eb82e0706160528x6be81f8cl50efaf4193b91ece@mail.gmail.com> Date: Sat, 16 Jun 2007 20:28:00 +0800 From: "Rong-en Fan" To: acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: function key, reboot, and X31 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: Sat, 16 Jun 2007 12:56:57 -0000 Hi, Recently I have a chance to reinstall my old X31. First, I found that after I press the function key fn+XX, the whole computer hangs. Also, it can't reboot. It just hangs there. Before reinstall this laptop, I run Ubuntu Linux on it, it works well. Then, I remembered that I need to disable the secondary IDE device from ThinkPad Configuration program (clive@ mentioned this in 2004 here). After that it works well. It looks like that Linux's acpi code works well with the secondary IDE device (on the ultra bay) enabled. Is there anyway to trace what's happen in our acpi code? Thanks, Rong-En Fan From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 16 15:59:37 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61B1D16A400 for ; Sat, 16 Jun 2007 15:59:37 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id 2939413C46A for ; Sat, 16 Jun 2007 15:59:36 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by solow.pil.dk (Postfix) with ESMTP id EA9861CC0C9 for ; Sat, 16 Jun 2007 17:59:35 +0200 (CEST) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id 6C279B8B3; Sat, 16 Jun 2007 17:59:35 +0200 (CEST) Date: Sat, 16 Jun 2007 17:59:35 +0200 From: Henrik Brix Andersen To: freebsd-acpi@freebsd.org Message-ID: <20070616155935.GC69585@tirith.brixandersen.dk> Mail-Followup-To: freebsd-acpi@freebsd.org References: <6eb82e0706160528x6be81f8cl50efaf4193b91ece@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0lnxQi9hkpPO77W3" Content-Disposition: inline In-Reply-To: <6eb82e0706160528x6be81f8cl50efaf4193b91ece@mail.gmail.com> X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.15 (2007-04-06) Subject: Re: function key, reboot, and X31 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: Sat, 16 Jun 2007 15:59:37 -0000 --0lnxQi9hkpPO77W3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 16, 2007 at 08:28:00PM +0800, Rong-en Fan wrote: > Recently I have a chance to reinstall my old X31. First, > I found that after I press the function key fn+XX, the whole > computer hangs. Also, it can't reboot. It just hangs there. This sounds like the problem reported in kern/97383 :) Regards, Brix --=20 Henrik Brix Andersen --0lnxQi9hkpPO77W3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: GnuPG signed iD8DBQFGdAjmv+Q4flTiePgRArgsAJ4hz+saqYdkbtm7WN0u6LvBFmDesQCfdTN0 BDbuG14xUxzOTTxCnHSQZUQ= =yrYp -----END PGP SIGNATURE----- --0lnxQi9hkpPO77W3-- From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 16 18:00:46 2007 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 477F416A47F for ; Sat, 16 Jun 2007 18:00:46 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 2B33713C44B for ; Sat, 16 Jun 2007 18:00:46 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 11778 invoked from network); 16 Jun 2007 17:09:33 -0000 Received: from ppp-71-139-42-13.dsl.snfc21.pacbell.net (HELO ?10.0.0.15?) (nate-mail@71.139.42.13) by root.org with ESMTPA; 16 Jun 2007 17:09:33 -0000 Message-ID: <46741947.3050200@root.org> Date: Sat, 16 Jun 2007 10:09:27 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.0 (X11/20070511) MIME-Version: 1.0 To: current References: <46735262.50601@root.org> <4673768D.1050805@root.org> In-Reply-To: <4673768D.1050805@root.org> X-Enigmail-Version: 0.95.0 Content-Type: multipart/mixed; boundary="------------000906000805010402060001" Cc: acpi@freebsd.org Subject: Re: smi speedstep patch 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: Sat, 16 Jun 2007 18:00:46 -0000 This is a multi-part message in MIME format. --------------000906000805010402060001 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Nate Lawson wrote: > Nate Lawson wrote: >> If you have a pentium 3 that works for speedstep, please try this patch. >> It fixes the PAE case. Compile-tested. > > Hmm, I see it's no longer getting the physical address, just virtual. > So need to fix that part. Attached is the updated patch. It uses the low kernel map where P=V and fixes the callback. I just need someone who is using smi-speedstep (440bx chipset with pentium 3) to make sure the device still attaches. Patch should work on 6.x and 7.x. -- Nate --------------000906000805010402060001 Content-Type: text/x-patch; name="smist.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="smist.diff" Index: sys/i386/cpufreq/smist.c =================================================================== RCS file: /home/ncvs/src/sys/i386/cpufreq/smist.c,v retrieving revision 1.1 diff -u -r1.1 smist.c --- sys/i386/cpufreq/smist.c 19 Apr 2005 16:38:24 -0000 1.1 +++ sys/i386/cpufreq/smist.c 16 Jun 2007 16:58:34 -0000 @@ -45,6 +45,7 @@ #include #include +#include #include #include @@ -71,6 +72,8 @@ struct cf_setting sets[2]; /* Only two settings. */ }; +static char smist_magic[] = "Copyright (c) 1999 Intel Corporation"; + static void smist_identify(driver_t *driver, device_t parent); static int smist_probe(device_t dev); static int smist_attach(device_t dev); @@ -147,34 +150,86 @@ return (0); } -static int -set_ownership(device_t dev) -{ - int result; - struct smist_softc *sc; - vm_paddr_t pmagic; - static char magic[] = "Copyright (c) 1999 Intel Corporation"; +/* Temporary structure to hold mapped page and status. */ +struct set_ownership_data { + int smi_cmd; + int command; + int result; + void *buf; +}; - sc = device_get_softc(dev); - if (!sc) - return (ENXIO); +/* Perform actual SMI call to enable SpeedStep. */ +static void +set_ownership_cb(void *arg, bus_dma_segment_t *segs, int nsegs, int error) +{ + struct set_ownership_data *data; - pmagic = vtophys(magic); + data = arg; + if (error) { + data->result = error; + return; + } + strlcpy(data->buf, smist_magic, PAGE_SIZE); __asm __volatile( "movl $-1, %%edi\n\t" "out %%al, (%%dx)\n" - : "=D" (result) - : "a" (sc->command), + : "=D" (data->result) + : "a" (data->command), "b" (0), "c" (0), - "d" (sc->smi_cmd), - "S" (pmagic) + "d" (data->smi_cmd), + "S" ((uint32_t)segs[0].ds_addr) ); +} + +static int +set_ownership(device_t dev) +{ + struct smist_softc *sc; + struct set_ownership_data cb_data; + bus_dma_tag_t tag; + bus_dmamap_t map; + + /* + * Specify the region to store the magic string. Since its address is + * passed to the BIOS in a 32-bit register, we have to make sure it is + * located in a physical page below 4 GB (i.e., for PAE.) Since the + * kernel has an identity map for the first 2 MB, we can get a V=P + * page in the first 1 MB and use it for this purpose. + */ + sc = device_get_softc(dev); + if (bus_dma_tag_create(/*parent*/ NULL, + /*alignment*/ PAGE_SIZE, /*no boundary*/ 0, + /*lowaddr*/ 0x9ffff, /*highaddr*/ BUS_SPACE_MAXADDR, + NULL, NULL, /*maxsize*/ PAGE_SIZE, /*segments*/ 1, + /*maxsegsize*/ PAGE_SIZE, + 0, busdma_lock_mutex, &Giant, &tag) != 0) { + device_printf(dev, "can't create mem tag\n"); + return (ENXIO); + } + if (bus_dmamem_alloc(tag, &cb_data.buf, BUS_DMA_NOWAIT, &map) != 0) { + bus_dma_tag_destroy(tag); + device_printf(dev, "can't alloc mapped mem\n"); + return (ENXIO); + } + + cb_data.smi_cmd = sc->smi_cmd; + cb_data.command = sc->command; + if (bus_dmamap_load(tag, map, cb_data.buf, PAGE_SIZE, set_ownership_cb, + &cb_data, BUS_DMA_NOWAIT) != 0) { + bus_dmamem_free(tag, cb_data.buf, map); + bus_dma_tag_destroy(tag); + device_printf(dev, "can't load mem\n"); + return (ENXIO); + }; - DPRINT(dev, "taking ownership over BIOS return %d\n", result); + DPRINT(dev, "taking ownership over BIOS return %d\n", cb_data.result); - return (result ? ENXIO : 0); + bus_dmamap_unload(tag, map); + bus_dmamem_free(tag, cb_data.buf, map); + bus_dma_tag_destroy(tag); + return (cb_data.result ? ENXIO : 0); } static int --------------000906000805010402060001--