From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 25 20:31:51 2014 Return-Path: Delivered-To: freebsd-acpi@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 17AA0418; Wed, 25 Jun 2014 20:31:51 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E1E1E2294; Wed, 25 Jun 2014 20:31:50 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 3E0CFB945; Wed, 25 Jun 2014 16:31:49 -0400 (EDT) From: John Baldwin To: Hilko Meyer Subject: Re: powerd stopped working after update from 8.4 to 9.2 Date: Wed, 25 Jun 2014 16:31:39 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20140415; KDE/4.5.5; amd64; ; ) References: <201406251017.31861.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201406251631.39345.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 25 Jun 2014 16:31:49 -0400 (EDT) Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 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 2014 20:31:51 -0000 On Wednesday, June 25, 2014 3:48:07 pm Hilko Meyer wrote: > On Wed, 25 Jun 2014 10:17:31 -0400, John Baldwin wrote: > >It is for HEAD though it should apply to 9-stable. It might not apply to 9.2 > >as it patches a previous fix that went to 9.2. For 9.2, please merge the > >change to stable/9 from > >http://svnweb.freebsd.org/base?view=revision&revision=263022 first and then > >apply this patch. > > Thanks for the patch. Works now. Diff to the verbose dmesg without your patch: > > -acpi_timer0: couldn't allocate resource (port 0x4008) > +ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10 > +Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > +acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 > [...] > -pcib0: port > 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f,0x6000-0x607f on acpi0 > +pcib0: port 0xcf8-0xcff on acpi0 > [...] > viapropm0: port 0x5000-0x500f at device > 7.4 on pci0 > -viapropm0: could not allocate bus space > -device_attach: viapropm0 attach returned 6 > +viapropm0: SMBus revision code 0x40 > +smbus0: on viapropm0 > +smb0: on smbus0 > [...] > acpi_throttle0: on cpu0 > -acpi_throttle0: failed to attach P_CNT > -device_attach: acpi_throttle0 attach returned 6 > +acpi_throttle0: P_CNT from P_BLK 0x4010 > > I could start powerd again. > > Thanks for your help, > Hilko > > PS: Just for the record, output of dmesg and devinfo from the working system > with your patch: > devinfo -rv: http://pastebin.com/whga6mxc > devinfo -u: http://pastebin.com/xQLdCWTz > dmesg -v : http://pastebin.com/jtLmsJzs Committed to HEAD. It won't make 9.3 release, but it should be in 10.1. Thanks for the report and for testing! -- John Baldwin