From owner-freebsd-amd64@FreeBSD.ORG Sun Sep 9 20:20:10 2012 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F160F106566B for ; Sun, 9 Sep 2012 20:20:09 +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 396F08FC0A for ; Sun, 9 Sep 2012 20:20:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q89KK81d014381 for ; Sun, 9 Sep 2012 20:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q89KK8NO014367; Sun, 9 Sep 2012 20:20:08 GMT (envelope-from gnats) Date: Sun, 9 Sep 2012 20:20:08 GMT Message-Id: <201209092020.q89KK8NO014367@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Alexander Motin Cc: Subject: Re: amd64/171355: FreeBSD 9.1rc1 (and 10-HEAD) not booting on HP Pavilion g6 2147sl X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Motin List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2012 20:20:10 -0000 The following reply was made to PR amd64/171355; it has been noted by GNATS. From: Alexander Motin To: Stefano Marinelli Cc: attilio@freebsd.org, bug-followup@FreeBSD.org Subject: Re: amd64/171355: FreeBSD 9.1rc1 (and 10-HEAD) not booting on HP Pavilion g6 2147sl Date: Sun, 09 Sep 2012 23:11:31 +0300 On 09.09.2012 23:03, Stefano Marinelli wrote: >> Thanks, that explains a lot. AMD started to use their proper vendor ID for HPET, but seems haven't fixed level-triggered interrupts and haven't implemented (removed?) message interrupts. All together it broke workaround in HPET driver that supposed to block HPET by default in such cases. Such patch should restore it: > [...] > > Thank you. I am downloading the sources and will try to patch and recompile the kernel as soon as it will have finished. Then, I will report back. > >> I can't say about frequency control, never looked inside AMD's PowerNow; but C-states are detected as I can see. You should just enable them by adding to /etc/rc.conf lines: >> performance_cx_lowest="C2" >> economy_cx_lowest="C2" > > I tried this, and actually I can see the C2 status is now active. Still, the watt-o-meter I am using shows a 50W power consumption in idle state (wifi is off as unsupported), compared to 23/24 on GNU/Linux (Arch) with wifi on. There could be other factors except CPU. For example, GPU, screen backlight, disks, etc. Without having proper video driver for AMD GPUs it is difficult to predict its power consumption. Also you may look on this page: http://wiki.freebsd.org/TuningPowerConsumption . It was written some time ago and mostly for Intel, but hopefully better then nothing. Unluckily I have no experience with AMD laptops. -- Alexander Motin