From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 25 15:22:20 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org 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 76E2CCDD; Wed, 25 Jun 2014 15:22:20 +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 4F24E23DE; Wed, 25 Jun 2014 15:22:20 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E278FB9B9; Wed, 25 Jun 2014 11:22:18 -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 10:17:31 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20140415; KDE/4.5.5; amd64; ; ) References: <201406241623.39328.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201406251017.31861.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 25 Jun 2014 11:22:19 -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 15:22:20 -0000 On Wednesday, June 25, 2014 8:03:58 am Hilko Meyer wrote: > John Baldwin schrieb: > >On Tuesday, June 24, 2014 1:36:41 pm Hilko Meyer wrote: > >> On Tue, 24 Jun 2014 10:26:52 -0400, you wrote: > >> >On Monday, June 23, 2014 7:12:23 pm Hilko Meyer wrote: > >> >> John Baldwin wrote: > >> >> >On Sunday, June 22, 2014 9:27:08 pm Hilko Meyer wrote: > >> >> >>=20 > >> >> >> powerd doesn't work anymore after the update from 8.4 to 9.2. Th= e=20 system > >> >> >> has an old (more than 10 years) mainboard with Via KT133 chipset. > >> >> >>=20 > >> >> >> I made a verbose boot with both, 8.4 and 9.2: > >> >> >> 8.4: http://pastebin.com/iiZXRXgK > >> >> >> 9.2: http://pastebin.com/sHcd3MHv > >> >> >> The relevant part of the diff seem to be these parts: > >> >> >>=20 > >> >> >> viapropm0: SMBus I/O base at 0x5000 > >> >> >> viapropm0: SMBus I/O base at 0x5000 > >> >> >> viapropm0: port=20 0x5000-0x500f at > >> >> >> device 7.4 on pci0 > >> >> >> -viapropm0: SMBus revision code 0x40 > >> >> >> -smbus0: on viapropm0 > >> >> >> -smb0: on smbus0 > >> >> >> +viapropm0: could not allocate bus space > >> >> >> +device_attach: viapropm0 attach returned 6 > >> >> >> [=E2=80=A6] > >> >> >> acpi_throttle0: on cpu0 > >> >> >> -acpi_throttle0: P_CNT from P_BLK 0x4010 > >> >> >> +acpi_throttle0: failed to attach P_CNT > >> >> >> +device_attach: acpi_throttle0 attach returned 6 > >> >> >>=20 > >> >> >> Any ideas what I can do? > >> >> > > >> >> >acpi_timer0 also failed to probe due to a resource issue. Can you = get=20 the=20 > >> >> >output of 'devinfo -rv' and 'devinfo -u' from the both kernels? > >> >>=20 > >> >> Yes, no problem. > >> >> devinfo -rv: > >> >> 8.4: http://pastebin.com/6xm1tBrU > >> >> 9.2: http://pastebin.com/whXk32Ab > >> >>=20 > >> >> devinfo -u: > >> >> 8.4: http://pastebin.com/47U7HZb3 > >> >> 9.2: http://pastebin.com/U85HTw0C > >> >>=20 > >> >> thanks for your help, > >> >> Hilko > >> > > >> >Can you provide your acpidump? This box seems confusing. > >>=20 > >> Well, its quite old. An Epox 8kta3 from around 2002. I was not sure wh= ich=20 output > >> you need so I attached acpidump -d and acpidump -dt. > > > >Ok, try this: > > > >Index: sys/dev/acpica/acpi.c >=20 > The patch doesn't apply. Was it for head or 9-stable and not for 9.2? It is for HEAD though it should apply to 9-stable. It might not apply to 9= =2E2=20 as it patches a previous fix that went to 9.2. For 9.2, please merge the change to stable/9 from=20 http://svnweb.freebsd.org/base?view=3Drevision&revision=3D263022 first and = then=20 apply this patch. =2D-=20 John Baldwin