From owner-cvs-src@FreeBSD.ORG Wed Mar 23 20:57:45 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 090F616A4CE; Wed, 23 Mar 2005 20:57:45 +0000 (GMT) Received: from vbook.fbsd.ru (user184.hovrino.net [82.179.232.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C91343D5E; Wed, 23 Mar 2005 20:57:42 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.50 (FreeBSD)) id 1DECv7-0000Za-4S; Wed, 23 Mar 2005 23:57:41 +0300 From: Vladimir Grebenschikov To: Nate Lawson In-Reply-To: <424079AB.6050805@root.org> References: <200503200351.j2K3pIC8068507@repoman.freebsd.org> <1111516858.1198.2.camel@localhost> <424079AB.6050805@root.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Wed, 23 Mar 2005 23:57:40 +0300 Message-Id: <1111611460.1805.1.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/acpica acpi_perf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2005 20:57:45 -0000 =F7 =D7=D4, 22/03/2005 =D7 12:01 -0800, Nate Lawson =D0=C9=DB=C5=D4: > Vladimir Grebenschikov wrote: > > =F7 =D7=D3, 20/03/2005 =D7 03:51 +0000, Nate Lawson =D0=C9=DB=C5=D4: > >=20 > >>njl 2005-03-20 03:51:18 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/dev/acpica acpi_perf.c=20 > >> Log: > >> Attach acpi_perf early. Especially when it is being used to provide i= nfo > >> to other devices, it needs to be attached first. (Multi-pass newbus > >> probes would be a better solution.) > >>=20 > >> Revision Changes Path > >> 1.16 +6 -1 src/sys/dev/acpica/acpi_perf.c > >=20 > >=20 > > I guess this patch makes panic on my notebook: > >=20 > > cpu0: on acpi0 > > acpi_perf0: on cpu0 > > acpi_perf0: failed in PERF_STATUS attach > > device_attach: acpi_perf0 attach returned 6 > > panic: resource_list_add: resource entry is busy > > KDB: enter: panic > > [thread pid 0 tid 0 ] > > Stopped at kdb_enter+0x2c: leave > > db> trace > > Tracing pid 0 tid 0 td 0xc064c160 > > kdb_enter() at kdb_enter+0x2c > > panic() at panic+0x122 > > resource_list_add(c1a5b710,4,0,b2,b3) at resource_list_add+0x7f > > bus_generic_rl_set_resource(...) at bus_generic_rl_set_resource+0x60 > > bus_set_resource(...) at bus_set_resource+0x4c > > acpi_bus_alloc_gas(...) at acpi_bus_alloc_gas+0x93 > > acpi_PkgGas(...) at acpi_PkgGas+0x4e > > acpi_perf_probe(...) at acpi_perf_probe+0xea > > device_probe_and_attach(...) at device_probe_and_attach+0xf8 > > bus_generic_attach(...) at bus_generic_attach+0x12 > > acpi_cpu_attach(...) at acpi_cpu_attach+0x2a1 > > ... > >=20 > > How to fix that ?=20 > >=20 >=20 > Ok, I've committed a fix: acpi.c rev 1.207. Please cvsup and test. It does not help, still same panic /sys/dev/acpica# fgrep /acpi.c/ CVS/Entries /acpi.c/1.207/Wed Mar 23 07:28:31 2005// /sys/dev/acpica#=20 --=20 Vladimir B. Grebenchikov vova@fbsd.ru