From owner-freebsd-acpi@FreeBSD.ORG Sun Jun 22 13:16:11 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 E1C191065678; Sun, 22 Jun 2008 13:16:11 +0000 (UTC) (envelope-from dan@obluda.cz) Received: from fw.ax.cz (195.22.43.87.adsl.nextra.cz [195.22.43.87]) by mx1.freebsd.org (Postfix) with ESMTP id 581588FC0A; Sun, 22 Jun 2008 13:16:10 +0000 (UTC) (envelope-from dan@obluda.cz) Received: from [127.0.0.1] (vlasta.hide.ax.cz [172.20.1.4]) by fw.ax.cz (8.14.2/8.14.2) with ESMTP id m5MCn7nQ047221; Sun, 22 Jun 2008 14:49:09 +0200 (CEST) (envelope-from dan@obluda.cz) Message-ID: <485E4A3E.2050609@obluda.cz> Date: Sun, 22 Jun 2008 14:49:02 +0200 From: Dan Lukes Organization: SISAL, MFF UK User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Alan Cox References: <200806210630.m5L6U8rl051972@freefall.freebsd.org> In-Reply-To: <200806210630.m5L6U8rl051972@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080621-0, 21.06.2008), Outbound message X-Antivirus-Status: Clean Cc: freebsd-acpi@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: kern/120515: [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc wake memory 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: Sun, 22 Jun 2008 13:16:12 -0000 Alan Cox wrote: > new physical memory allocator in HEAD and RELENG_7 already addresses this problem in a systematic way. > > I see no reason not to apply this patch to RELENG_6. At the first, I analyzed problem for myself. My 6.x based instalations affected by the problem are hacked already as I decide not to wait several months for next release. Well, I offered the analysis and hack to the public also. To apply it into RELENG_6 or not apply it into RELENG_6 - it is commiters decision. I have no problem with either decision. Dan From owner-freebsd-acpi@FreeBSD.ORG Sun Jun 22 13:20:04 2008 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36BB91065682 for ; Sun, 22 Jun 2008 13:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 231588FC17 for ; Sun, 22 Jun 2008 13:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5MDK3BX075093 for ; Sun, 22 Jun 2008 13:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5MDK3Il075092; Sun, 22 Jun 2008 13:20:03 GMT (envelope-from gnats) Date: Sun, 22 Jun 2008 13:20:03 GMT Message-Id: <200806221320.m5MDK3Il075092@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: Dan Lukes Cc: Subject: Re: kern/120515: [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc wake memory X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dan Lukes List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 13:20:04 -0000 The following reply was made to PR kern/120515; it has been noted by GNATS. From: Dan Lukes To: Alan Cox Cc: freebsd-acpi@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: kern/120515: [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc wake memory Date: Sun, 22 Jun 2008 14:49:02 +0200 Alan Cox wrote: > new physical memory allocator in HEAD and RELENG_7 already addresses this problem in a systematic way. > > I see no reason not to apply this patch to RELENG_6. At the first, I analyzed problem for myself. My 6.x based instalations affected by the problem are hacked already as I decide not to wait several months for next release. Well, I offered the analysis and hack to the public also. To apply it into RELENG_6 or not apply it into RELENG_6 - it is commiters decision. I have no problem with either decision. Dan From owner-freebsd-acpi@FreeBSD.ORG Mon Jun 23 11:06:49 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 D9B50106566C for ; Mon, 23 Jun 2008 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C89DF8FC26 for ; Mon, 23 Jun 2008 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5NB6n1P064873 for ; Mon, 23 Jun 2008 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5NB6nQ6064869 for freebsd-acpi@FreeBSD.org; Mon, 23 Jun 2008 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 23 Jun 2008 11:06:49 GMT Message-Id: <200806231106.m5NB6nQ6064869@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 freebsd-acpi@FreeBSD.org 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, 23 Jun 2008 11:06:50 -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/56024 acpi ACPI suspend drains battery while in S3 o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/81000 acpi [apic] Via 8235 sound card worked great with FreeBSD 5 s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am 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 o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o kern/118973 acpi [acpi]: Kernel panic with acpi boot o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o kern/120953 acpi [acpi]: FreeBSD 6.3 Release: acpi_tz0: _TMP value is f kern/121454 acpi [pst] Promise SuperTrak SX6000 does not load during bo 19 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/67309 acpi zzz reboot computer (ACPI S3) o i386/69750 acpi Boot without ACPI failed on ASUS L5 s kern/73823 acpi [request] acpi / power-on by timer support o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 o kern/89411 acpi [acpi] acpiconf bug s kern/90243 acpi Laptop fan doesn't turn off (ACPI enabled) (Packard Be o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI 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 s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/114165 acpi [acpi] Dell C810 - ACPI problem o kern/117605 acpi [acpi] [request] add debug.cpufreq.highest o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin f amd64/122521 acpi ACPI Error after upgrade to 7.0 o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot o kern/124223 acpi [acpi] [patch] acpi_battery.c -- Notify user-defined c o kern/124412 acpi [acpi] power off error on Toshiba M40 laptop o kern/124744 acpi [acpi] [patch] incorrect _BST result validation for To 24 problems total. From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 25 23:15:01 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 EBFAE1065670 for ; Wed, 25 Jun 2008 23:15:01 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from corellia.vindaloo.com (corellia.vindaloo.com [64.51.148.100]) by mx1.freebsd.org (Postfix) with ESMTP id C60368FC22 for ; Wed, 25 Jun 2008 23:15:01 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from kessel.vindaloo.com (kessel.vindaloo.com [172.24.145.71]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by corellia.vindaloo.com (Postfix) with ESMTP id 30BBD5CCC; Wed, 25 Jun 2008 18:50:05 -0400 (EDT) Message-Id: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> From: Christopher Sean Hilton To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Date: Wed, 25 Jun 2008 18:50:04 -0400 X-Mailer: Apple Mail (2.924) Subject: HP compaq nc6230 lockup on resume. 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, 25 Jun 2008 23:15:02 -0000 Hi, I have an HP Compaq nc6230 laptop. It appears to suspend to S3 just fine. On resume it locks up hard. The video never gets restored so I cannot see what's going on without the debugger. If it means anything the hard drive light stays on for about a minute and then goes out. I'd love to have this thing actually suspend/resume but I'm out of tricks as to how to get it working. -- Chris Chris Hilton tildeChris -- http://myblog.vindaloo.com email -- chris/at/vindaloo/ dot/com .~ ~ .--.~ ~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~. "I'm on the outside looking inside, What do I see? Much confusion, disillution, all around me." -- Ian McDonald / Peter Sinfield From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 26 12:51:54 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 8925F1065677 for ; Thu, 26 Jun 2008 12:51:54 +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 237928FC27 for ; Thu, 26 Jun 2008 12:51:53 +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 m5QCplp4070061; Thu, 26 Jun 2008 08:51:47 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-acpi@freebsd.org Date: Thu, 26 Jun 2008 08:38:19 -0400 User-Agent: KMail/1.9.7 References: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> In-Reply-To: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806260838.19933.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]); Thu, 26 Jun 2008 08:51:48 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7569/Thu Jun 26 08:37:48 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 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: Subject: Re: HP compaq nc6230 lockup on resume. 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, 26 Jun 2008 12:51:54 -0000 On Wednesday 25 June 2008 06:50:04 pm Christopher Sean Hilton wrote: > Hi, > > I have an HP Compaq nc6230 laptop. It appears to suspend to S3 just > fine. On resume it locks up hard. The video never gets restored so I > cannot see what's going on without the debugger. If it means anything > the hard drive light stays on for about a minute and then goes out. > > I'd love to have this thing actually suspend/resume but I'm out of > tricks as to how to get it working. My nc6220 needs an ATA patch to resume. Otherwise it loses all its ATA devices on resume. http://people.freebsd.org/~jhb/patches/ata_resume.patch -- John Baldwin From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 26 17:47:39 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 B7187106566B; Thu, 26 Jun 2008 17:47:39 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from corellia.vindaloo.com (corellia.vindaloo.com [64.51.148.100]) by mx1.freebsd.org (Postfix) with ESMTP id 7EF5A8FC1D; Thu, 26 Jun 2008 17:47:39 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from hadar.vindaloo.com (hadar.vindaloo.com [172.24.145.72]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by corellia.vindaloo.com (Postfix) with ESMTP id A076D5D65; Thu, 26 Jun 2008 13:47:36 -0400 (EDT) Message-Id: <32757427-BB7F-4400-BFE3-65B0ABE0E4DD@vindaloo.com> From: Christopher Sean Hilton To: John Baldwin In-Reply-To: <200806260838.19933.jhb@freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Date: Thu, 26 Jun 2008 13:47:35 -0400 References: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> <200806260838.19933.jhb@freebsd.org> X-Mailer: Apple Mail (2.924) Cc: freebsd-acpi@freebsd.org Subject: Re: HP compaq nc6230 lockup on resume. 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, 26 Jun 2008 17:47:39 -0000 On Jun 26, 2008, at 8:38 AM, John Baldwin wrote: > On Wednesday 25 June 2008 06:50:04 pm Christopher Sean Hilton wrote: >> Hi, >> >> I'd love to have this thing actually suspend/resume but I'm out of >> tricks as to how to get it working. > > My nc6220 needs an ATA patch to resume. Otherwise it loses all its > ATA > devices on resume. > > http://people.freebsd.org/~jhb/patches/ata_resume.patch > Okay, good progress at least. With the ata_resume.patch that you provided I can get the machine to suspend and resume but the video doesn't come back. However, the caps and numlock keys are doing their jobs and the keyboard works on the console so I can login and shutdown saving myself an fsck after the reboot. Enabling hw.acpi.reset_video causes a hard hang on resume. I enabled comconsoles to get a better idea of what was going on. On the console when I resume the bge driver complains about write and read time outs. Then initialization fails. Shortly after that the keyboard works again. My plan is to cut the bge driver out of the kernel and see if that makes things better although I'm not sure what to do about the lack of video. -- Chris -- Chris -- Chris Hilton chris-at-vindaloo-dot-com ------------------------------------------------------------------------ "All I was doing was trying to get home from work!" -- Rosa Parks From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 26 18:55:32 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 5D93E106564A for ; Thu, 26 Jun 2008 18:55:32 +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 A17F58FC30 for ; Thu, 26 Jun 2008 18:55:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m5QItI1v076798; Thu, 26 Jun 2008 14:55:25 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Christopher Sean Hilton Date: Thu, 26 Jun 2008 14:55:06 -0400 User-Agent: KMail/1.9.7 References: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> <200806260838.19933.jhb@freebsd.org> <32757427-BB7F-4400-BFE3-65B0ABE0E4DD@vindaloo.com> In-Reply-To: <32757427-BB7F-4400-BFE3-65B0ABE0E4DD@vindaloo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806261455.06561.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Thu, 26 Jun 2008 14:55:25 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7572/Thu Jun 26 12:25:12 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 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: freebsd-acpi@freebsd.org Subject: Re: HP compaq nc6230 lockup on resume. 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, 26 Jun 2008 18:55:32 -0000 On Thursday 26 June 2008 01:47:35 pm Christopher Sean Hilton wrote: > > On Jun 26, 2008, at 8:38 AM, John Baldwin wrote: > > > On Wednesday 25 June 2008 06:50:04 pm Christopher Sean Hilton wrote: > >> Hi, > >> > >> I'd love to have this thing actually suspend/resume but I'm out of > >> tricks as to how to get it working. > > > > My nc6220 needs an ATA patch to resume. Otherwise it loses all its > > ATA > > devices on resume. > > > > http://people.freebsd.org/~jhb/patches/ata_resume.patch > > > > Okay, good progress at least. > > With the ata_resume.patch that you provided I can get the > machine to suspend and resume but the video doesn't come back. > However, the caps and numlock keys are doing their jobs and the > keyboard works on the console so I can login and shutdown saving > myself an fsck after the reboot. > > Enabling hw.acpi.reset_video causes a hard hang on resume. > > I enabled comconsoles to get a better idea of what was going on. > On the console when I resume the bge driver complains about write and > read time outs. Then initialization fails. Shortly after that the > keyboard works again. My plan is to cut the bge driver out of the > kernel and see if that makes things better although I'm not sure what > to do about the lack of video. Yes, I haven't gotten bge to resume yet. I've tried resuming brgphy, etc. but still no dice. For video, use acpi_video and try forcing the lcd on in /etc/rc.resume via hw.acpi.video.lcd0.active=1. -- John Baldwin From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 26 19:21:11 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 DFA94106566C; Thu, 26 Jun 2008 19:21:11 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from corellia.vindaloo.com (corellia.vindaloo.com [64.51.148.100]) by mx1.freebsd.org (Postfix) with ESMTP id A81918FC12; Thu, 26 Jun 2008 19:21:11 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from hadar.vindaloo.com (hadar.vindaloo.com [172.24.145.72]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by corellia.vindaloo.com (Postfix) with ESMTP id B419C5CDD; Thu, 26 Jun 2008 15:20:59 -0400 (EDT) Message-Id: <4D4E634D-23F7-417D-A80D-6AC30E9D2495@vindaloo.com> From: Christopher Sean Hilton To: John Baldwin In-Reply-To: <200806261455.06561.jhb@freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Date: Thu, 26 Jun 2008 15:20:58 -0400 References: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> <200806260838.19933.jhb@freebsd.org> <32757427-BB7F-4400-BFE3-65B0ABE0E4DD@vindaloo.com> <200806261455.06561.jhb@freebsd.org> X-Mailer: Apple Mail (2.924) Cc: freebsd-acpi@freebsd.org Subject: Re: HP compaq nc6230 lockup on resume. 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, 26 Jun 2008 19:21:12 -0000 On Jun 26, 2008, at 2:55 PM, John Baldwin wrote: > > Yes, I haven't gotten bge to resume yet. I've tried resuming > brgphy, etc. but > still no dice. For video, use acpi_video and try forcing the lcd on > in /etc/rc.resume via hw.acpi.video.lcd0.active=1. just add sysctl -w hw.acpi.video.lcd0.active=1 to the bottom of /etc/rc.resume I presume. -- Chris -- Chris Hilton chris-at-vindaloo-dot-com ------------------------------------------------------------------------ "All I was doing was trying to get home from work!" -- Rosa Parks From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 27 03:52:37 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 CB728106566B; Fri, 27 Jun 2008 03:52:37 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 05DE28FC0C; Fri, 27 Jun 2008 03:52:35 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id NAA23441; Fri, 27 Jun 2008 13:34:53 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 27 Jun 2008 13:34:52 +1000 (EST) From: Ian Smith To: Christopher Sean Hilton In-Reply-To: <4D4E634D-23F7-417D-A80D-6AC30E9D2495@vindaloo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Re: HP compaq nc6230 lockup on resume. 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, 27 Jun 2008 03:52:37 -0000 On Thu, 26 Jun 2008, Christopher Sean Hilton wrote: > On Jun 26, 2008, at 2:55 PM, John Baldwin wrote: > > > > Yes, I haven't gotten bge to resume yet. I've tried resuming > > brgphy, etc. but > > still no dice. For video, use acpi_video and try forcing the lcd on > > in /etc/rc.resume via hw.acpi.video.lcd0.active=1. > > just add > > sysctl -w hw.acpi.video.lcd0.active=1 > > to the bottom of /etc/rc.resume I presume. Well, before the 'exit 0' anyway :) Something else you should try is setting hw.syscons.sc_no_suspend_vtswitch=1 before suspending, and if it helps, add it to /etc/sysctl.conf This is needed for my old Compaq Armada 1500c, and at 6.1 was needed for my Thinkpad T23 to resume screen (however at 7.0, just installed, it doesn't seem to be needed on the T23, though I haven't configured X yet) cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 27 14:05:23 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 20FED106566C for ; Fri, 27 Jun 2008 14:05:23 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id F15F68FC1A for ; Fri, 27 Jun 2008 14:05:22 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so317272wah.3 for ; Fri, 27 Jun 2008 07:05:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=sHin1bFOVafiTvbbmWjyyiJGBSYvbXxN1KpLgNvlBX0=; b=n5iGSnDBxlFtBB/xgJKmGwzuId3tU0uhCiXGNtZCm9tz7fVdJJtrzPWdctXZNHPJo6 a4qpzhHUlRvYeeAwGzk+OuQdQzyW9Yt6pyELzQ39oRMCfBaNb6Ulnt7KXHttJXf6L1fE fKlKZm1+aTMeoJFZPpKwURP5M5gpPD45T6nwE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=VWkBscuqv65UuG0mFHWG+UqKTba6yZ6rFC9s/xVd86irVh4CD0izUdGHWi6GtW2OH7 WumUMDKMNr0ITPsyd6fKXf6enixPOmgEWTu0sy/jN/hE5ygNdwGCXARvM8L+Cfczx8TI RDH95j/sSb4434zWDaiiI2EWZNOgCtOPGu38Q= Received: by 10.114.79.18 with SMTP id c18mr1361075wab.86.1214573824941; Fri, 27 Jun 2008 06:37:04 -0700 (PDT) Received: from ?192.168.32.172? ( [201.47.3.162]) by mx.google.com with ESMTPS id 9sm2223647yws.5.2008.06.27.06.37.01 (version=SSLv3 cipher=RC4-MD5); Fri, 27 Jun 2008 06:37:03 -0700 (PDT) From: sergio lenzi To: FreeBSD acpi In-Reply-To: <200806261455.06561.jhb@freebsd.org> References: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> <200806260838.19933.jhb@freebsd.org> <32757427-BB7F-4400-BFE3-65B0ABE0E4DD@vindaloo.com> <200806261455.06561.jhb@freebsd.org> Date: Fri, 27 Jun 2008 10:36:18 -0300 Message-Id: <1214573778.1245.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ACER 5050 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, 27 Jun 2008 14:05:23 -0000 Hello... I have an ACER 5050 model 3284 (turion 64 1gb memory, 120Gb hd)... it is so terrible that Ubuntu does not boot with acpi turned on.... Well. FreeBSD 7.0 works ok except for the atheros wifi chip that the bios maps it wrong... when I try to load the if_ath, the FreeBSD kernel complains with "cannot map register space" .... so it does not work.... the rest of the notebook works fine... sound screen, reset, keyboard,..... usb... all OK.... Is there a fix in the acpi code (I am using a modified "fixed" acpi during boot)... seems that acpi does not map io/register on boot.... As Linux does not boot on the machine with acpi enable, I cannot tell the OS what is the io/adress of the atheros chip... Any help????? Please???? From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 27 14:13:56 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 6CAEC106566B; Fri, 27 Jun 2008 14:13:56 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from corellia.vindaloo.com (corellia.vindaloo.com [64.51.148.100]) by mx1.freebsd.org (Postfix) with ESMTP id 4A43B8FC27; Fri, 27 Jun 2008 14:13:56 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from kessel.vindaloo.com (kessel.vindaloo.com [172.24.145.71]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by corellia.vindaloo.com (Postfix) with ESMTP id 12A545D88; Fri, 27 Jun 2008 10:13:55 -0400 (EDT) From: Christopher Sean Hilton To: Ian Smith In-Reply-To: References: Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Date: Fri, 27 Jun 2008 10:13:54 -0400 X-Mailer: Apple Mail (2.924) Cc: freebsd-acpi@freebsd.org Subject: Re: HP compaq nc6230 lockup on resume. 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, 27 Jun 2008 14:13:56 -0000 On Jun 26, 2008, at 11:34 PM, Ian Smith wrote: > On Thu, 26 Jun 2008, Christopher Sean Hilton wrote: >> On Jun 26, 2008, at 2:55 PM, John Baldwin wrote: >>> >>> Yes, I haven't gotten bge to resume yet. I've tried resuming >>> brgphy, etc. but >>> still no dice. For video, use acpi_video and try forcing the lcd on >>> in /etc/rc.resume via hw.acpi.video.lcd0.active=1. >> >> just add >> >> sysctl -w hw.acpi.video.lcd0.active=1 >> >> to the bottom of /etc/rc.resume I presume. > > Well, before the 'exit 0' anyway :) > > Something else you should try is setting > hw.syscons.sc_no_suspend_vtswitch=1 > before suspending, and if it helps, add it to /etc/sysctl.conf > Nice call. My echo "sysctl -w hw.acpi.video.lcd0.active=1" >> /etc/rc.resume didn't quite get there 8-) so begins another round of testing. This is a pain in the neck because I'm pretty much testing blind. Yesterday when I had the serial console setup I noticed that the serial console wasn't ready for writing on resume but I could see messages. Maybe I need to go back to that setup, at a kill -HUP 1 to /etc/rc.resume and cross my fingers. -- Chris Chris Hilton e: chris|at|vindaloo| dot|com ---------------------------------------------------------------------------- "The pattern juggler lifts his hand; The orchestra begin. As slowly turns the grinding wheel in the court of the crimson king." -- Ian McDonald / Peter Sinfield From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 27 15:28:11 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 BF7E21065670 for ; Fri, 27 Jun 2008 15:28:11 +0000 (UTC) (envelope-from david@wood2.org.uk) Received: from v-smtp-auth-relay-2.gradwell.net (v-smtp-auth-relay-2.gradwell.net [79.135.125.41]) by mx1.freebsd.org (Postfix) with ESMTP id 380508FC14 for ; Fri, 27 Jun 2008 15:28:10 +0000 (UTC) (envelope-from david@wood2.org.uk) Received: from argon.wood2.org.uk ([82.71.104.124] country=GB ident=postmaster*pop3#wood2$org$uk) by v-smtp-auth-relay-2.gradwell.net with esmtpa (Gradwell gwh-smtpd 1.290) id 48650709.5fd3.233; Fri, 27 Jun 2008 16:28:09 +0100 (envelope-sender ) Message-ID: Date: Fri, 27 Jun 2008 16:27:03 +0100 To: David Wood From: David Wood References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain;charset=us-ascii;format=flowed User-Agent: Turnpike/6.06-M (<+3pRuLtW5oZaqwOH6WUZxwfIbY>) Cc: freebsd-acpi@freebsd.org Subject: Re: Dell PowerEdge 2950 III - CPU power management problems 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, 27 Jun 2008 15:28:11 -0000 Dear all, In message , David Wood writes >I'm having problems with CPU power management on a Dell PowerEdge 2950 >III. > >I've posted this to freebsd-acpi in the first instance - though it may >finish up belonging on freebsd-stable. As I am almost certain there are >bugs in teh DSDT, I thought I'd start on freebsd-acpi. Dell have just shipped the 2.3.1 BIOS for this hardware, which fixes the DSDT bugs. If I have correctly understood recent messages on freebsd-stable, CPU frequency control and Enhanced SpeedStep is broken for modern Core 2 and Xeon processors. At least my 2950 III is now ready for whatever fixes may become available to that code. I believe the problem may be that FreeBSD doesn't know it needs to change the frequency of several cores at once - after all, my 8 core box is two chips of two processors of two cores each. If any developer is interested in fixing the CPU frequency control / Enhanced SpeedStep code, I might be able to contribute a small amount of finance towards this work. Please email me directly. Best wishes, David -- David Wood david@wood2.org.uk From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 28 00:16:31 2008 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E89F106566B for ; Sat, 28 Jun 2008 00:16:31 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 83A0C8FC16 for ; Sat, 28 Jun 2008 00:16:30 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id m5RNrLlb006103 for ; Fri, 27 Jun 2008 16:53:21 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id m5RNrKFs006102 for acpi@freebsd.org; Fri, 27 Jun 2008 16:53:20 -0700 (PDT) (envelope-from david) Date: Fri, 27 Jun 2008 16:53:19 -0700 From: David Wolfskill To: acpi@freebsd.org Message-ID: <20080627235319.GP70792@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="25Rg8jT0ZAcO2h/K" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: How/why would dev.cpu.0.freq_levels change??!? 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, 28 Jun 2008 00:16:31 -0000 --25Rg8jT0ZAcO2h/K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable My laptop is a Dell Inspiron 8200; I (ab)use it moderately heavily: this includes tracking RELENG_6, RELENG_7, & HEAD on it, daily. Lately there have been some times when "make buildworld" for RELENG_6 has taken a lot longer than it used to ... and I noticed that the fans were on, even though it was running fairly cool (around 50C; during a "make buildworld, around 85C is more common) -- and that the machine was typically "topping out" at half speed (1200 MHz). During these times, querying dev.cpu.0.freq_levels would yield a list that did, ini fact, max out at 1200 MHz, when I know that it has gone up to 2400 MHz in the past. When it does this, the only circumvention I've been able to find is a power-cycle. Since I like to minimize disruption, this is annoying. This afternoon, it showed evidence of doing this stunt again, so I carefully logged out, powered the machine off, waited about 5 minutes, then powered it back on. But this time, I decided to fire up a little loop to display a timestamp and the ooutput from "sysctl -n hw.acpi.thermal.tz0.temperature dev.cpu.0.freq dev.cpu.0.freq_levels" every 5 seconds. Here's the interval in question: 1214609737,60.5C,300,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 = 600/0 450/0 300/0 150/0 1214609742,59.5C,450,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 = 600/0 450/0 300/0 150/0 1214609748,59.5C,450,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 = 600/0 450/0 300/0 150/0 1214609752,57.5C,150,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 = 600/0 450/0 300/0 150/0 1214609757,57.5C,600,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 1214609762,56.5C,150,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 1214609767,56.5C,150,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 And from a couple of logs: g1-60(6.3-S)[5] date -r 1214609752 Fri Jun 27 16:35:52 PDT 2008 g1-60(6.3-S)[6] date -r 1214609757 Fri Jun 27 16:35:57 PDT 2008 g1-60(6.3-S)[7] tail -4 /var/log/messages Jun 27 16:01:51 localhost kernel: drm0: [MPSAFE] Jun 27 16:20:57 localhost ntpd[13916]: time reset +1.306598 s Jun 27 16:38:55 localhost sudo: david : TTY=3Dttyp7 ; PWD=3D/common/home= /david ; USER=3Droot ; COMMAND=3D/usr/bin/tail /var/log/console.log Jun 27 16:45:34 localhost ntpd[13916]: kernel time sync enabled 2001 g1-60(6.3-S)[8] sudo tail -4 /var/log/console.log Password: Jun 27 16:01:47 localhost kernel: . Jun 27 16:01:47 localhost kernel: Starting background file system checks in= 60 seconds. Jun 27 16:01:47 localhost kernel:=20 Jun 27 16:01:47 localhost kernel: Fri Jun 27 16:01:47 PDT 2008 g1-60(6.3-S)[9] dmesg | tail -4 info: [drm] Setting GART location based on new memory map info: [drm] Loading R200 Microcode info: [drm] writeback test succeeded in 1 usecs drm0: [MPSAFE] g1-60(6.3-S)[10]=20 So: nothing logged. And I know of no way to change the value, but something did. Any clues? Oh: the machine is presently running: g1-60(6.3-S)[10] uname -a FreeBSD g1-60.catwhisker.org 6.3-STABLE FreeBSD 6.3-STABLE #638: Fri Jun 27= 08:09:17 PDT 2008 root@g1-60.catwhisker.org:/common/S1/obj/usr/src/sys= /CANARY i386 g1-60(6.3-S)[11]=20 Please include me in responses, as I'm not subscribed to -acpi@. Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org I submit that "conspiracy" would be an appropriate collective noun for cats. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --25Rg8jT0ZAcO2h/K Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkhlfW4ACgkQmprOCmdXAD0YFgCfRl/Ux279oVionyO3v6Irv1t7 EIsAnAtotd3cMoUxjOewEjp6jfGTVqBb =IxP0 -----END PGP SIGNATURE----- --25Rg8jT0ZAcO2h/K-- From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 28 09:25:44 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 24B721065671 for ; Sat, 28 Jun 2008 09:25:44 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from smtp3.clear.net.nz (smtp3.clear.net.nz [203.97.33.64]) by mx1.freebsd.org (Postfix) with ESMTP id E4C658FC0A for ; Sat, 28 Jun 2008 09:25:43 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from zmori.markir.net (121-73-161-249.dsl.telstraclear.net [121.73.161.249]) by smtp3.clear.net.nz (CLEAR Net Mail) with ESMTP id <0K3600EK926UNC20@smtp3.clear.net.nz> for freebsd-acpi@FreeBSD.org; Sat, 28 Jun 2008 21:25:43 +1200 (NZST) Date: Sat, 28 Jun 2008 21:25:29 +1200 From: Mark Kirkwood To: freebsd-acpi@FreeBSD.org Message-id: <48660389.7020502@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit User-Agent: Thunderbird 2.0.0.14 (X11/20080601) Cc: Subject: Freebsd 7-stable on Asus Pro31j - suspend and resume 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, 28 Jun 2008 09:25:44 -0000 I've just seen Christopher's post on the nc6230 suspend and resume - I'm suffering what looks like the same problem with an Asus pro31j: 1/ Suspend to S1 and resume works fine 2/ Suspend to S3 and resume works *but* I have no video thereafer. I've have these set: hw.syscons.sc_no_suspend_vtswitch=1 hw.acpi.reset_video: 1 plus the ata-resume patch: http://people.freebsd.org/~jhb/patches/ata_resume.patch I know S3 is resuming ok, as I can ssh in via re0 interface and check the message log: Jun 28 14:50:04 zul acpi: suspend to 0x03 at 20080628 14:50:04 Jun 28 14:53:41 zul kernel: wakeup from sleeping state (slept 00:03:30) Jun 28 14:53:43 zul acpi: resumed from 0x03 at 20080628 14:53:43 (I've patched rc.suspend and rc.resume to log both $subsystem and $state) I have not tried setting: hw.acpi.video.lcd0.active=1 as I have no such sysctl oid! Any suggestions welcome, and thanks Christopher for raising this! Cheers Mark From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 28 22:34:59 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 D61F2106568B for ; Sat, 28 Jun 2008 22:34:59 +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 57C9D8FC23 for ; Sat, 28 Jun 2008 22:34:59 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m5SMYcMP001194; Sat, 28 Jun 2008 18:34:48 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-acpi@freebsd.org Date: Sat, 28 Jun 2008 17:55:12 -0400 User-Agent: KMail/1.9.7 References: <48660389.7020502@paradise.net.nz> In-Reply-To: <48660389.7020502@paradise.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806281755.13092.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Sat, 28 Jun 2008 18:34:48 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7583/Sat Jun 28 11:00:59 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 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: Subject: Re: Freebsd 7-stable on Asus Pro31j - suspend and resume 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, 28 Jun 2008 22:34:59 -0000 On Saturday 28 June 2008 05:25:29 am Mark Kirkwood wrote: > I've just seen Christopher's post on the nc6230 suspend and resume - I'm > suffering what looks like the same problem with an Asus pro31j: > > 1/ Suspend to S1 and resume works fine > 2/ Suspend to S3 and resume works *but* I have no video thereafer. > > I've have these set: > > hw.syscons.sc_no_suspend_vtswitch=1 > hw.acpi.reset_video: 1 > > > plus the ata-resume patch: > > http://people.freebsd.org/~jhb/patches/ata_resume.patch > > I know S3 is resuming ok, as I can ssh in via re0 interface and check > the message log: > > Jun 28 14:50:04 zul acpi: suspend to 0x03 at 20080628 14:50:04 > Jun 28 14:53:41 zul kernel: wakeup from sleeping state (slept 00:03:30) > Jun 28 14:53:43 zul acpi: resumed from 0x03 at 20080628 14:53:43 > > (I've patched rc.suspend and rc.resume to log both $subsystem and $state) > > > I have not tried setting: > > hw.acpi.video.lcd0.active=1 > > as I have no such sysctl oid! You have to use the acpi_video(4) driver (kldload acpi_device or 'device acpi_video'). Your BIOS also has to provide video control via ACPI. > Any suggestions welcome, and thanks Christopher for raising this! You can also try http://www.FreeBSD.org/~jhb/patches/dpms.patch (you'll need to either add 'device dpms' to your kernel config or build dpms.ko and kldload it). It is a committable version of the old DPMS patch that uses VESA DPMS to turn off the monitor on suspend and turn it back on on resume. -- John Baldwin From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 28 22:35:15 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 930B610656B1 for ; Sat, 28 Jun 2008 22:35:15 +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 11C568FC18 for ; Sat, 28 Jun 2008 22:35:14 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m5SMYcMO001194; Sat, 28 Jun 2008 18:34:39 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-acpi@freebsd.org Date: Sat, 28 Jun 2008 17:38:40 -0400 User-Agent: KMail/1.9.7 References: <20080627235319.GP70792@bunrab.catwhisker.org> In-Reply-To: <20080627235319.GP70792@bunrab.catwhisker.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806281738.40672.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Sat, 28 Jun 2008 18:34:40 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7583/Sat Jun 28 11:00:59 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.3 required=4.2 tests=AWL,BAYES_00,NO_RELAYS, PLING_QUERY autolearn=no version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: David Wolfskill Subject: Re: How/why would dev.cpu.0.freq_levels change??!? 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, 28 Jun 2008 22:35:15 -0000 On Friday 27 June 2008 07:53:19 pm David Wolfskill wrote: > My laptop is a Dell Inspiron 8200; I (ab)use it moderately heavily: > this includes tracking RELENG_6, RELENG_7, & HEAD on it, daily. > > Lately there have been some times when "make buildworld" for RELENG_6 > has taken a lot longer than it used to ... and I noticed that the > fans were on, even though it was running fairly cool (around 50C; > during a "make buildworld, around 85C is more common) -- and that > the machine was typically "topping out" at half speed (1200 MHz). > > During these times, querying dev.cpu.0.freq_levels would yield a list > that did, ini fact, max out at 1200 MHz, when I know that it has gone up > to 2400 MHz in the past. > > When it does this, the only circumvention I've been able to find is a > power-cycle. Since I like to minimize disruption, this is annoying. > > This afternoon, it showed evidence of doing this stunt again, so I > carefully logged out, powered the machine off, waited about 5 minutes, > then powered it back on. > > But this time, I decided to fire up a little loop to display a timestamp > and the ooutput from "sysctl -n hw.acpi.thermal.tz0.temperature > dev.cpu.0.freq dev.cpu.0.freq_levels" every 5 seconds. > > Here's the interval in question: > > 1214609737,60.5C,300,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > 1214609742,59.5C,450,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > 1214609748,59.5C,450,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > 1214609752,57.5C,150,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > 1214609757,57.5C,600,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > 1214609762,56.5C,150,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 > 1214609767,56.5C,150,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 Looks like it lowered the temperature. Your BIOS might have decided to change the levels to force the CPU to throttle down to cool the system. -- John Baldwin