From owner-freebsd-acpi@FreeBSD.ORG Fri May 16 12:22:56 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from miki (localhost [IPv6:::1]) by hub.freebsd.org (Postfix) with SMTP id E3378106566B; Fri, 16 May 2008 12:22:54 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Fri, 16 May 2008 20:22:42 +0800 From: Ariff Abdullah To: Peter Jeremy Message-Id: <20080516202242.3992b284.ariff@FreeBSD.org> In-Reply-To: <20080428112623.GA99757@server.vk2pj.dyndns.org> References: <20080428112623.GA99757@server.vk2pj.dyndns.org> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Fri__16_May_2008_20_22_42_+0800_yY2rkIto7OcbpsX_" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-acpi@freebsd.org Subject: Re: BIOS Regression on HP/Compaq [d]v6000 series notebooks 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, 16 May 2008 12:22:56 -0000 --Signature=_Fri__16_May_2008_20_22_42_+0800_yY2rkIto7OcbpsX_ Content-Type: multipart/mixed; boundary="Multipart=_Fri__16_May_2008_20_22_42_+0800_W0.cTe=l66luO5WZ" --Multipart=_Fri__16_May_2008_20_22_42_+0800_W0.cTe=l66luO5WZ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 28 Apr 2008 21:26:23 +1000 Peter Jeremy wrote: > I recently received notification of a "critical BIOS update" for my > Presario v6107 laptop. See > http://h10025.www1.hp.com/ewfrf/wc/genericDocument?lc=3Den&cc=3Dau&dlc=3D= en&docname=3Dc01296338 > for more details. Since it's already had the motherboard replaced > (with symptoms matching those listed), I thought it prudent to > upgrade. >=20 > Unfortunately, after updating the BIOS, the laptop no longer likes > losing mains power: It looks like the clock interrupts stop so > nothing happens unless you generate keyboard/mouse/network activity. > This > situation continues until it's rebooted. This looks very much like > the 'C1E mode disables LAPIC timer on idle' bug that was stomped on > last April - but it seems that HP have managed to find a way around > the bugfix. >=20 > The laptop is running 6.3-PRERELEASE/amd64. >=20 > Any suggestions on how to start investigating? > After the recent update, the BIOS decided to force/enable C1E whenever it losing main power: not their (HP) fault though. The problem is that unlike C4 (or whatever lowest Cx states on other cpus), C1E is totally hidden, at least that is what I understand from the specs. Try this patch (against -current, should be OK for other branches too). With this patch, whenever AC line state change it will disable C1E, hopefully. Hack or no hack, there must be a better / appropriate solution for this issue. URL: http://people.freebsd.org/~ariff/misc/k8_C1E_acpi_acad.c.diff -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Multipart=_Fri__16_May_2008_20_22_42_+0800_W0.cTe=l66luO5WZ-- --Signature=_Fri__16_May_2008_20_22_42_+0800_yY2rkIto7OcbpsX_ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkgtfJIACgkQlr+deMUwTNrJJwCfU/xJLtkrJPXef0hDO6Q2z4r0 NwEAoOepzMfzDzaSShzciBADJDTNndmH =DBK+ -----END PGP SIGNATURE----- --Signature=_Fri__16_May_2008_20_22_42_+0800_yY2rkIto7OcbpsX_--