From owner-freebsd-bugs@FreeBSD.ORG Fri Dec 13 20:00:02 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7DCF4CA for ; Fri, 13 Dec 2013 20:00:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B34DB16E7 for ; Fri, 13 Dec 2013 20:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rBDK02Ew085860 for ; Fri, 13 Dec 2013 20:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBDK02p3085859; Fri, 13 Dec 2013 20:00:02 GMT (envelope-from gnats) Resent-Date: Fri, 13 Dec 2013 20:00:02 GMT Resent-Message-Id: <201312132000.rBDK02p3085859@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, R Tyler Croy Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 01281227 for ; Fri, 13 Dec 2013 19:53:49 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E12A516A6 for ; Fri, 13 Dec 2013 19:53:48 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rBDJrmrq042658 for ; Fri, 13 Dec 2013 19:53:48 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rBDJrmce042652; Fri, 13 Dec 2013 19:53:48 GMT (envelope-from nobody) Message-Id: <201312131953.rBDJrmce042652@oldred.freebsd.org> Date: Fri, 13 Dec 2013 19:53:48 GMT From: R Tyler Croy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/184757: Resume fails on the X200 when the C3 power mode is available and engaged X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 20:00:03 -0000 >Number: 184757 >Category: kern >Synopsis: Resume fails on the X200 when the C3 power mode is available and engaged >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 13 20:00:02 UTC 2013 >Closed-Date: >Last-Modified: >Originator: R Tyler Croy >Release: FreeBSD 10.0-PRERELEASE amd64 >Organization: >Environment: FreeBSD kiwi 10.0-PRERELEASE FreeBSD 10.0-PRERELEASE #4 r259211: Wed Dec 11 01:08:00 PST 2013 root@kiwi:/usr/obj/usr/src/sys/KIWI amd64 >Description: When tuning some of the performance and power settings, I tried enabling the C3 state as the "lowest" economy power setting. This works all well and good, *unless* I suspend while on battery after some period of idle activity /etc/rc.conf ----8<----8<----8<--- # Performance and power tuning taken from TuningPowerconsumption wiki performance_cx_lowest="C2" economy_cx_lowest="C3" ----8<----8<----8<--- /boot/loader.conf ----8<----8<----8<--- # Performance and power tuning taken from TuningPowerConsumption wiki ##################################################################### # Disable PCI bus devices we don't have something built into the kernel # for. hw.pci.do_power_nodriver=3 # Disable throttling that would be hidden by the C2 state hint.p4tcc.0.disabled=1 hint.acpi_throttle.0.disabled=1 # Enable clocks to make the C3 state viable hint.apic.0.clock=0 hint.atrtc.0.clock=0 # Reduce the interrupt rate to make C3 more effective kern.hz=100 ----8<----8<----8<--- >How-To-Repeat: * Enable the C3 state. * Suspend while on battery, typically after some period of inactivity, allowing the machine to enter C3 * Attempt to resume Observe the black screen on resume followed by a reboot a short time after that. >Fix: >Release-Note: >Audit-Trail: >Unformatted: